Browse Source

workaround for playback issues: stop playback and seek to 0 on program start

master
Nils 6 years ago
parent
commit
d83217cfe6
  1. 6
      engine/api.py

6
engine/api.py

@ -174,6 +174,8 @@ def startEngine(nsmClient):
session.data.buildAllTracks() session.data.buildAllTracks()
updatePlayback() updatePlayback()
cbox.Transport.stop()
seek(0)
def toggleLoop(): def toggleLoop():
@ -208,10 +210,6 @@ def seek(value):
toggleLoop() toggleLoop()
cbox.Transport.seek_ppqn(value) cbox.Transport.seek_ppqn(value)
def toStart():
seek(0)
##Score ##Score
def set_quarterNotesPerMinute(value): def set_quarterNotesPerMinute(value):
if value is None: if value is None:

Loading…
Cancel
Save