UnsupportedInstrument

interface UnsupportedInstrument extends Device { uuid: string label: string enabled: boolean minimized: boolean key: 'WebCLAP' | 'Korpus' | 'Noop' audioUnit: InstrumentAudioUnit icon: string remove(): void }

An instrument scripts reach but cannot edit yet: a WebCLAP plugin, Korpus or a placeholder ("Noop"). Label, icon, enabled, minimized and remove work, its parameters are not exposed. InstrumentAudioUnit.setInstrument replaces it with a supported instrument

Hierarchy

  • Device
  • UnsupportedInstrument

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

key: 'WebCLAP' | 'Korpus' | 'Noop'

readonly

"WebCLAP", "Korpus" or "Noop"

audioUnit: InstrumentAudioUnit

readonly

The audio unit this instrument belongs to

icon: string

Icon name (see IconSymbol)

Methods

remove(): void

Overrides remove

Removes the whole audio unit

Returns

  • void