This is a bug when ‘Midi Through Port-0’ gets selected in the MIDI menu. Do you have any USB MIDI controller you can plug in? The easy way to fix this is to plug in a USB MIDI controller (e.g. keyboard or interface), and then select it from the MIDI device menu. You don’t have to keep the USB connected, just needs to have something other than ‘Midi Through Port-0’ selected. Alternatively you can remove the file ‘patch_loaded.sh’ which is located at the root level of the SD card (/sdcard) or USB drive if you are using one (/usbdrive).