-
Notifications
You must be signed in to change notification settings - Fork 2
module node liveosc Song.API
node-liveosc~ Song
Song object, represents the current state of the Ableton Live
set. Contains tracks, returns, and devices, as well as master
track properties.
| Name | Type | Description |
|---|---|---|
liveosc |
Object | LiveOSC instance |
- Source:
-
Current beat/play position
- Number
- Source:
-
Current beat/play position
- Number
- Source:
-
Current devices
- Array
- Source:
-
Current devices
- Array
- Source:
-
EventEmitter for song events
- EventEmitter
- Source:
-
EventEmitter for song events
- EventEmitter
- Source:
-
LiveOSC instance
- Object
- Source:
-
LiveOSC instance
- Object
- Source:
-
Master track panning
- Number
- Source:
-
Master track panning
- Number
- Source:
-
Transport play state, 1 = stopped, 2 = playing
- Number
- Source:
-
Transport play state, 1 = stopped, 2 = playing
- Number
- Source:
-
Current return tracks
- Array
- Source:
-
Current return tracks
- Array
- Source:
-
Currently selected scene
- Number
- Source:
-
Currently selected scene
- Number
- Source:
-
Current tempo
- Number
- Source:
-
Current tempo
- Number
- Source:
-
Current tracks
- Array
- Source:
-
Current tracks
- Array
- Source:
-
Master track volume
- Number
- Source:
-
Master track volume
- Number
- Source:
-
Trigger song continue play
- Source:
-
Trigger song continue play
- Source:
-
Move to next cue marker
- Source:
-
Move to next cue marker
- Source:
-
Listen for a song event, current events are:
ready
play
beat
tempo
scene
volume
panName Type Description evString event name
cbfunction callback
- Source:
-
Listen for a song event, current events are:
ready
play
beat
tempo
scene
volume
panName Type Description evString event name
cbfunction callback
- Source:
-
Trigger song play
- Source:
-
Trigger song play
- Source:
-
Trigger a scene play button
Name Type Description sceneNumber scene number to play
- Source:
-
Trigger a scene play button
Name Type Description sceneNumber scene number to play
- Source:
-
Move to previous cue marker
- Source:
-
Move to previous cue marker
- Source:
-
Trigger redo
- Source:
-
Trigger redo
- Source:
-
Refresh the current song state
Recreates all tracks/returns/clips- Source:
-
Refresh the current song state
Recreates all tracks/returns/clips- Source:
-
Sets the master track panning
Name Type Description panNumber new panning
- Source:
-
Sets the master track panning
Name Type Description panNumber new panning
- Source:
-
Sets the tempo
Name Type Description tempoNumber new tempo
- Source:
-
Sets the tempo
Name Type Description tempoNumber new tempo
- Source:
-
Sets the master track volume
Name Type Description volumeNumber new volume
- Source:
-
Sets the master track volume
Name Type Description volumeNumber new volume
- Source:
-
Trigger song stop
- Source:
-
Trigger song stop
- Source:
-
Trigger undo
- Source:
-
Trigger undo
- Source:
-
Focus the master track
- Source:
-
Focus the master track
- Source:
-
Respond to /live/beat
Called when a beat is reached in the song timelineName Type Description newNumber beat
- Source:
-
Respond to /live/beat
Called when a beat is reached in the song timelineName Type Description newNumber beat
- Source:
-
Respond to /live/master/devicelist
Called when device list is received- Source:
-
Respond to /live/master/devicelist
Called when device list is received- Source:
-
Respond to /live/master/pan
Called when master track panning changesName Type Description panNumber new panning (-1.0 - 1.0)
- Source:
-
Respond to /live/master/pan
Called when master track panning changesName Type Description panNumber new panning (-1.0 - 1.0)
- Source:
-
Respond to /live/play
Called when the song starts or stopsName Type Description playNumber state (1 = stopped, 2 = playing)
- Source:
-
Respond to /live/play
Called when the song starts or stopsName Type Description playNumber state (1 = stopped, 2 = playing)
- Source:
-
Respond to:
/remix/oscserver/startup
/remix/oscserver/shutdown
/live/refresh
Refreshes the current song state- Source:
-
Respond to:
/remix/oscserver/startup
/remix/oscserver/shutdown
/live/refresh
Refreshes the current song state- Source:
-
Respond to /live/returns
Called when number of returns is reportedName Type Description numTracksNumber number of returns
- Source:
-
Respond to /live/returns
Called when number of returns is reportedName Type Description numTracksNumber number of returns
- Source:
-
Respond to /live/scene
Called when scene changesName Type Description sceneNumber new scene number
- Source:
-
Respond to /live/scene
Called when scene changesName Type Description sceneNumber new scene number
- Source:
-
Respond to /live/scenes
Called when number of scenes is reportedName Type Description numScenesNumber number of scenes
- Source:
-
Respond to /live/scenes
Called when number of scenes is reportedName Type Description numScenesNumber number of scenes
- Source:
-
Respond to /live/tempo
Called when tempo changesName Type Description tempoNumber new tempo
- Source:
-
Respond to /live/tempo
Called when tempo changesName Type Description tempoNumber new tempo
- Source:
-
Repond to /live/tracks
Called when number of tracks is reportedName Type Description numTracksNumber new number of tracks
- Source:
-
Repond to /live/tracks
Called when number of tracks is reportedName Type Description numTracksNumber new number of tracks
- Source:
-
Respond to /live/master/volume
Called when master track volume changesName Type Description volumeNumber new volume (0.0 - 1.0)
- Source:
-
Respond to /live/master/volume
Called when master track volume changesName Type Description volumeNumber new volume (0.0 - 1.0)
- Source:
node-liveosc~ Song
Song object, represents the current state of the Ableton Live
set. Contains tracks, returns, and devices, as well as master
track properties.
| Name | Type | Description |
|---|---|---|
liveosc |
Object | LiveOSC instance |
- Source:
-
Current beat/play position
- Number
- Source:
-
Current beat/play position
- Number
- Source:
-
Current devices
- Array
- Source:
-
Current devices
- Array
- Source:
-
EventEmitter for song events
- EventEmitter
- Source:
-
EventEmitter for song events
- EventEmitter
- Source:
-
LiveOSC instance
- Object
- Source:
-
LiveOSC instance
- Object
- Source:
-
Master track panning
- Number
- Source:
-
Master track panning
- Number
- Source:
-
Transport play state, 1 = stopped, 2 = playing
- Number
- Source:
-
Transport play state, 1 = stopped, 2 = playing
- Number
- Source:
-
Current return tracks
- Array
- Source:
-
Current return tracks
- Array
- Source:
-
Currently selected scene
- Number
- Source:
-
Currently selected scene
- Number
- Source:
-
Current tempo
- Number
- Source:
-
Current tempo
- Number
- Source:
-
Current tracks
- Array
- Source:
-
Current tracks
- Array
- Source:
-
Master track volume
- Number
- Source:
-
Master track volume
- Number
- Source:
-
Trigger song continue play
- Source:
-
Trigger song continue play
- Source:
-
Move to next cue marker
- Source:
-
Move to next cue marker
- Source:
-
Listen for a song event, current events are:
ready
play
beat
tempo
scene
volume
panName Type Description evString event name
cbfunction callback
- Source:
-
Listen for a song event, current events are:
ready
play
beat
tempo
scene
volume
panName Type Description evString event name
cbfunction callback
- Source:
-
Trigger song play
- Source:
-
Trigger song play
- Source:
-
Trigger a scene play button
Name Type Description sceneNumber scene number to play
- Source:
-
Trigger a scene play button
Name Type Description sceneNumber scene number to play
- Source:
-
Move to previous cue marker
- Source:
-
Move to previous cue marker
- Source:
-
Trigger redo
- Source:
-
Trigger redo
- Source:
-
Refresh the current song state
Recreates all tracks/returns/clips- Source:
-
Refresh the current song state
Recreates all tracks/returns/clips- Source:
-
Sets the master track panning
Name Type Description panNumber new panning
- Source:
-
Sets the master track panning
Name Type Description panNumber new panning
- Source:
-
Sets the tempo
Name Type Description tempoNumber new tempo
- Source:
-
Sets the tempo
Name Type Description tempoNumber new tempo
- Source:
-
Sets the master track volume
Name Type Description volumeNumber new volume
- Source:
-
Sets the master track volume
Name Type Description volumeNumber new volume
- Source:
-
Trigger song stop
- Source:
-
Trigger song stop
- Source:
-
Trigger undo
- Source:
-
Trigger undo
- Source:
-
Focus the master track
- Source:
-
Focus the master track
- Source:
-
Respond to /live/beat
Called when a beat is reached in the song timelineName Type Description newNumber beat
- Source:
-
Respond to /live/beat
Called when a beat is reached in the song timelineName Type Description newNumber beat
- Source:
-
Respond to /live/master/devicelist
Called when device list is received- Source:
-
Respond to /live/master/devicelist
Called when device list is received- Source:
-
Respond to /live/master/pan
Called when master track panning changesName Type Description panNumber new panning (-1.0 - 1.0)
- Source:
-
Respond to /live/master/pan
Called when master track panning changesName Type Description panNumber new panning (-1.0 - 1.0)
- Source:
-
Respond to /live/play
Called when the song starts or stopsName Type Description playNumber state (1 = stopped, 2 = playing)
- Source:
-
Respond to /live/play
Called when the song starts or stopsName Type Description playNumber state (1 = stopped, 2 = playing)
- Source:
-
Respond to:
/remix/oscserver/startup
/remix/oscserver/shutdown
/live/refresh
Refreshes the current song state- Source:
-
Respond to:
/remix/oscserver/startup
/remix/oscserver/shutdown
/live/refresh
Refreshes the current song state- Source:
-
Respond to /live/returns
Called when number of returns is reportedName Type Description numTracksNumber number of returns
- Source:
-
Respond to /live/returns
Called when number of returns is reportedName Type Description numTracksNumber number of returns
- Source:
-
Respond to /live/scene
Called when scene changesName Type Description sceneNumber new scene number
- Source:
-
Respond to /live/scene
Called when scene changesName Type Description sceneNumber new scene number
- Source:
-
Respond to /live/scenes
Called when number of scenes is reportedName Type Description numScenesNumber number of scenes
- Source:
-
Respond to /live/scenes
Called when number of scenes is reportedName Type Description numScenesNumber number of scenes
- Source:
-
Respond to /live/tempo
Called when tempo changesName Type Description tempoNumber new tempo
- Source:
-
Respond to /live/tempo
Called when tempo changesName Type Description tempoNumber new tempo
- Source:
-
Repond to /live/tracks
Called when number of tracks is reportedName Type Description numTracksNumber new number of tracks
- Source:
-
Repond to /live/tracks
Called when number of tracks is reportedName Type Description numTracksNumber new number of tracks
- Source:
-
Respond to /live/master/volume
Called when master track volume changesName Type Description volumeNumber new volume (0.0 - 1.0)
- Source:
-
Respond to /live/master/volume
Called when master track volume changesName Type Description volumeNumber new volume (0.0 - 1.0)
- Source: