*.wav produced using Audition is not loaded in python
Today, I have experienced that over 70 .wav files created using Audition under macOS 10.14.6 are not loaded in python. The code I have used is <paulstretchstereo.py> under <https://github.com/paulnasca/paulstretchpython>.
After converting those files by using RX7 or by using Audacity, python could load the files.
Why does it happen?
The following is the error message from python:
stretch amount = 8.04
window size = 0.25 seconds
/Users/prko/opt/anaconda3/lib/python3.7/site-packages/scipy/io/wavfile.py:273: WavFileWarning: Chunk (non-data) not understood, skipping it.
Error loading wav: shortpercussivelikeJG3GA.wav
Traceback (most recent call last):
File "/Users/prko/paulstretchpython/paulstretch_stereo.py", line 149, in <module>
TypeError: cannot unpack non-iterable NoneType object
Paul's Extreme Sound Stretch (Paulstretch) - Python version 20141220
by Nasca Octavian PAUL, Targu Mures, Romania
I am not sure if it is a bug or not, but it is very strange....
Thank you in advance for your work.
C Van Winkle commented
You should be able to save the file through one of our other plug-ins which supports WAV. I haven't tried the python script yet, but there's actually a few different flavors of WAV files.
Attached is a screenshot showing how to save as "Waveform Audio" as part of the libsndfile plug-in (aka AmioLSF). It would be easiest to further diagnose if you sent a URL to one of your failing files to firstname.lastname@example.org (please also reference this post). This way we can debug this with the specific file you're using.