C# Class NScumm.Core.MidiParser

ファイルを表示 Open project: scemino/nscumm Class Usage Examples

Private Properties

Property Type Description
ProcessEvent bool

Public Methods

Method Description
CreateRO ( ) : MidiParser
CreateSmfParser ( ) : MidiParser
CreateXMidiParser ( ) : MidiParser
JumpToTick ( uint tick, bool fireEvents = false, bool stopNotes = true, bool dontSendNoteOn = false ) : bool
LoadMusic ( byte data ) : void
OnTimer ( ) : void
Property ( MidiParserProperty prop, int value ) : void
StopPlaying ( ) : void
UnloadMusic ( ) : void

Protected Methods

Method Description
ActiveNote ( int channel, int note, bool active ) : void
AllNotesOff ( ) : void
HangAllActiveNotes ( ) : void
HangingNote ( int channel, int note, int timeLeft, bool recycle = true ) : void
MidiParser ( ) : System.IO
ParseNextEvent ( EventInfo info ) : void
ReadVLQ ( Stream input ) : int
ResetTracking ( ) : void
SendToDriver ( int data ) : void
SendToDriver ( int status, int firstOp, int secondOp ) : void

Private Methods

Method Description
ProcessEvent ( EventInfo info, bool fireEvents = true ) : bool

Method Details

ActiveNote() protected method

protected ActiveNote ( int channel, int note, bool active ) : void
channel int
note int
active bool
return void

AllNotesOff() protected method

protected AllNotesOff ( ) : void
return void

CreateRO() public static method

public static CreateRO ( ) : MidiParser
return MidiParser

CreateSmfParser() public static method

public static CreateSmfParser ( ) : MidiParser
return MidiParser

CreateXMidiParser() public static method

public static CreateXMidiParser ( ) : MidiParser
return MidiParser

HangAllActiveNotes() protected method

protected HangAllActiveNotes ( ) : void
return void

HangingNote() protected method

protected HangingNote ( int channel, int note, int timeLeft, bool recycle = true ) : void
channel int
note int
timeLeft int
recycle bool
return void

JumpToTick() public method

public JumpToTick ( uint tick, bool fireEvents = false, bool stopNotes = true, bool dontSendNoteOn = false ) : bool
tick uint
fireEvents bool
stopNotes bool
dontSendNoteOn bool
return bool

LoadMusic() public abstract method

public abstract LoadMusic ( byte data ) : void
data byte
return void

MidiParser() protected method

protected MidiParser ( ) : System.IO
return System.IO

OnTimer() public method

public OnTimer ( ) : void
return void

ParseNextEvent() protected abstract method

protected abstract ParseNextEvent ( EventInfo info ) : void
info EventInfo
return void

Property() public method

public Property ( MidiParserProperty prop, int value ) : void
prop MidiParserProperty
value int
return void

ReadVLQ() protected static method

protected static ReadVLQ ( Stream input ) : int
input Stream
return int

ResetTracking() protected method

protected ResetTracking ( ) : void
return void

SendToDriver() protected method

protected SendToDriver ( int data ) : void
data int
return void

SendToDriver() protected method

protected SendToDriver ( int status, int firstOp, int secondOp ) : void
status int
firstOp int
secondOp int
return void

StopPlaying() public method

public StopPlaying ( ) : void
return void

UnloadMusic() public method

public UnloadMusic ( ) : void
return void