OpenDrumClap
interface OpenDrumClap extends Instrument {
uuid: string
label: string
enabled: boolean
minimized: boolean
audioUnit: InstrumentAudioUnit
icon: string
key: 'OpenDrumClap'
hands: number
gap: number
last: number
spread: number
attack: number
decay: number
snap: number
drive: number
tone: number
resonance: number
room: number
roomDecay: number
tail: number
volume: number
velocity: number
play: 0 | 1 | 2
panning: number
remove(): void
}openDrum Clap: a synthesized hand clap, a burst of hands and the room after it. Key 60 plays at Tune.
Hierarchy
Properties
uuid: string
Inherited from uuid
Unique id
label: string
Inherited from label
Custom label
enabled: boolean
Inherited from enabled
Enable or bypass the device
minimized: boolean
Inherited from minimized
Collapse the device editor in the studio
audioUnit: InstrumentAudioUnit
Inherited from audioUnit
The audio unit this instrument belongs to
icon: string
Inherited from icon
Icon name (see IconSymbol)
key: 'OpenDrumClap'
Overrides key
Always "OpenDrumClap"
hands: number
Hands (1 to 8)
gap: number
Gap in seconds (0 to 0.04)
last: number
Last (0.3 to 1.5)
spread: number
Spread (0.0 to 1.0)
attack: number
Attack in seconds (0 to 0.005)
decay: number
Decay in seconds (0.002 to 0.2)
snap: number
Snap (0.0 to 1.0)
drive: number
Drive in dB (0 to 36)
tone: number
Tone in Hz (300 to 8000)
resonance: number
Reso (0.0 to 1.0)
room: number
Room level in dB (-48 to 0)
roomDecay: number
Room decay in seconds (0.02 to 2)
tail: number
Tail (0.0 to 1.0)
volume: number
Volume in dB (-36 to 6)
velocity: number
Velocity (0.0 to 1.0)
play: 0 | 1 | 2
Mode (0-2): Mono, Poly, Gate
panning: number
Pan (-1.0 to 1.0, default 0.0)
Methods
remove(): void
Inherited from remove
Removes the whole audio unit. Use InstrumentAudioUnit.setInstrument to swap the instrument. An instrument inside an InstrumentCompositeLayer removes that layer instead
Returns
void