Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Example request of dynamically resampling files and mixing them. #2203

Unanswered
level0dev asked this question in Q&A
Discussion options

I would love to see an example of dynamically resampling files and mixing them - maybe two mp3s, or if that is too tough for esp32, a wav and mp3.

I'm asking because even if I resample my files on PC, I still can't get them to mix properly. This is mainly due to me being a new to the world of microcontrollers and not really able to figure out the syntax from the included documentation (never used C before this project and documentation lacks the written explanation I'm used to).

The idea in pseudo-code:

file1
file2
get bit rate, sample rate and channel info from each file
find lower quality file
resample other file to lower quality file
mix two files together
play the mix

My end goal is to play 2 files (where at least one is an mp3) at the same time and when one finishes, let the other play without any interruptions (there's more to the project, I wrote a bit more about it in the intro to this discussion)

Maybe I'm asking too much out of ESP32, or (more likely) I'm thinking that this should be a much easier task than it is?

Any and all help welcome.

Thanks!

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /