You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Record the wav file using arecord or https://github.com/respeaker/mic_hat/blob/master/recording_examples/record.py
Play the audio using aplay or https://github.com/respeaker/mic_hat/blob/master/recording_examples/play.py
The output through 3.5mm Audio Jack headphone sounds slower than it should be (1.5x slower)
I also export the wav file to my laptop and play it, it sounds normal
Expected behavior
The playback speed from the 3.5mm Audio Jack should be the same as the input audio file, but in fact it has been slowdown.
A side note: when I manually specify the sample rate to 22050Hz in the play.py file, and play a wav file of 16000Hz sample rate. The result sounds better than using the same sample rate (16000Hz).
Platform
Device: Raspberry Pi CM4 + Official CM4 IO Board+ ReSpeaker 2-Mics Pi HAT
Describe the bug
To Reproduce
Steps to reproduce the behavior:
arecord
orhttps://github.com/respeaker/mic_hat/blob/master/recording_examples/record.py
aplay
orhttps://github.com/respeaker/mic_hat/blob/master/recording_examples/play.py
Expected behavior
The playback speed from the 3.5mm Audio Jack should be the same as the input audio file, but in fact it has been slowdown.
A side note: when I manually specify the sample rate to 22050Hz in the
play.py
file, and play a wav file of 16000Hz sample rate. The result sounds better than using the same sample rate (16000Hz).Platform
Relevant log output
No response
The text was updated successfully, but these errors were encountered: