Skip to content

MP3: skip id3v2 tags, make "bartlebeats" tracks playable #2384

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

Merged
merged 3 commits into from
Dec 16, 2019

Conversation

jepler
Copy link

@jepler jepler commented Dec 13, 2019

This set of fixes makes "bartlebeats - Frequency" in "MP3 v0" format play on my pygamer.

It also fixes a problem with the sample "reset" method that went unnoticed when converted to protocols.

@jepler jepler requested a review from tannewt December 13, 2019 22:23
@jepler
Copy link
Author

jepler commented Dec 13, 2019

@ladyada I think if you grab the artifact from this build you can play those MP3s you tried yesterday

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple questions. Good otherwise.

In conversion I missed these arguments were being passed, but noticed
it when an implausible value for audio_channel was sent to mp3's
reset_buffer method.

It's not clear whether there was any negative impact to this, but it
should be fixed!
This was one reason that the "bartlebeats" mp3s would not play.
Apparently sometimes, a proper "frame info" block is not found after
a "sync word".  Keep looking for one as needed, instead of giving up
after one try.

This was one reason that the "bartlebeats" mp3s would not play.
@ladyada
Copy link
Member

ladyada commented Dec 14, 2019

tested and yes now works nicely with the modern id3 tags :)

Copy link
Member

@ladyada ladyada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested artifact, not stylistic approval

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thank you!

@tannewt tannewt merged commit 8384e46 into adafruit:master Dec 16, 2019
@jepler jepler deleted the mp3-fixes branch November 3, 2021 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants