Unwanted playback speed change #1751
-
Problem DescriptionThis sketch records into the SPIFF from an i2s microphone and plays back what was recorded. Then it plays back a text from TTS Device DescriptionXIAO ESP32-S3 - INMP441 - MAX98357 Sketch
Other Steps to ReproduceNo response What is your development environmentArduino IDE I have checked existing issues, discussions and online documentation
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Please use issues only to report bugs in my software and not the bugs that you produce in your sketch. As an alternative you can standardize the sample rate across all your data sources by up or downsampling. |
Beta Was this translation helpful? Give feedback.
-
Thanks Phil ! I really appreciate your work, it's amazing |
Beta Was this translation helpful? Give feedback.
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.