C# Class CSharpSynth.Midi.MidiFile

ファイルを表示 Open project: joeriedel/DarkForcesUnity Class Usage Examples

Public Methods

Method Description
AddTracks ( MidiFile file ) : void
CombineTracks ( ) : void
MidiFile ( byte data ) : System
MidiFile ( string filename ) : System
getAllMidiEventsofType ( MidiHelper eventChannelType, MidiHelper eventMetaType ) : List
getAllMidiEventsofType ( byte channel, MidiHelper eventChannelType, MidiHelper eventMetaType ) : List
isValidMidiFile ( string filename ) : bool

Private Methods

Method Description
GetChannel ( byte statusbyte ) : int
GetTime ( UInt32 data, UInt16 &numOfBytes ) : uint
loadStream ( Stream stream ) : void

Method Details

AddTracks() public method

public AddTracks ( MidiFile file ) : void
file MidiFile
return void

CombineTracks() public method

public CombineTracks ( ) : void
return void

MidiFile() public method

public MidiFile ( byte data ) : System
data byte
return System

MidiFile() public method

public MidiFile ( string filename ) : System
filename string
return System

getAllMidiEventsofType() public method

public getAllMidiEventsofType ( MidiHelper eventChannelType, MidiHelper eventMetaType ) : List
eventChannelType MidiHelper
eventMetaType MidiHelper
return List

getAllMidiEventsofType() public method

public getAllMidiEventsofType ( byte channel, MidiHelper eventChannelType, MidiHelper eventMetaType ) : List
channel byte
eventChannelType MidiHelper
eventMetaType MidiHelper
return List

isValidMidiFile() public static method

public static isValidMidiFile ( string filename ) : bool
filename string
return bool