EZ Web Audio / VoiceStolenEventDetail
Interface: VoiceStolenEventDetail
Defined in: packages/core/src/events/event-types.ts:332
Detail for 'voicestolen' events, fired when a PolySynth voice is stolen to accommodate a new note request when the voice pool is full.
Properties
newFrequency
newFrequency:
number
Defined in: packages/core/src/events/event-types.ts:336
Frequency of the new note that replaced it
source
source:
AudioEventSource
Defined in: packages/core/src/events/event-types.ts:340
The PolySynth instance that emitted this event
stolenFrequency
stolenFrequency:
number
Defined in: packages/core/src/events/event-types.ts:334
Frequency of the voice that was stolen
time
time:
number
Defined in: packages/core/src/events/event-types.ts:338
The audioContext.currentTime when the steal occurred