ValueTrack

interface ValueTrack extends Track { uuid: string owner: AnyAudioUnit | AnyModulator audioUnit: Nullable<AnyAudioUnit> enabled: boolean excludePianoMode: boolean index: number type: 'value' target: Automatable parameter: string regions: readonly ValueRegion[] clips: readonly ValueClip[] remove(): void addRegion(props?: ValueRegionProps): ValueRegion addClip(props?: ValueClipProps): ValueClip }

Automation track bound to one parameter, created with AudioUnit.addValueTrack

Hierarchy


Properties

uuid: string

readonly

Inherited from uuid

Unique id

owner: AnyAudioUnit | AnyModulator

readonly

Inherited from owner

The audio unit or modulator this track belongs to

audioUnit: Nullable<AnyAudioUnit>

readonly

Inherited from audioUnit

The audio unit this track belongs to (null for modulator automation lanes)

enabled: boolean

Inherited from enabled

Enable or disable the track

excludePianoMode: boolean

Inherited from excludePianoMode

Keep the track out of piano mode

index: number

readonly

Inherited from index

Position within the owner

type: 'value'

readonly

Overrides type

Always "value"

target: Automatable

readonly

The object owning the automated parameter

parameter: string

readonly

The automated parameter path

regions: readonly ValueRegion[]

readonly

All regions sorted by position

clips: readonly ValueClip[]

readonly

All clips sorted by slot index

Methods

remove(): void

Inherited from remove

Remove this track including its regions and clips

Returns

  • void

addRegion(props?: ValueRegionProps): ValueRegion

Add a region (default duration one bar). Throws if it overlaps an existing region

Parameters

Returns

addClip(props?: ValueClipProps): ValueClip

Add a clip (default: next free slot, one bar)

Parameters

Returns