BASS_ATTRIB_MIDI_VOICES_ACTIVE attribute
The number of samples currently playing in a MIDI stream.
BASS_ChannelGetAttribute( HSTREAM handle, BASS_ATTRIB_MIDI_VOICES_ACTIVE, float *voices );
Parameters
handle | The MIDI stream handle. |
voices | The number of voices. |
Remarks
This attribute is read-only, so cannot be modified via BASS_ChannelSetAttribute.BASS_MIDI_StreamGetEvent can be used with the MIDI_EVENT_VOICES event to check how many voices are active in individual MIDI channels.