Skip to content

Commit

Permalink
removes clock send from script for bws 2 and comments out auto-detect…
Browse files Browse the repository at this point in the history
… for controller setup since it prevents the script from loading
  • Loading branch information
benschmaus committed Apr 17, 2017
1 parent 8b1a2a8 commit 6543c6b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Factotumo/BeatstepPro/BeatstepPro.control.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
loadAPI(1);

host.defineController("Factotumo", "Arturia BSP", "1.0", "8fbd683a-773d-4815-9959-7073da138a19");
host.addDeviceNameBasedDiscoveryPair(["Arturia BeatStep Pro"], ["Arturia BeatStep Pro"]);
host.defineController("Factotumo", "Arturia BSP", "2.0", "9694E601-0A0E-4535-8A7A-2F935A1BB285");
//host.addDeviceNameBasedDiscoveryPair(["Arturia BeatStep Pro","Arturia BeatStep Pro Arturia BeatStepPro"],["Arturia BeatStep Pro","Arturia BeatStep Pro Arturia BeatStepPro"]);
host.defineMidiPorts(1, 1);


var bsp = {
encoderCCs: [10,74,71,76,77,93,73,75,114,18,19,16,17,91,79,72]
};
Expand All @@ -17,7 +16,6 @@ var bitwig = {

function init() {
var mo = host.getMidiOutPort(0);
mo.setShouldSendMidiBeatClock(true);

var mi = host.getMidiInPort(0);
mi.setMidiCallback(onMidi);
Expand All @@ -41,7 +39,7 @@ function init() {
bitwig.cursorTrack = host.createArrangerCursorTrack(8, 8);
bitwig.cursorDevice = host.createEditorCursorDevice();
bitwig.deviceBrowser = bitwig.cursorDevice.createDeviceBrowser(8,8);

println("done init");
}

Expand Down

0 comments on commit 6543c6b

Please sign in to comment.