clone45 / voxglitch

Modules for VCV Rack
GNU General Public License v3.0
98 stars 16 forks source link

Autobreak Studio not detecting ".WAV" files, only ".wav" (lowercase) #199

Closed brylie closed 1 year ago

brylie commented 1 year ago

My Zoom audio recorder stores files with the ".WAV" extension in all capital letters. When loading samples into Autobreak Studio, I have to rename the file to end with ".wav" (lowercase) for the audio files to appear in the file browser. It would be more convenient if Autobreak Studio included ".WAV" files in the file browser results.

clone45 commented 1 year ago

Hi @brylie! That's unusual! I wrote code to specifically accept .WAV and .wav files. Would it be possible to send me one of your files so I can test it on my machine? I was able to load .WAV files so far, but maybe there's something special about your files?

image

brylie commented 1 year ago

Sure, here is one of the wav files compressed as a zip file so I can attach it to this message. ZOOM0009.zip

clone45 commented 1 year ago

Thanks! I'm not having any difficultly loading it directly myself. The audio is just a short sample, so it doesn't sound exciting, but it does seem to load OK for me. I made a video showing the steps I took. Are you using Windows or Mac? I wonder if you might be using an older version of the Voxglitch modules that may have not worked properly? Let me know! :-)

https://youtu.be/tQ-q8vWyzB0

brylie commented 1 year ago

I'm using Linux with the KDE desktop. It could be that Linux/KDE uses stricter file extension filters.

I wonder if there is another VCV Rack module that uses osdialogue_filters_parse for cross-platform, case-insensitive file extensions that could serve as a reference solution.

clone45 commented 1 year ago

I'll dig in and find out!

clone45 commented 1 year ago

Here's my posting on the forum. Hopefully someone will have seen this before: https://community.vcvrack.com/t/osdialog-filters-parse-and-linux-kde/18743

brylie commented 1 year ago

Ah, good idea to post on the forum💡. Thanks 🙂

clone45 commented 1 year ago

Hi @brylie,

Some of the forum users were able to confirm that the WAV files aren't showing up with linux/kde. Unfortunately, this doesn't seem like something that I have the ability to fix. However, forum members suggest that once the file selection dialog opens, to enter "wav" for search criteria, and that should cause all of the wav files to appear. Hopefully this is a good work around for you!

Cheers, Bret

brylie commented 1 year ago

Yep, thanks for pointing me in the right direction 🙂

clone45 commented 1 year ago

My pleasure! Sorry that I couldn't be more helpful!