Converts raw MIDI data to BASS_MIDI_EVENT structures.
Namespace: Un4seen.Bass.AddOn.Midi
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
public static BASS_MIDI_EVENT[] BASS_MIDI_ConvertEvents( byte[] data, BASSMIDIEventMode flags )
Parameters
- data
- Type: SystemByte
The raw MIDI data. - flags
- Type: Un4seen.Bass.AddOn.MidiBASSMIDIEventMode
Any combination of these flags (see BASSMIDIEventMode):BASS_MIDI_EVENTS_NORSTATUS Disable running status, meaning each event must include a status byte. BASS_MIDI_EVENTS_TIME The raw MIDI data includes delta-time info.
Return Value
Type: BASS_MIDI_EVENTIf successful, the array of events processed is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
Remarks
ERROR CODE | Description |
---|---|
BASS_ERROR_UNKNOWN | Some mystery problem. |
See Also