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()
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:

Loading…
Cancel
Save