/
NoteLatch.js
62 lines (54 loc) · 1.22 KB
/
NoteLatch.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
/* API Version - 3.1.2 */
/**
* Creates a proxy object to the NoteInput's NoteLatch component.
*
* @since API version 10
*/
function NoteLatch() {}
NoteLatch.prototype = new ObjectProxy();
NoteLatch.prototype.constructor = NoteLatch;
/**
* Returns an object to enable or disable the note latch component.
*
* @return {SettableBooleanValue}
* @since API version 10
*/
NoteLatch.prototype.isEnabled = function() {};
/**
* Returns an object to configure the note latch mode.
* Possible values:
* - chord
* - toggle
* - velocity
*
* @return {SettableEnumValue}
* @since API version 10
*/
NoteLatch.prototype.mode = function() {};
/**
* Only one note at a time.
*
* @return {SettableBooleanValue}
* @since API version 10
*/
NoteLatch.prototype.mono = function() {};
/**
* The velocity threshold used by the velocity latch mode.
*
* @return {SettableIntegerValue}
* @since API version 10
*/
NoteLatch.prototype.velocityThreshold = function() {};
/**
* How many notes are being latched.
*
* @return {IntegerValue}
* @since API version 10
*/
NoteLatch.prototype.activeNotes = function() {};
/**
* Release all notes being latched.
*
* @since API version 10
*/
NoteLatch.prototype.releaseNotes = function() {};