OpenDrumTom
interface OpenDrumTom extends Instrument {
uuid: string
label: string
enabled: boolean
minimized: boolean
audioUnit: InstrumentAudioUnit
icon: string
key: 'OpenDrumTom'
tune: number
pitch: number
sweep: number
drift: number
decay: number
punch: number
shape: number
sub: number
ratio: number
top: number
length: number
drive: number
noise: number
noiseDecay: number
color: number
air: number
volume: number
velocity: number
play: 0 | 1 | 2
panning: number
remove(): void
}openDrum Tom: synthesized toms, congas and bongos. 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: 'OpenDrumTom'
Overrides key
Always "OpenDrumTom"
tune: number
Tune in Hz (40 to 800)
pitch: number
Pitch in semitones (0 to 24)
sweep: number
Sweep in seconds (0.001 to 0.2)
drift: number
Drift in semitones (0 to 12)
decay: number
Decay in seconds (0.02 to 3)
punch: number
Punch (-1.0 to 1.0)
shape: number
Shape (0.0 to 1.0)
sub: number
Sub (0.0 to 1.0)
ratio: number
Ratio (0.5 to 1)
top: number
Top (0.0 to 1.0)
length: number
Length in seconds (0.02 to 1)
drive: number
Drive in dB (0 to 36)
noise: number
Noise level in dB (-48 to 0)
noiseDecay: number
Noise decay in seconds (0.02 to 3)
color: number
Color (0.0 to 1.0)
air: number
Air (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