nimaid / binary-waterfall

A Raw Data Media Player
GNU General Public License v3.0
86 stars 3 forks source link

Audio Export error: [WinError 2] The system cannot find the file specified #7

Open Fighterbuilder opened 6 months ago

Fighterbuilder commented 6 months ago

Hello, I was playing around with Binary Waterfall today and came across some cool sounds I want to sample. However, I am unable to export any audio no matter what file I open or where the file is, as it gives me the following error and outputs an empty MP3 file: "An error occurred while exporting the audio: [WinError 2] The system cannot find the file specified"

I have a folder on my desktop that the BW application and my exported files are located called "BinaryWaterfall".

I can thankfully work around this by recording Stereo Mix in Audacity, but it's not ideal.

nimaid commented 6 months ago

Hey, thanks for letting me know about this, I'll look into it.

Can you please try to save as a .wav file instead and tell me if that works? It would help me with debugging the issue, thank you!

Fighterbuilder commented 5 months ago

Sorry for the late reply! I didn't get an email notification for some reason. Anyway, I tried saving it as a .wav file and it worked!

nimaid commented 5 months ago

Thank you! I'll try and debug this when I get the time!

Also, could you tell me if you use the .exe release or if you run the python script directly?

Technical notes: I suspect this error is caused because ffmpeg isn't installed on your machine. I was hoping the library I use to convert .wav files into other formats would be smart enough to use one of the two ffmpeg distributions already included with other packages, but I suspect it wants me to include it explicitly a third time. That would probably make the .exe file bigger, and would make it take longer to load when started, but sadly I think it may be the only way to fix this issue permanently.