BASS_ATTRIB_MIDI_VOICES attribute
The maximum number of samples to play at a time in a MIDI stream.
BASS_ChannelSetAttribute( HSTREAM handle, BASS_ATTRIB_MIDI_VOICES, float voices );
Parameters
handle | The MIDI stream handle. |
voices | The number of voices... 1 (min) - 100000 (max). |
Remarks
If there are currently more voices active than the new limit, then some voices will be killed to meet the limit. The number of voices currently active is available via the BASS_ATTRIB_MIDI_VOICES_ACTIVE attribute.A MIDI stream will initially have a default number of voices as determined by the BASS_CONFIG_MIDI_VOICES config option.