Open ghost opened 4 years ago
hi, I just had the same issue and I solved by installing the mp3 support for SoX.
sudo apt install lib sox-fmt-all
hope it works for you!
hi, I just had the same issue and I solved by installing the mp3 support for SoX.
sudo apt install lib sox-fmt-all
hope it works for you!
i think you meant
sudo apt install libsox-fmt-all
I'm also having this issue, and I'm working with only .wav files.
I'm also having this issue on colab after installing sox and libsox-fmt-all
My code is this:
`import os from pysndfx import AudioEffectsChain
inp = "/voiceit/flask/laughter.aac" out = "/voiceit/flask/reverse.mp3"
fx = ( AudioEffectsChain() .highshelf() .reverb() .phaser() .delay() .lowshelf() )
fx(inp,out)`
The output in terminal is
Traceback (most recent call last): File "audiop.py", line 16, in <module> fx(inp,out) File "C:\Users\acer\AppData\Local\Programs\Python\Python37\lib\site-packages\pysndfx\dsp.py", line 368, in __call__ infile = FilePathInput(src) File "C:\Users\acer\AppData\Local\Programs\Python\Python37\lib\site-packages\pysndfx\sndfiles.py", line 32, in __init__ self.channels = int(stdout) ValueError: invalid literal for int() with base 10: b''