aboutsummaryrefslogtreecommitdiffhomepage
path: root/desktop/sources/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/sources/scripts')
-rw-r--r--desktop/sources/scripts/clock.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/sources/scripts/clock.js b/desktop/sources/scripts/clock.js
index 1cc5efa..3a3e1e1 100644
--- a/desktop/sources/scripts/clock.js
+++ b/desktop/sources/scripts/clock.js
@@ -58,11 +58,11 @@ function Clock (client) {
this.play = function (msg = false, force = false) {
console.log('Clock', 'Play', msg, force)
- if (this.isPaused === false) { return }
+ if (this.isPaused === false && !force) { return }
this.isPaused = false
if (this.isPuppet === true) {
console.warn('Clock', 'External Midi control')
- if (!pulse.frame || force) { // no frames counted while paused or restard demanded (via MIDI clock PLAY)
+ if (!pulse.frame || force) { // no frames counted while paused or restard demanded (via MIDI clock START)
this.setFrame(0) // make sure frame aligns with pulse count for an accurate beat
pulse.frame = 0
pulse.count = 5 // by MIDI standard next pulse is the beat