Loading player_functions.py +2 −2 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ threading.Thread(target=stoplisten).start() # The resetDevice function sends a GM or GS reset sysex command to the synthesizer. def updateDisplay(message): morbital.clearDisplay(display) display.write(b"========ROLAND RA30========") display.write(b"====SYNTHESIZER CONTROL====") display.write(b"\n") display.write(b"\n") display.write(message) Loading Loading @@ -87,7 +87,7 @@ def playTrack(track_path, port): resetDevice(findAMIDIDevice()) 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\nMastodon: @alyx@frogs.lgbt" statusmsg = f"Playing: \n{filenameclean}\n\nPress > to Skip" updateDisplay(str.encode(statusmsg)) morbital.setDeviceLED(display, 0, 1) # Start the aplaymidi subprocess Loading Loading
player_functions.py +2 −2 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ threading.Thread(target=stoplisten).start() # The resetDevice function sends a GM or GS reset sysex command to the synthesizer. def updateDisplay(message): morbital.clearDisplay(display) display.write(b"========ROLAND RA30========") display.write(b"====SYNTHESIZER CONTROL====") display.write(b"\n") display.write(b"\n") display.write(message) Loading Loading @@ -87,7 +87,7 @@ def playTrack(track_path, port): resetDevice(findAMIDIDevice()) 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\nMastodon: @alyx@frogs.lgbt" statusmsg = f"Playing: \n{filenameclean}\n\nPress > to Skip" updateDisplay(str.encode(statusmsg)) morbital.setDeviceLED(display, 0, 1) # Start the aplaymidi subprocess Loading