Skip to content
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

Some MP3 files are played back with chirping #33

Closed
MLanghof opened this issue May 11, 2019 · 1 comment
Closed

Some MP3 files are played back with chirping #33

MLanghof opened this issue May 11, 2019 · 1 comment
Labels
wontfix This will not be worked on

Comments

@MLanghof
Copy link

MLanghof commented May 11, 2019

If I play back the following file as SoundFile (after unzipping of course) I get unacceptable chirping:

chirp.zip

It's a low bitrate file that uses variable bitrate encoding and the bit reservoir feature of the MP3 standard (storing encoded data in preceding frames if those had space left). The chirping is exclusive to the sound library, e.g. Windows Media Player or VLC do not have it.

On the other hand, this file plays back without any audible chirping:

noChirp.zip

This one also uses variable bitrates and bit reserviors.

Here are two more files (constant bitrate but using bit reservoirs) that have chirping:

moreChirp.zip

I have been unable to find an MP3 file that uses constant bitrate, no reservoirs and has chirping (made harder by being unable to open most of my files) but I could not nail it down on any one aspect of the MP3 headers. Maybe it's just coincidence that those always worked. Maybe the issue is also related to #32 as the decoding process itself seems to be fragile already, although I don't really see how that would be possible.

@kevinstadler kevinstadler added the wontfix This will not be worked on label Jun 19, 2019
@kevinstadler
Copy link
Collaborator

kevinstadler commented Jun 19, 2019

This is an issue of our MP3 decoder dependency that will probably not get fixed. Since MP3 is a proprietary format and licensing is an issue for open source projects we generally don't recommend using it. For maximum compatibility we suggest storing your audio files as a raw WAV instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants