C# 클래스 AlphaTab.Audio.Generator.MidiFileGenerator

This generator creates a midi file using a score.
파일 보기 프로젝트 열기: CoderLine/alphaTab 1 사용 예제들

공개 메소드들

메소드 설명
Generate ( ) : void
GenerateBar ( Bar bar, int barStartTick ) : void
GenerateMidiFile ( AlphaTab.Model.Score score, bool generateMetronome = false ) : MidiFile
MidiFileGenerator ( AlphaTab.Model.Score score, IMidiFileHandler handler, bool generateMetronome = false ) : System
ToChannelShort ( int data ) : int

비공개 메소드들

메소드 설명
ApplyDurationEffects ( Note note, int duration ) : int
ApplyStaticDuration ( int duration, int maximum ) : int
GenerateAutomation ( Beat beat, AlphaTab.Model.Automation automation, int startMove ) : void
GenerateBeat ( Beat beat, int barStartTick ) : void
GenerateBend ( Note note, int noteStart, int noteDuration, int noteKey, DynamicValue dynamicValue ) : void
GenerateChannel ( AlphaTab.Model.Track track, byte channel, AlphaTab.Model.PlaybackInformation playbackInfo ) : void
GenerateFadeIn ( Note note, int noteStart, int noteDuration, int noteKey, DynamicValue dynamicValue ) : void
GenerateHarmonic ( Note note, int noteStart, int noteDuration, int noteKey, DynamicValue dynamicValue ) : void
GenerateMasterBar ( MasterBar masterBar, MasterBar previousMasterBar, int currentTick ) : void
GenerateNote ( Note note, int beatStart, int beatDuration, int brushInfo ) : void
GenerateSlide ( Note note, int noteStart, int noteDuration, int noteKey, DynamicValue dynamicValue ) : void
GenerateTrack ( AlphaTab.Model.Track track ) : void
GenerateTremoloPicking ( Note note, int noteStart, int noteDuration, int noteKey, DynamicValue dynamicValue ) : void
GenerateTrill ( Note note, int noteStart, int noteDuration, int noteKey, DynamicValue dynamicValue ) : void
GenerateVibrato ( Note note, int noteStart, int noteDuration, int noteKey, DynamicValue dynamicValue ) : void
GenerateVibratorWithParams ( AlphaTab.Model.Track track, int noteStart, int noteDuration, int phaseLength, int bendAmplitude ) : void
GenerateVoice ( Voice voice, int barStartTick ) : void
GenerateWhammyBar ( Note note, int noteStart, int noteDuration, int noteKey, DynamicValue dynamicValue ) : void
GetBrushIncrement ( Beat beat ) : int
GetBrushInfo ( Beat beat ) : int[]
GetDynamicValue ( Note note ) : DynamicValue
GetNoteDuration ( Note note, int beatDuration ) : int

메소드 상세

Generate() 공개 메소드

public Generate ( ) : void
리턴 void

GenerateBar() 공개 메소드

public GenerateBar ( Bar bar, int barStartTick ) : void
bar AlphaTab.Model.Bar
barStartTick int
리턴 void

GenerateMidiFile() 공개 정적인 메소드

public static GenerateMidiFile ( AlphaTab.Model.Score score, bool generateMetronome = false ) : MidiFile
score AlphaTab.Model.Score
generateMetronome bool
리턴 AlphaTab.Audio.Model.MidiFile

MidiFileGenerator() 공개 메소드

public MidiFileGenerator ( AlphaTab.Model.Score score, IMidiFileHandler handler, bool generateMetronome = false ) : System
score AlphaTab.Model.Score
handler IMidiFileHandler
generateMetronome bool
리턴 System

ToChannelShort() 공개 정적인 메소드

public static ToChannelShort ( int data ) : int
data int
리턴 int