Loading player_functions.py +3 −0 Original line number Diff line number Diff line Loading @@ -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" Loading Loading
player_functions.py +3 −0 Original line number Diff line number Diff line Loading @@ -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" Loading