default
tksampler
tksamplertksampler.StSamplePlayerStSampleVoice objects
allNotesOff() - Stop all currently playing voices (with fadeout but no release)
allNotesOffRelease() - Release all currently playing voices (like regular note offs)
allocVoices(int maxPolyphony) : boolean - Allocate internal voice pool
findFirstActiveSampleVoice(StSample sample) : StSampleVoice - Query voice object
findLastStartedVoice(StSample sample) : StSampleVoice - Query voice object
findPreviousGlideNoteByKey(int key) : int historyIdx:int - Return -1 or glide_prev_note for first gliding voice that is assigned the given voicekey.
findVoicesByKey(int key, PointerArray ret) : int - Find all voices that are assigned the given key.
getDefaultFreqTable() : FloatArray - Query default frequency table
getDefaultMixRate() : float - Query default mixrate
getNumActiveNotes() : int - Query number of currently (pressed) notes
getNumActiveVoices() : int - Query number of currently used (allocated) voices
getNumPlayingVoices() : int - Query number of currently used (allocated+playing) voices
getNumUsedVoices() : int - Query number of currently used voices
getNumVoices() : int - Query polyphony
getPolyMode() : int - Query voice allocation strategy
getVoice(int idx) : StSampleVoice - Query voice object
getVolume() : float -
initStartedVoicesByKey(int key) - Really trigger note-on. Should be called after (initial) params have been set.
noteOff(int note, float velocity) : int - Begin release phase of all voices that were triggered on the given key
noteOffByKey(int voiceKey, float velocity) : int - Begin release phase of all voices that share the given voice key
removeFromGlideNoteHistory(int note, boolean bLastOnly) - Iterate voices and remove given note from glide note histories
render(FloatArray buf) - Render currently playing voices to the given (stereo) buffer (add).
renderWithInputs(FloatArray buf, PointerArray paInputs, boolean bRender) - Render currently playing voices to the given (stereo) buffer (add).
reset() - Immediately reset / stop all voices (no fadeout)
resetLFOAuxPhase() - Reset aux LFO phase
resetLFOFreqPhase() - Reset frequency LFO phase
resetLFOPanPhase() - Reset panning LFO phase
resetLFOVolPhase() - Reset volume LFO phase
resetModulator() - Reset all modulators
restartVoicesByKey(int key) - Reset playing voices.
setDefaultFreqTable(FloatArray freqTable) - Set default frequency table for new sample voices
setDefaultMixRate(float mixRate) - Set default mixrate for new sample voices
setPolyMode(int mode) - Select voice allocation strategy
setSoftPedal(float val) - Update soft pedal state (0..1) (for zone mod matrix)
setSustainPedal(float val) - Update sustain pedal state (0..1) (for zone mod matrix)
setVolume(float volume) -
startSample(StSample sample, FloatArray freqTableOrNull, int note, float velocity, mod) : int - Allocate voice and prepare to play the given sample.
startSampleBank(StSampleBank sampleBank, FloatArray freqTableOrNull, int note, float velocity, mod) : int - Allocate voice(s) and play the samplebank samples that match the given note/velo/mod zones.
stopADSRFreqBySample(StSample sample) - Immediately stop all frequency ADSRs that belong to voices that play the given sample.
stopADSRPanBySample(StSample sample) - Immediately stop all pan ADSRs that belong to voices that play the given sample.
stopADSRVolBySample(StSample sample) - Immediately stop all volume ADSRs that belong to voices that play the given sample.
stopLFOFreqBySample(StSample sample) - Immediately stop all frequency LFOs that belong to voices that play the given sample.
stopLFOPanBySample(StSample sample) - Immediately stop all pan LFOs that belong to voices that play the given sample.
stopLFOVolBySample(StSample sample) - Immediately stop all volume LFOs that belong to voices that play the given sample.
stopVoicesByKey(int voiceKey) - Immediately stop all voices that are assigned the given key (no fadeout)
stopVoicesBySample(StSample sample) - Stop all voices that play the given sample (with fadeout)
stopVoicesBySample(StSample sample) - Immediately stop all voices that play the given sample (no fadeout)
updateAAuxSpd(float int) - Update aux attack speed of all active voices
updateADSFreqInt(float int) - Update frequency ADSR intensity of all active voices
updateADSRAuxInt(float int) - Update aux ADSR intensity of all active voices
updateADSRAuxLvl(float lvl) - Update aux ADSR level of all active voices
updateADSRAuxSpd(float spd) - Update aux ADSR speed of all active voices
updateADSRFreqLvl(float lvl) - Update frequency ADSR level of all active voices
updateADSRFreqSpd(float spd) - Update frequency ADSR speed of all active voices
updateADSRPanInt(float int) - Update pan ADSR intensity of all active voices
updateADSRPanLvl(float lvl) - Update pan ADSR level of all active voices
updateADSRPanSpd(float spd) - Update pan ADSR speed of all active voices
updateADSRVolInt(float int) - Update volume ADSR intensity of all active voices
updateADSRVolLvl(float lvl) - Update volume ADSR level of all active voices
updateADSRVolSpd(float spd) - Update volume ADSR speed of all active voices
updateAFreqSpd(float int) - Update freq attack speed of all active voices
updateAltVolume(float v) - Update alternative volume modulation of all active voices
updateAPanSpd(float int) - Update pan attack speed of all active voices
updateAVolSpd(float int) - Update volume attack speed of all active voices
updateCycleLen(float v) - Update timestretch granularity modulation of all active voices
updateFltCutOff(float f) - Update filter cutoff of all active voices
updateFltOffset(float f) - Update filter offset of all active voices
updateFltPan(float f) - Update filter panning of all active voices
updateFltRes(float f) - Update filter resonance of all active voices
updateFreq(float v) - Update frequency modulation of all active voices
updateFreq2(float v) - Update frequency modulation #2 of all active voices
updateGlideSpeed(float speed) - Update glide speed of all active voices
updateGlideSwitch(boolean bEnable) - Update glide switch of all active voices
updateJumpToLoop(int idx) - Make all playing voices jump to the given loop
updateJumpToLoopRel(int idx) - Make all playing voices jump to the given loop (0..1 => 0..num_loops-1)
updateLFOAuxFltAmt(float amt) - Update aux LFO => filter cutoff amount modifier
updateLFOAuxLvl(float lvl) - Update aux LFO level of all active voices
updateLFOAuxSpd(float spd) - Update aux LFO speed of all active voices
updateLFOFreqAmt(float amt) - Update frequency LFO => frequency amount modifier
updateLFOFreqLvl(float lvl) - Update frequency LFO level of all active voices
updateLFOFreqSpd(float spd) - Update frequency LFO speed of all active voices
updateLFOPanAmt(float amt) - Update pan LFO => pan amount modifier
updateLFOPanLvl(float lvl) - Update pan LFO level of all active voices
updateLFOPanSpd(float spd) - Update pan LFO speed of all active voices
updateLFOVolAmt(float amt) - Update volume LFO => volume amount modifier
updateLFOVolLvl(float lvl) - Update volume LFO level of all active voices
updateLFOVolSpd(float spd) - Update volume LFO speed of all active voices
updateMod(float v) - Update modulation of all active voices
updatePan(float v) - Update panning modulation of all active voices
updatePerfCtl(int idx, float val) - Update performance controller (original MIDI range, 0..127 or 0..16383)
updatePerfCtls(FloatArray initialPerfCtl) - Update performance controllers. Skip when value is <0.
updateRAuxSpd(float int) - Update aux release speed of all active voices
updateRetrigMask(int v) - Retrigger envelope/LFO of all active voices
updateRFreqSpd(float int) - Update freq release speed of all active voices
updateRPanSpd(float int) - Update pan release speed of all active voices
updateRVolSpd(float int) - Update volume release speed of all active voices
updateSampleOff(float v) - Update sample offset modulation of all active voices
updateSampleShift(float v) - Update sample shift modulation of all active voices
updateSampleShiftEndOfLoop(float v) - Update sample shift modulation of all active voices (queue until end of loop)
updateSAuxSpd(float int) - Update aux sustain speed of all active voices
updateSFreqSpd(float int) - Update freq sustain speed of all active voices
updateSPanSpd(float int) - Update pan sustain speed of all active voices
updateSVolSpd(float int) - Update volume sustain speed of all active voices
updateTimestretch(float v) - Update timestretch modulation of all active voices
updateTimestretchBend(float v) - Update timestretch phase bend modulation of all active voices
updateVol(float v) - Update volume modulation of all active voices
updateWavepathIndex(int idx) - Make all playing voices jump to the given cycle index (granular mode)int STSAMPLEPLAYER_MAXVOICES -
int STSAMPLEPLAYER_NUM_POLYMODES -
int STSAMPLEPLAYER_POLYMODE_HIGHEST -
int STSAMPLEPLAYER_POLYMODE_LOWEST -
int STSAMPLEPLAYER_POLYMODE_OLDEST -
Method allNotesOff | |||
Stop all currently playing voices (with fadeout but no release) | |||
Signature | |||
|
Method allNotesOffRelease | |||
Release all currently playing voices (like regular note offs) | |||
Signature | |||
|
Method allocVoices | ||||||||||
Allocate internal voice pool | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
| ||||||||||
Method findFirstActiveSampleVoice | ||||||||||
Query voice object | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
Method findLastStartedVoice | ||||||||||
Query voice object | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
Method findPreviousGlideNoteByKey | ||||||||||
Return -1 or glide_prev_note for first gliding voice that is assigned the given voicekey. | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
| ||||||||||
Method findVoicesByKey | ||||||||||||||||||||
Find all voices that are assigned the given key. | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
| ||||||||||||||||||||
Returns | ||||||||||||||||||||
| ||||||||||||||||||||
Method getDefaultFreqTable | |||||
Query default frequency table | |||||
Signature | |||||
| |||||
Returns | |||||
Method getDefaultMixRate | |||||
Query default mixrate | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getNumActiveNotes | |||||
Query number of currently (pressed) notes | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getNumActiveVoices | |||||
Query number of currently used (allocated) voices | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getNumPlayingVoices | |||||
Query number of currently used (allocated+playing) voices | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getNumUsedVoices | |||||
Query number of currently used voices | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getNumVoices | |||||
Query polyphony | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getPolyMode | |||||
Query voice allocation strategy | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getVoice | ||||||||||
Query voice object | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
Method getVolume | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method initStartedVoicesByKey | |||||
Really trigger note-on. Should be called after (initial) params have been set. | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method noteOff | ||||||||||||||||||||
Begin release phase of all voices that were triggered on the given key | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
| ||||||||||||||||||||
Returns | ||||||||||||||||||||
| ||||||||||||||||||||
Method noteOffByKey | ||||||||||||||||||||
Begin release phase of all voices that share the given voice key | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
| ||||||||||||||||||||
Returns | ||||||||||||||||||||
| ||||||||||||||||||||
Method removeFromGlideNoteHistory | |||||||||||||||
Iterate voices and remove given note from glide note histories | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method render | |||||
Render currently playing voices to the given (stereo) buffer (add). | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method renderWithInputs | ||||||||||||||||||||
Render currently playing voices to the given (stereo) buffer (add). | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Method reset | |||
Immediately reset / stop all voices (no fadeout) | |||
Signature | |||
|
Method resetLFOAuxPhase | |||
Reset aux LFO phase | |||
Signature | |||
|
Method resetLFOFreqPhase | |||
Reset frequency LFO phase | |||
Signature | |||
|
Method resetLFOPanPhase | |||
Reset panning LFO phase | |||
Signature | |||
|
Method resetLFOVolPhase | |||
Reset volume LFO phase | |||
Signature | |||
|
Method resetModulator | |||
Reset all modulators | |||
Signature | |||
|
Method restartVoicesByKey | |||||
Reset playing voices. | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setDefaultFreqTable | |||||
Set default frequency table for new sample voices | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
This table is used when the freqTable argument in calls to startSample() or startSampleBank() is null and the sample bank's default_tuning_table_idx / forced_tuning_table_idx does ot map to a valid table. |
Method setDefaultMixRate | |||||
Set default mixrate for new sample voices | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
(initial value is 48000Hz) |
Method setPolyMode | |||||
Select voice allocation strategy | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
@mode See STSAMPLEPLAYER_POLYMODE_xxx constants, e.g. STSAMPLEPLAYER_POLYMODE_OLDEST |
Method setSoftPedal | |||||
Update soft pedal state (0..1) (for zone mod matrix) | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setSustainPedal | |||||
Update sustain pedal state (0..1) (for zone mod matrix) | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setVolume | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method startSample | |||||||||||||||||||||||||||||||||||
Allocate voice and prepare to play the given sample. | |||||||||||||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
Returns | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
Description | |||||||||||||||||||||||||||||||||||
Any voice that plays a sample belonging to the same mutex group will be canceled. initStartedVoicesByKey() must be called to actually initialize the voice. | |||||||||||||||||||||||||||||||||||
Method startSampleBank | |||||||||||||||||||||||||||||||||||
Allocate voice(s) and play the samplebank samples that match the given note/velo/mod zones. | |||||||||||||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
Returns | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
Description | |||||||||||||||||||||||||||||||||||
Any voice that plays a sample belonging to the same mutex group(s) will be canceled. initStartedVoicesByKey() must be called to actually initialize the voice. | |||||||||||||||||||||||||||||||||||
Method stopADSRFreqBySample | |||||
Immediately stop all frequency ADSRs that belong to voices that play the given sample. | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
This is called when deleting an ADSR in the UI while the voice is playing. |
Method stopADSRPanBySample | |||||
Immediately stop all pan ADSRs that belong to voices that play the given sample. | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
This is called when deleting an LFO in the UI while the voice is playing. |
Method stopADSRVolBySample | |||||
Immediately stop all volume ADSRs that belong to voices that play the given sample. | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
This is called when deleting an ADSR in the UI while the voice is playing. |
Method stopLFOFreqBySample | |||||
Immediately stop all frequency LFOs that belong to voices that play the given sample. | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
This is called when deleting an LFO in the UI while the voice is playing. |
Method stopLFOPanBySample | |||||
Immediately stop all pan LFOs that belong to voices that play the given sample. | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
This is called when deleting an LFO in the UI while the voice is playing. |
Method stopLFOVolBySample | |||||
Immediately stop all volume LFOs that belong to voices that play the given sample. | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
This is called when deleting an LFO in the UI while the voice is playing. |
Method stopVoicesByKey | |||||
Immediately stop all voices that are assigned the given key (no fadeout) | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
This is called when muting a track. |
Method stopVoicesBySample | |||||
Immediately stop all voices that play the given sample (no fadeout) | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
This is called when modifying the sample's waveform. |
Method stopVoicesBySample | |||||
Stop all voices that play the given sample (with fadeout) | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateAAuxSpd | |||||
Update aux attack speed of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateADSFreqInt | |||||
Update frequency ADSR intensity of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateADSRAuxInt | |||||
Update aux ADSR intensity of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateADSRAuxLvl | |||||
Update aux ADSR level of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateADSRAuxSpd | |||||
Update aux ADSR speed of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateADSRFreqLvl | |||||
Update frequency ADSR level of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateADSRFreqSpd | |||||
Update frequency ADSR speed of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateADSRPanInt | |||||
Update pan ADSR intensity of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateADSRPanLvl | |||||
Update pan ADSR level of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateADSRPanSpd | |||||
Update pan ADSR speed of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateADSRVolInt | |||||
Update volume ADSR intensity of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateADSRVolLvl | |||||
Update volume ADSR level of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateADSRVolSpd | |||||
Update volume ADSR speed of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateAFreqSpd | |||||
Update freq attack speed of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateAltVolume | |||||
Update alternative volume modulation of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateAPanSpd | |||||
Update pan attack speed of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateAVolSpd | |||||
Update volume attack speed of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateCycleLen | |||||
Update timestretch granularity modulation of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateFltCutOff | |||||
Update filter cutoff of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateFltOffset | |||||
Update filter offset of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateFltPan | |||||
Update filter panning of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateFltRes | |||||
Update filter resonance of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateFreq | |||||
Update frequency modulation of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateFreq2 | |||||
Update frequency modulation #2 of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateGlideSpeed | |||||
Update glide speed of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateGlideSwitch | |||||
Update glide switch of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateJumpToLoop | |||||
Make all playing voices jump to the given loop | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateJumpToLoopRel | |||||
Make all playing voices jump to the given loop (0..1 => 0..num_loops-1) | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateLFOAuxFltAmt | |||||
Update aux LFO => filter cutoff amount modifier | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateLFOAuxLvl | |||||
Update aux LFO level of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateLFOAuxSpd | |||||
Update aux LFO speed of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateLFOFreqAmt | |||||
Update frequency LFO => frequency amount modifier | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateLFOFreqLvl | |||||
Update frequency LFO level of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateLFOFreqSpd | |||||
Update frequency LFO speed of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateLFOPanAmt | |||||
Update pan LFO => pan amount modifier | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateLFOPanLvl | |||||
Update pan LFO level of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateLFOPanSpd | |||||
Update pan LFO speed of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateLFOVolAmt | |||||
Update volume LFO => volume amount modifier | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateLFOVolLvl | |||||
Update volume LFO level of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateLFOVolSpd | |||||
Update volume LFO speed of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateMod | |||||
Update modulation of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updatePan | |||||
Update panning modulation of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updatePerfCtl | |||||||||||||||
Update performance controller (original MIDI range, 0..127 or 0..16383) | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method updatePerfCtls | |||||
Update performance controllers. Skip when value is <0. | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateRAuxSpd | |||||
Update aux release speed of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateRetrigMask | |||||
Retrigger envelope/LFO of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
0x01: reset freq envelope 0x02: reset volume envelope 0x04: reset pan envelope 0x08: reset aux envelope 0x10: reset freq LFO 0x20: reset volume LFO 0x40: reset pan LFO 0x80: reset aux LFO |
Method updateRFreqSpd | |||||
Update freq release speed of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateRPanSpd | |||||
Update pan release speed of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateRVolSpd | |||||
Update volume release speed of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateSampleOff | |||||
Update sample offset modulation of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateSampleShift | |||||
Update sample shift modulation of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateSampleShiftEndOfLoop | |||||
Update sample shift modulation of all active voices (queue until end of loop) | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateSAuxSpd | |||||
Update aux sustain speed of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateSFreqSpd | |||||
Update freq sustain speed of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateSPanSpd | |||||
Update pan sustain speed of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateSVolSpd | |||||
Update volume sustain speed of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateTimestretch | |||||
Update timestretch modulation of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateTimestretchBend | |||||
Update timestretch phase bend modulation of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateVol | |||||
Update volume modulation of all active voices | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateWavepathIndex | |||||
Make all playing voices jump to the given cycle index (granular mode) | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Constant STSAMPLEPLAYER_MAXVOICES (int) | |
Constant STSAMPLEPLAYER_NUM_POLYMODES (int) | |
Constant STSAMPLEPLAYER_POLYMODE_HIGHEST (int) | |
Constant STSAMPLEPLAYER_POLYMODE_LOWEST (int) | |
Constant STSAMPLEPLAYER_POLYMODE_OLDEST (int) | |
| Project Modules: | tksampler |
| Project Classes: | StADSR , StEnvelope , StFFT , StLFO , StModSeq , StPluginInfo , StPluginLibrary , StPluginShared , StPluginSharedMissing , StPluginVoice , StRange , StSample , StSampleBank , StSampleMutexGroup , StSamplePlayer , StSampleVoice , StWaveform |
| Project Functions: | |
| All Namespaces: | default , graph , ui |
| All Projects: | core , eqxmms , ShaderVG , ShaderVG_Text , tkanalogrytm , tkchipmunk , tkclap , tkfileutils , tkfreeglut , tkfreetype2 , tkfreeverb , tkmath , tkmidi , tkmidipipe , tkminnie , tkoldmath , tkopengl , tkportaudio , tkradiastools , tksamplechain , tksampleedit , tksampler , tksdl , tksdl_net , tksidplay2 , tkspeexdsp , tksqlite , tktriangulate , tkui , tkvst2 , tkzip , ui , yingtest |
auto-generated by "DOG", the TkScript document generator. Thu, 11/Dec/2025 13:42:00