Skip to content

Unwanted playback speed change #1751

Closed Answered by pschatzmann
leonardojc asked this question in Q&A
Discussion options

You must be logged in to vote

Please use issues only to report bugs in my software and not the bugs that you produce in your sketch.
If you change the data source, you need to manage the sample rate with the help of getAudioInfo() and setAudioInfo().
Make sure that you call setAudioInfo() on i2s with the rate and number of channels that you are using.

As an alternative you can standardize the sample rate across all your data sources by up or downsampling.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by pschatzmann
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1750 on October 24, 2024 00:18.