OpenDrumRim

interface OpenDrumRim extends Instrument { uuid: string label: string enabled: boolean minimized: boolean audioUnit: InstrumentAudioUnit icon: string key: 'OpenDrumRim' tune: number ratio: number balance: number high: number highRatio: number ring: number ringHigh: number decay: number punch: number drive: number hard: number click: number swell: number cut: number restart: 0 | 1 volume: number velocity: number play: 0 | 1 | 2 panning: number remove(): void }

openDrum Rim: rimshots, claves and woodblocks. Key 60 plays at Tune.

Hierarchy


Properties

uuid: string

readonly

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

readonly

Inherited from audioUnit

The audio unit this instrument belongs to

icon: string

Inherited from icon

Icon name (see IconSymbol)

key: 'OpenDrumRim'

readonly

Overrides key

Always "OpenDrumRim"

tune: number

Tune in Hz (100 to 4000)

ratio: number

Ratio (1 to 5)

balance: number

Balance (0.0 to 1.0)

high: number

High level (0.0 to 1.0)

highRatio: number

High ratio (1 to 12)

ring: number

Ring in seconds (0.005 to 1)

ringHigh: number

High ring in seconds (0.005 to 1)

decay: number

Decay in seconds (0.002 to 0.5)

punch: number

Punch (-1.0 to 1.0)

drive: number

Drive in dB (0 to 36)

hard: number

Hard (0.0 to 1.0)

click: number

Click (0.0 to 1.0)

swell: number

Swell (0 to 8)

cut: number

Cut in Hz (20 to 4000)

restart: 0 | 1

Restart (0-1): Off, On

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