C# Class AlphaSynth.Sequencer.MidiFileSequencer

Datei anzeigen Open project: CoderLine/alphaSynth Class Usage Examples

Public Methods

Method Description
AddFinishedListener ( System.Action listener ) : void
FillMidiEventQueue ( ) : void
IsChannelMuted ( int channel ) : bool
LoadMidi ( AlphaSynth.Midi.MidiFile midiFile ) : bool
MidiFileSequencer ( Synthesizer synth ) : System
MillisToTicks ( int time ) : int
MuteAllChannels ( ) : void
Pause ( ) : void
Play ( ) : void
Seek ( int milliseconds ) : void
SetMute ( int channel, bool muteValue ) : void
Stop ( ) : void
TicksToMillis ( int ticks ) : int
UnMuteAllChannels ( ) : void
UnloadMidi ( ) : bool

Private Methods

Method Description
FireFinished ( ) : void
IsTempoMessage ( MidiEventTypeEnum command, int data1 ) : bool
LoadMidiFile ( AlphaSynth.Midi.MidiFile midiFile ) : void
MidiEventProcessed ( AlphaSynth.Midi.Event.MidiEvent midiEvent ) : void
SilentProcess ( int amount ) : void

Method Details

AddFinishedListener() public method

public AddFinishedListener ( System.Action listener ) : void
listener System.Action
return void

FillMidiEventQueue() public method

public FillMidiEventQueue ( ) : void
return void

IsChannelMuted() public method

public IsChannelMuted ( int channel ) : bool
channel int
return bool

LoadMidi() public method

public LoadMidi ( AlphaSynth.Midi.MidiFile midiFile ) : bool
midiFile AlphaSynth.Midi.MidiFile
return bool

MidiFileSequencer() public method

public MidiFileSequencer ( Synthesizer synth ) : System
synth AlphaSynth.Synthesis.Synthesizer
return System

MillisToTicks() public method

public MillisToTicks ( int time ) : int
time int
return int

MuteAllChannels() public method

public MuteAllChannels ( ) : void
return void

Pause() public method

public Pause ( ) : void
return void

Play() public method

public Play ( ) : void
return void

Seek() public method

public Seek ( int milliseconds ) : void
milliseconds int
return void

SetMute() public method

public SetMute ( int channel, bool muteValue ) : void
channel int
muteValue bool
return void

Stop() public method

public Stop ( ) : void
return void

TicksToMillis() public method

public TicksToMillis ( int ticks ) : int
ticks int
return int

UnMuteAllChannels() public method

public UnMuteAllChannels ( ) : void
return void

UnloadMidi() public method

public UnloadMidi ( ) : bool
return bool