/
DeviceChain.js
76 lines (67 loc) · 2.3 KB
/
DeviceChain.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/* API Version - 3.1.2 */
/**
* The foundation of all interfaces that contain devices, such as tracks, device layers, drum pads or FX
* slots.
*
* @since API version 1
*/
function DeviceChain() {}
DeviceChain.prototype = new ObjectProxy();
DeviceChain.prototype.constructor = DeviceChain;
/**
* Selects the device chain in Bitwig Studio, in case it is a selectable object.
*
* @since API version 1
*/
DeviceChain.prototype.selectInEditor = function() {};
/**
* Value that reports the name of the device chain, such as the track name or the drum pad
* name.
*
* @return {SettableStringValue}
* @since API version 2
*/
DeviceChain.prototype.name = function() {};
/**
* Registers an observer that reports if the device chain is selected in Bitwig Studio editors.
*
* @param callback
a callback function that takes a single boolean parameter.
* @since API version 1
*/
DeviceChain.prototype.addIsSelectedInEditorObserver = function(callback) {};
/**
* Returns an object that provides bank-wise navigation of devices.
*
* @param numDevices
the number of devices should be accessible simultaneously
* @return {DeviceBank} the requested device bank object
@since API version 1
*/
DeviceChain.prototype.createDeviceBank = function(numDevices) {};
/**
* Returns an object used for browsing devices, presets and other content. Committing the browsing session
* will load or create a device from the selected resource and insert it into the device chain.
*
* @param numFilterColumnEntries
the size of the window used to navigate the filter column entries.
* @param numResultsColumnEntries
the size of the window used to navigate the results column entries.
* @return {Browser} the requested device browser object.
* @since API version 1
*/
DeviceChain.prototype.createDeviceBrowser = function(numFilterColumnEntries, numResultsColumnEntries) {};
/**
* {@link InsertionPoint} that can be used to insert at the start of the device chain.
*
* @return {InsertionPoint}
* @since API version 7
*/
DeviceChain.prototype.startOfDeviceChainInsertionPoint = function() {};
/**
* {@link InsertionPoint} that can be used to insert at the end of the device chain.
*
* @return {InsertionPoint}
* @since API version 7
*/
DeviceChain.prototype.endOfDeviceChainInsertionPoint = function() {};