-
Notifications
You must be signed in to change notification settings - Fork 2
module node liveosc Track.API
node-liveosc~ Track
Track object, represents an audio or midi track in the Ableton Live set.
| Name | Type | Description |
|---|---|---|
liveosc |
Object | LiveOSC instance |
id |
Number | id of the track |
- Source:
-
Track armed (audio only)
- Number
- Source:
-
0 = MIDI track, 1 = Audio track
- Number
- Source:
-
Clips in this track
- Array
- Source:
-
Devices in this track
- Array
- Source:
-
EventEmitter for track events
- EventEmitter
- Source:
-
The id of this track
- Number
- Source:
-
Instance of LiveOSC
- Object
- Source:
-
Track muted
- Number
- Source:
-
The name of this track
- String
- Source:
-
Number of scenes in the track
- Number
- Source:
-
Track panning
- Number
- Source:
-
Track send levels ex [{id: 0, value: 1.0}]
- Array
- Source:
-
Track soloed
- Number
- Source:
-
Track volume
- Number
- Source:
-
Called when a track is refreshed or destroyed
- Source:
-
Emit a track event
Name Type Description evString event name
paramsObject event parameters
- Source:
-
Listen for a track event, current events are:
send solo arm mute volume pan name destroy
Name Type Description evString event name
cbfunction callback
- Source:
-
Refresh the state of all clips in the track
- Source:
-
Set the track arm state
Name Type Description armNumber 0 or 1
- Source:
-
Set the track mute state
Name Type Description muteNumber 0 or 1
- Source:
-
Set the name of the track
Name Type Description nameString the new track name
- Source:
-
Set number of scenes in the track Called by Song
Name Type Description numScenesNumber number of scenes in the track
- Source:
-
Set the track panning
Name Type Description panNumber 1.0 - 1.0
- Source:
-
Set track send level
Name Type Description sendNumber send id
valNumber new send level (0.0 - 1.0)
- Source:
-
Set the track solo state
Name Type Description soloNumber 0 or 1
- Source:
-
Set the track volume
Name Type Description volumeNumber 0.0 - 1.0
- Source:
-
Focus the track
- Source:
-
Listen for /live/arm
Name Type Description trackIdNumber the id of the track
armNumber 0 or 1
- Source:
-
Listen for /live/devicelist
- Source:
-
Listen for /live/mute
Name Type Description trackIdNumber the id of the track
muteNumber 0 or 1
- Source:
-
Listen for /live/name/track This is called when clips/devices are added or removed
Name Type Description trackIdNumber the id of the track
nameString track name
- Source:
-
Listen for /live/pan
Name Type Description trackIdNumber the id of the track
panNumber new track panning
- Source:
-
Listen for /live/send
- Source:
-
Listen for /live/solo
Name Type Description trackIdNumber the id of the track
soloNumber 0 or 1
- Source:
-
Listen for /live/track/info
Name Type Description trackIdNumber the id of the track
armNumber 0 or 1
soloNumber 0 or 1
muteNumber 0 or 1
audioNumber 0 = midi, 1 = audio
volumeNumber current track volume
panNumber current track panning
- Source:
-
Listen for /live/volume
Name Type Description trackIdNumber the id of the track
volumeNumber new track volume
- Source: