The number of samples currently playing in a MIDI stream.
BASS_ChannelGetAttribute(
HSTREAM handle,
BASS_ATTRIB_MIDI_VOICES_ACTIVE,
float *voices
);
| handle | The MIDI stream handle. |
| voices | The number of voices. |
BASS_MIDI_StreamGetEvent can be used with the MIDI_EVENT_VOICES event to check how many voices are active in individual MIDI channels.