ExtensionSamplerQuery does the internal work behind SSampler: -key: choosing samples for a key number, and computing every voice's onset time, playback window and envelopes for the chosen sync strategy. Those query methods are internal — what is useful directly is the registry of playing voices and the gesture release below.
An array of 17 Dictionaries — one per MIDI channel (the midiChannel argument of .key / .playEnv) — holding every currently playing voice as a SamplerVoice. Use it to reach playing sounds live, e.g. from MIDI CC callbacks:
Voices remove themselves when they end.
Gate off every playing voice tagged with one of the given gesture IDs (0.1 s fade). A gesture is one .key or .playEnv call; its ID is on the returned SamplerArguments and on each SamplerVoice.
| gestureIDs |
One gesture ID or an array of them. |