From d83217cfe68acf00a7cb7451de65ea2b8abd5cc0 Mon Sep 17 00:00:00 2001 From: Nils <> Date: Wed, 2 Jan 2019 13:27:09 +0100 Subject: [PATCH] workaround for playback issues: stop playback and seek to 0 on program start --- engine/api.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/engine/api.py b/engine/api.py index 7f81a8a..da5acfd 100644 --- a/engine/api.py +++ b/engine/api.py @@ -174,6 +174,8 @@ def startEngine(nsmClient): session.data.buildAllTracks() updatePlayback() + cbox.Transport.stop() + seek(0) def toggleLoop(): @@ -208,10 +210,6 @@ def seek(value): toggleLoop() cbox.Transport.seek_ppqn(value) -def toStart(): - seek(0) - - ##Score def set_quarterNotesPerMinute(value): if value is None: