clone45 / voxglitch

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

many of my previous .wav files are no longer working #60

Open DaBigBoy opened 4 years ago

DaBigBoy commented 4 years ago

I recently made a song using primarily vox glitch modules and when I downloaded the most recent update for the modules many of my .wav files will no longer open. I used the .wav files in other samples in VCV and they play with no issue. Some samples will load but the majority fail to load, I have even redownloaded but still face this issue.

clone45 commented 4 years ago

Hello! Could you check the sample rate of those .wav files? I recently replaced the c++ library responsible for loading the .wav files and may have noticed the same thing myself. The newer audio library supports up to 24 bit .wav files (8, 16 or 24-bit audio files). Let me know how it goes. If that's not the issue, could you email me one of your .wav files to test with?

If the C++ library is deficient, I'll either try to contribute to the repository to fix it or I'll have to switch (again!!) to a new library. I won't abandon you. :-)

DaBigBoy commented 4 years ago

I've looked through my .wavs and the ones I was using in the previous version of the vox glitch modules were higher than 24bit. Thanks for point out the new sample rate to me though so I know what to download my next samples at!!

On Fri, Jun 26, 2020, 4:12 PM Bret Truchan notifications@github.com wrote:

Hello! Could you check the sample rate of those .wav files? I recently replaced the c++ library responsible for loading the .wav files and may have noticed the same thing myself. The newer audio library supports up to 24 bit .wav files (8, 16 or 24-bit audio files). Let me know how it goes. If that's not the issue, could you email me one of your .wav files to test with?

If the C++ library is deficient, I'll either try to contribute to the repository to fix it or I'll have to switch (again!!) to a new library. I won't abandon you. :-)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/clone45/voxglitch/issues/60#issuecomment-650403660, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQC32VNAAHYN5II566OF55LRYUFKDANCNFSM4OJVBIXQ .

clone45 commented 4 years ago

You're very welcome! I've placed a request to author's github repo asking if higher bit rates could can be supported:

https://github.com/adamstark/AudioFile/issues/29

Thank you for being willing to work around it for now!

If you're using Windows, I highly recommend Wavosaur (https://www.wavosaur.com/) for converting file formats. It includes a batch processing tool that's really handy for converting a lot of files. (see: https://www.wavosaur.com/tutorials/how-to-batch-process.php)

Cheers, Bret

DaBigBoy commented 4 years ago

Here is a sample I used in the recording I made, it is 2304 kbps but won't play in the vox glitch modules.

On Fri, Jun 26, 2020 at 6:05 PM Bret Truchan notifications@github.com wrote:

You're very welcome! I'll add a request to the author's github repo asking if higher bit rates could could supported. Thank you for being willing to work around it for now!

If you're using Windows, I highly recommend Wavosaur ( https://www.wavosaur.com/) for converting file formats. It includes a batch processing tool that's really handy for converting a lot of files. (see: https://www.wavosaur.com/tutorials/how-to-batch-process.php)

Cheers, Bret

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/clone45/voxglitch/issues/60#issuecomment-650441908, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQC32VNQWOZDJIUNMSBRWLLRYUSTZANCNFSM4OJVBIXQ .

clone45 commented 4 years ago

The sample doesn't seem to have been attached to the message in Github. Could you please email it to me at clone45@gmail.com?

clone45 commented 4 years ago

Quick update to this ticket. The author of AudioFile.h fixed the inability to load samples like this one. Once he releases it, I'll make sure to publish a new build of my modules containing the bug fix.

BMuXBeats commented 4 months ago

The problem seems still existing. 😟 I've downloaded a free sample pack from GOLDBABY. Especially the "Blofeld Drums" pack. I've extracted the whole package in a folder and tried to load the fist file "BD_Blofeld_001.wav" int o the first slot of your amazing GROOVEBOX module. The file won't be played.

Concluding that the problem might have something to do with the bit rate, I converted the file to a 16-bit WAV file and saved it in a different folder. As soon as I load the 16-bit version into the GROOVEBOX, everything works fine.

I analyzed and compared the two files using the soxi tool under LINUX:

soxi ./Blofeld_Drums_Samples/BD_Blofeld_001.wav 

Input File     : './Blofeld_Drums_Samples/BD_Blofeld_001.wav'
Channels       : 1
Sample Rate    : 44100
Precision      : 24-bit
Duration       : 00:00:00.60 = 26510 samples = 45.085 CDDA sectors
File Size      : 82.7k
Bit Rate       : 1.10M
Sample Encoding: 24-bit Signed Integer PCM
soxi ./Blofeld_Drums_Samples/16-bit/BD_Blofeld_001.wav 

Input File     : './Blofeld_Drums_Samples/16-bit/BD_Blofeld_001.wav'
Channels       : 1
Sample Rate    : 44100
Precision      : 16-bit
Duration       : 00:00:00.60 = 26510 samples = 45.085 CDDA sectors
File Size      : 53.1k
Bit Rate       : 706k
Sample Encoding: 16-bit Signed Integer PCM

If you want, I can email both files to you.
clone45 commented 4 months ago

Sure, can you email the samples to me at clone45@gmail.com? I'll run some tests. I'm not current making updates to the code... I'm too busy at the moment, but do hope to return to it soon!