-
Notifications
You must be signed in to change notification settings - Fork 2
module node liveosc Device.API
node-liveosc~ Device
Device object, represents a device in the Ableton Live set.
| Name | Type | Description |
|---|---|---|
liveosc |
Object | LiveOSC instance |
id |
Number | id of the device |
track |
Object | track the device belongs to |
type |
String | type of device's track ('track', 'return', 'master') |
name |
String | name of the device |
- Source:
-
EventEmitter for device events
- EventEmitter
- Source:
-
The id of this device
- Number
- Source:
-
Instance of LiveOSC
- Object
- Source:
-
The name of this device
- String
- Source:
-
The parameter values of a device, format of a parameter is:
{ id: 0, value: 1, name: 'Device On', min: 0, max: 1 }
- Array
- Source:
-
The track this device belongs to
- Object
- Source:
-
The type of track the device is on, valid types are:
master track return
- String
- Source:
-
Called when a device is refreshed or destroyed
- Source:
-
Emit a device event
Name Type Description evString event name
paramsObject event parameters
- Source:
-
Listen for a device event, current events are:
param fired on any parameter change listen for a specific parameter destroy
Name Type Description evString event name
cbfunction callback
- Source:
-
Set a device parameter to a value
Name Type Description paramMixed id of the parameter or name of the parameter
valueNumber new parameter value
- Source:
-
Focus this device
- Source:
-
Listen for /live/device/allparam
- Source:
-
Listen for /live/device/param
- Source:
-
Listen for /live/device/range
- Source: