Commit 12b102d1 authored by Alyx's avatar Alyx
Browse files

Update player_functions.py

parent 9ded383d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -56,6 +56,9 @@ def playTrack(track_path,port):
        # reset the synth
        resetDevice(findAMIDIDevice())
        print(fn_prefix+": starting aplaymidi subprocess on file "+str(track_path))
        statusmsg=f"Playing: \n{track_path}"
        updateDisplay(str.encode(statusmsg))

        # Start the aplaymidi subprocess
        proc = subprocess.Popen(['aplaymidi', '--port', port, track_path],
                                stdout=subprocess.PIPE,