-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbcfr2000_options.js
70 lines (62 loc) · 1.78 KB
/
bcfr2000_options.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
/**
* Copyright 2014-2015 Alan Drees
*
* Purpose:
* Implements configuraable options for each of the component modules of the design
* Dependencies
* bcfr2000_controller_object.js
*/
var BCFR2000 = BCFR2000 || {};
var BCR = BCR || {};
var BCF = BCF || {};
/**\fn BCFR2000.options
*
* Options used for the BCFR2000 encapsulating controller
*
* @param None
*
* @returns None
*/
BCFR2000.options = {'bcfs' : 1,
'bcrs' : 1,
'io' : 'bcr',
'discoveryname' : [["BCF2000", "BCF2000"]],
'tracks' : 8,
'sends' : 3,
'scenes' : 0
};
/**\fn BCF.options
*
* Options used for the BCF2000 portion of the controller
*
*/
BCF.options = {'channel' : 1,
'faders' : 8,
'encoders' : 0,
'buttons' : 16,
'gencoder' : 32,
'gbuttons' : 8,
'misc' : 4,
'tracks' : BCFR2000.options.tracks || 8,
'sends' : BCFR2000.options.sends || 3,
'scenes' : BCFR2000.options.scenes || 0};
/**\fn BCR.options
*
* Options used for the BCR2000 portion of the controller
*
*/
BCR.options = {'channel' : 2,
'faders' : 0,
'encoders' : 24,
'buttons' : 16,
'gencoder' : 32,
'gbuttons' : 32,
'misc' : 4,
'tracks' : BCFR2000.options.tracks || 8,
'sends' : BCFR2000.options.sends || 3,
'scenes' : BCFR2000.options.scenes || 0,
'enable_preset_switching' : false,
'bpm_low' : 75,
'bpm_high' : 200,
'bpm_increment' : 1,
'bpm_decrement' : 1};