MIDIOutput

interface MIDIOutput extends Instrument { uuid: string label: string enabled: boolean minimized: boolean audioUnit: InstrumentAudioUnit icon: string key: 'MIDIOutput' channel: number parameters: readonly MIDIOutputParameter[] remove(): void addParameter(props?: Partial<Pick<MIDIOutputParameter, 'label' | 'controller' | 'value'>>): MIDIOutputParameter }

Sends notes to an external MIDI device

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: 'MIDIOutput'

readonly

Overrides key

Always "MIDIOutput"

channel: number

MIDI channel (0 to 15)

parameters: readonly MIDIOutputParameter[]

readonly

Automatable CC parameters

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

addParameter( props?: Partial<Pick<MIDIOutputParameter, 'label' | 'controller' | 'value'>>, ): MIDIOutputParameter

Add a CC parameter

Parameters

Returns