Skip to content

EZ Web Audio / SoundControlType

Type Alias: SoundControlType

SoundControlType = Exclude<ControlType, "frequency">

Defined in: packages/core/src/controllers/base-param-controller.ts:29

Control types available on Sound and Track.

Derived from ControlTypeMap (excluding 'frequency', since Sound/Track instances play pre-recorded audio buffers which do not have a frequency AudioParam) rather than hardcoded, so that module augmentation of ControlTypeMap (see the "Extending ControlType" docs) actually extends this type too — not just ControlType / OscillatorControlType. Use OscillatorControlType for oscillator-specific parameters.