Commit f1b3aeaf authored by Alyx's avatar Alyx
Browse files

delay

parent 6a561ee5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -104,8 +104,11 @@ def playTrack(track_path, port):
    if Path(track_path).is_file():
        # reset the synth
        resetDevice(findAMIDIDevice(),"GS")
        time.sleep(.2)
        resetDevice(findAMIDIDevice(),"GM")
        time.sleep(.2)
        resetDevice(findAMIDIDevice(),"MUN")
        time.sleep(.2)
        print(fn_prefix + ": starting aplaymidi subprocess on file " + str(track_path))
        filenameclean=track_path.split("/")[-1]
        statusmsg = f"Playing: \n{filenameclean}\n\nPress > to Skip"