NPVoicerL:
Filter:
Classes (extension) | Live Coding

NPVoicerL : NPVoicer : Object
ExtensionExtension

a voicer with stealing
Source: NPVoicerL.sc

Description

A voicer that can limit the maximum number of playing voices. Also, it can handle voices with fixed-duration synths reasonably well.

Mainly code examples and tests for now:

Class Methods

Inherited class methods

Instance Methods

.maxVoices

.maxVoices = value

get and set the maximum number of voices

.limitVoices

.limitVoices = value

get and set flag whether to limit maximum number of voices

.stealMode

.stealMode = value

get and set mode of voice stealing. Can be \oldest, \lowest, \softest.

.defParamValues

the default parameter values of the current synthdef.

.voiceHistory

the current history of sounding voices

.postHist

prettypost the current history of sounding voices

.prime(obj, useSpawn)

.put(key, args)

.release(key, force: false)

.releaseAll

see NPVoicer

Inherited instance methods

Undocumented instance methods

.sostenuto(flag: true)

.sostenutoKeysToKeep

.sostenutoReleaseCheck(key)

.sostenutoed

.sustain(flag: true)

.sustained

.sustainedKeysToKeep

.sustainedReleaseCheck(key)

Examples

To do ...