-
Notifications
You must be signed in to change notification settings - Fork 689
torchaudio.load() with mp3 file floods the console #357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Can you provide steps to reproduce this, with a sample file (or say this one)? |
Not able to reproduce it with the file you provided, but I can reproduce it with this mp3: When loading from an offset:
Running the script produces unwanted console output:
This may not seem that bad, but if you're loading chunks of mp3 audio in a loop, it floods the console. The audio does seem to load fine though. If I save it to another output file, there are no glitches or anything. |
Something is misread with this audio file using sox. In particular, it is not being read properly in between 63000 and 64000.
We are discussing an option to change backend, see #355. |
Do you still experience the issue? With the latest torchaudio, I cannot reproduce the issue. |
Loading mp3 files with torchaudio.load() causes a lot of output in the console, eg:
I'm on ubuntu 18.04 and using torchaudio 0.3.1. I would like to know if there is a known fix to quiet the console logging. If not, such a fix should probably be implemented.
The text was updated successfully, but these errors were encountered: