Skip to content

Commit 5d48b20

Browse files
committed
adjusted defineController()-calls
1 parent f97076a commit 5d48b20

12 files changed

+18
-67
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "LePsControllerScripts4Bitwig",
33
"title": "LeP's controller scripts for Bitwig",
44
"description": "Bitwig controller script for the Behringer BCF2000, Arturia Beatstep Pro and more",
5-
"version": "2.0.0",
5+
"version": "2.1.0",
66
"author": {
77
"name": "Lennart Pegel",
88
"email": "github@justlep.net",

src/AlesisPerformancePad.control.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
loadAPI(2);
1515

16-
host.defineController('Alesis', 'PerformancePad', '2.0', 'c6cc8a34-a36e-11e5-bf7f-feff819cdc9f', 'Lennart Pegel <github@justlep.net>');
16+
host.defineController('Alesis', 'PerformancePad', '2.1', 'c6cc8a34-a36e-11e5-bf7f-feff819cdc9f', 'Lennart Pegel');
1717
host.defineMidiPorts(1, 0);
1818

1919
var NOTE_MAPPING = {

src/BCF2000.control.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,12 @@
88
loadAPI(2);
99
load('lep/api.js');
1010

11-
host.defineController('Behringer', 'BCF2000 (LeP)', '2.0', 'd26515a4-571b-11e5-885d-feff819cdc9f', 'Lennart Pegel <github@justlep.net>');
11+
host.defineController('Behringer', 'BCF2000', '2.1', 'd26515a4-571b-11e5-885d-feff819cdc9f', 'Lennart Pegel');
1212
host.defineMidiPorts(1, 1);
1313
host.addDeviceNameBasedDiscoveryPair(['BCF2000'], ['BCF2000']);
1414
host.addDeviceNameBasedDiscoveryPair(['BCF2000 port 1'], ['BCF2000 port 1']);
1515
host.addDeviceNameBasedDiscoveryPair(['BCF2000 Port 1'], ['BCF2000 Port 1']);
1616

17-
// host.addDeviceNameBasedDiscoveryPair(['BCF2000 port 2'], ['BCF2000 port 2']);
18-
// host.addDeviceNameBasedDiscoveryPair(['BCF2000 Port 2'], ['BCF2000 Port 2']);
19-
// host.addDeviceNameBasedDiscoveryPair(['BCF2000 port 3'], ['BCF2000 port 3']);
20-
// host.addDeviceNameBasedDiscoveryPair(['BCF2000 Port 3'], ['BCF2000 Port 3']);
21-
2217
/**
2318
* Switches the BCF2000 into a given preset number.
2419
* @param presetNumber (Number) 1-based (!)

src/BCR2000.control.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
loadAPI(2);
99
load('lep/api.js');
1010

11-
host.defineController('Behringer', 'BCR2000 (LeP)', '2.0', 'fe5a1578-0fbd-11e6-a148-3e1d05defe78', 'Lennart Pegel <github@justlep.net>');
11+
host.defineController('Behringer', 'BCR2000', '2.1', 'fe5a1578-0fbd-11e6-a148-3e1d05defe78', 'Lennart Pegel');
1212
host.defineMidiPorts(1, 1);
1313
host.addDeviceNameBasedDiscoveryPair(['BCR2000'], ['BCR2000']);
1414
host.addDeviceNameBasedDiscoveryPair(['BCR2000 port 1'], ['BCR2000 port 1']);

src/BeatstepPro-All-Channels.control.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@
55
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
66
*
77
* What it does:
8-
* - Adds Beatstep's three sequencers as selectable MIDI inputs ("BSP-S1", "BSP-S2" and "BSP-DRUM"),
9-
* using extra short names, so it's more easy to spot which track they are assigned to.
8+
* - Adds Beatstep's three sequencers as selectable MIDI inputs (S1, S2 and DRUM),
109
* (Names are only sensible if you use Beatstep's default settings where Sequencer1 is using MIDI channel 1,
1110
* Sequencer2 using channel 2 and Drum sequencer on MIDI channel 10)
12-
* - The other MIDI channels are added as selectable MIDI inputs, too: "BSP-3" to "BSP-9" and "BSP-11" to "BSP-16"
13-
* - Since Bitwig 2, the user himself must enable CLOCK for this script,
14-
* so Beatstep can start/stop synchronously with Bitwig if it is switched to "USB" sync mode
11+
* - The other MIDI channels are added as selectable MIDI inputs 3-9 and 11-16
12+
* - If Bitwig 2.1 is the clock master, the Beatstep Pro must be switched to "USB" sync mode.
1513
* - Knobs in control mode are mappable. However, as Beatstep Pro doesn't seem to receive CC messages,
1614
* value changes made manually in the Bitwig GUI won't update the value of the mapped Beatstep encoder :(.
1715
*
@@ -23,14 +21,14 @@ loadAPI(2);
2321
load('lep/api.js');
2422
load('beatsteppro/BeatstepPro.js');
2523

26-
host.defineController('Arturia Beatstep Pro (All)', 'BSP', '2.0', '6ae51caa-3310-11e5-a151-feff819ffc9f', 'github@justlep.net');
24+
host.defineController('Arturia', 'Beatstep Pro [All]', '2.1', '6ae51caa-3310-11e5-a151-feff819ffc9f', 'Lennart Pegel');
2725
// host.addDeviceNameBasedDiscoveryPair(['Arturia BeatStep Pro'], ['Arturia BeatStep Pro']);
2826
host.defineMidiPorts(1, 1);
2927

3028
function init() {
3129
lep.setLogLevel(lep.LOGLEVEL.WARN);
3230
BeatstepPro.getInstanceForAllChannels();
33-
println('\n-------------\nBeatstepPro ready (all sequencers)');
31+
println('\n-------------\nBeatstepPro ready (all channels)');
3432
}
3533

3634
/** @Override */

src/BeatstepPro.control.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,10 @@
55
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
66
*
77
* What it does:
8-
* - Adds Beatstep's three sequencers as selectable MIDI inputs ('BSP-S1', 'BSP-S2' and 'BSP-DRUM'),
9-
* using extra short names, so it's more easy to spot which track they are assigned to.
8+
* - Adds Beatstep's three sequencers as selectable MIDI inputs (S1, S2 and DRUM)
109
* (Names are only sensible if you use Beatstep's default settings where Sequencer1 is using MIDI channel 1,
1110
* Sequencer2 using channel 2 and Drum sequencer on MIDI channel 10)
12-
* - The other MIDI channels are added as selectable MIDI inputs, too: 'BSP-3' to 'BSP-9' and 'BSP-11' to 'BSP-16'
13-
* - Since Bitwig 2, the user himself must enable CLOCK for this script,
14-
* so Beatstep can start/stop synchronously with Bitwig if it is switched to 'USB' sync mode
11+
* - If Bitwig 2.1 is the clock master, the Beatstep Pro must be switched to "USB" sync mode.
1512
* - Knobs in control mode are mappable. However, as Beatstep Pro doesn't seem to receive CC messages,
1613
* value changes made manually in the Bitwig GUI won't update the value of the mapped Beatstep encoder :(.
1714
*
@@ -23,7 +20,7 @@ loadAPI(2);
2320
load('lep/api.js');
2421
load('beatsteppro/BeatstepPro.js');
2522

26-
host.defineController('Arturia Beatstep Pro (Mains)', 'BSP', '2.0', '6fff1a34-3310-11e5-a151-feff819cdc9f', 'github@justlep.net');
23+
host.defineController('Arturia', 'Beatstep Pro [Mains]', '2.1', '6fff1a34-3310-11e5-a151-feff819cdc9f', 'Lennart Pegel');
2724
// host.addDeviceNameBasedDiscoveryPair(['Arturia BeatStep Pro'], ['Arturia BeatStep Pro']);
2825
host.defineMidiPorts(1, 1);
2926

src/CMD-DC-1.control.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
loadAPI(2);
99
load('lep/api.js');
1010

11-
host.defineController('Behringer', 'CMD DC-1 (LeP)', '2.0', '047f0d84-8ace-11e5-af63-feff819cdc9f', 'Lennart Pegel <github@justlep.net>');
11+
host.defineController('Behringer', 'CMD DC-1', '2.1', '047f0d84-8ace-11e5-af63-feff819cdc9f', 'Lennart Pegel');
1212
host.defineMidiPorts(1, 1);
1313
host.addDeviceNameBasedDiscoveryPair(['CMD DC-1'], ['CMD DC-1']);
1414

src/CMD-LC-1.control.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
loadAPI(2);
99
load('lep/api.js');
1010

11-
host.defineController('Behringer', 'CMD LC-1 (LeP)', '2.0', 'b6ad3828-8a3d-11e5-af63-feff819cdc9f', 'Lennart Pegel <github@justlep.net>');
11+
host.defineController('Behringer', 'CMD LC-1', '2.1', 'b6ad3828-8a3d-11e5-af63-feff819cdc9f', 'Lennart Pegel');
1212
host.defineMidiPorts(1, 1);
1313
host.addDeviceNameBasedDiscoveryPair(['CMD LC-1'], ['CMD LC-1']);
1414

src/DrumsOnly.control.js

Lines changed: 0 additions & 42 deletions
This file was deleted.

src/Roland-A49.control.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
loadAPI(2);
99

10-
host.defineController('Roland', 'A-49', '2.0', '381d879c-9a0a-11e5-8994-feff819cdc9f', 'Lennart Pegel <github@justlep.net>');
10+
host.defineController('Roland', 'A-49', '2.0', '381d879c-9a0a-11e5-8994-feff819cdc9f', 'Lennart Pegel');
1111
host.defineMidiPorts(1, 0);
1212
host.addDeviceNameBasedDiscoveryPair(['A-Series Keyboard'], []);
1313

0 commit comments

Comments
 (0)