aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDevine Lu Linvega <[email protected]>2019-04-17 12:41:15 +0900
committerDevine Lu Linvega <[email protected]>2019-04-17 12:41:15 +0900
commitc626fa811617ec55cb5c70b8808ac189681c6d3e (patch)
tree53c97092c234e34d2cffc380a81aa85b3217a010
parent0e3cff87dcc7e346490666cb395229020b1a1684 (diff)
downloadOrca-c626fa811617ec55cb5c70b8808ac189681c6d3e.tar.gz
Orca-c626fa811617ec55cb5c70b8808ac189681c6d3e.zip
Start/stop from midi clock
-rw-r--r--desktop/core/io/midi.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/core/io/midi.js b/desktop/core/io/midi.js
index a9f3608..5e815c9 100644
--- a/desktop/core/io/midi.js
+++ b/desktop/core/io/midi.js
@@ -123,9 +123,11 @@ function Midi (terminal) {
break
case 0xFA:
console.log('Midi', 'Clock start.')
+ terminal.clock.play()
break
case 0xFC:
console.log('Midi', 'Clock stop.')
+ terminal.clock.stop()
break
}
}