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
- See:
Hierarchy
Properties
uuid: string
Inherited from uuid
Unique id
owner: AnyAudioUnit | AnyModulator
Inherited from owner
The audio unit or modulator this track belongs to
audioUnit: Nullable<AnyAudioUnit>
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
Inherited from index
Position within the owner
type: 'value'
Overrides type
Always "value"
target: Automatable
The object owning the automated parameter
- See:
parameter: string
The automated parameter path
regions: readonly ValueRegion[]
All regions sorted by position
- See:
clips: readonly ValueClip[]
All clips sorted by slot index
- See:
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
props(ValueRegionProps, optional)
Returns
- See:
addClip(props?: ValueClipProps): ValueClip
Add a clip (default: next free slot, one bar)
Parameters
props(ValueClipProps, optional)
Returns
- See: