MIDI Recording to USB storage not working in ORAM

I have a Zynthian V5 upgraded to V5.1. Love it, but I can’t get MIDI recording to work on USB. I just upgraded to oram-2502.1.

I am trying to use USB mass storage for MIDI recording per comments in the user guide cautioning SD card corruption. I assume this is really only an issue with the far larger files in Audio recording, but I thought I’d heed the warning anyway.

Here is my setup and what I see on the terminal/screen:

  1. From the Terminal I can see that my V5.1 properly mounts my Verbatim 32GB USB flash drive at /media/root/DESK_ZYNTH. I used FAT32 as I do not have a VFAT device, but since the mount worked correctly I would be surprised if file foramt is the issue here.
  2. Audio recording to USB works fine. If I record a file, I see it on USB (from the terminal).
  3. When I go to the MIDI recording screen I see “USB>DESK_ZYNTH MIDI Tracks” present. However, the SD files on BOTH SD Internal and USB, but the files actually only exist on SD. There are no MIDI files on the USB device (also verified from Terminal).
  4. If I try to play any one of the MIDI files from the V5.1 screen from either USB or SD, it plays the file and highlights playing for BOTH entries under SD Internal and USB.

There are two issues that make USB MIDI-recording inoperative AND block SD recording when a USB device is inserted:
Issue #1: Erroneous replication of the filenames per 2 above.
Issue #2: If I try to start another MIDI recording with the USB device inserted, the recording operation appears to complete successfully but no file is created on EITHER SD or USB.

If I remove the USB device and reboot, MIDI recording to SD works properly again.

Please let me know if USB MIDI-Recording is supposed to work. If not, I’m fine with SD only, but Issue #2 is likely a problem for those using both Audio and MIDI recording. I am not using Zynthian for audio processing so this doesn’t necessarily block my use cases.

Thank you

Hi @scottarush ,

Same here, I opened an issue:

MIDI is not being recorded when using USB stick

Kind regards,

Hans.

I added ticket #1417 to track the duplicate entries which I quickly resolved in testing (vangelis). I can’t reproduce the failed recording to external storage but please test with vangelis to see if either / both issues are resolved.

…and it is resolved. The problem was specific to VFAT file system which does not support colons. Windows prohibits use of colons in filenames when creating new files but accepts them in exiting filenames but VFAT specifically prohibits use. I have removed prohibited characters from filenames for all filesystems, not just VFAT because we want consistent naming.

I also added a display of the filesystem to webconf dashboard which will assist with fault finding as this will get added to the issue report.

All these fixes are in testing (vangelis).

5 Likes

Thank you @riban. Just verified on Vangelis with a 32GB Verbatim USB flash drive. MIDI files automatically saved separate from internal SD.

1 Like