SamplerQuery:
Filter:
Classes (extension) | SuperSampler

SamplerQuery
ExtensionExtension

Sample-choosing and scheduling engine of SuperSampler; registry of playing voices.
Location: NOT INSTALLED!

Description

SamplerQuery 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.

Class Methods

.playing

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.

.releaseGesture

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.

Arguments:

gestureIDs

One gesture ID or an array of them.

Inherited class methods

Instance Methods

Inherited instance methods