-
Notifications
You must be signed in to change notification settings - Fork 74
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
PCM playback sped up #60
Comments
Can confirm this on 0.8.4 as well with similar hardware. |
Third-ed on 0.8.4 for a PreSonus Audiobox soundcard. Sounds fine on system speakers. |
i have raspberry pi zero W, |
I'll just leave this here, may work or not, (it did on my machine) |
Same on RPi 4B w/ Ubuntu 20.10 64bit. @ShellAddicted using Ping @larsimmisch perhaps? Seems this issue has been around since 2018 is still present. Library installed from |
is this reproducible with v0.9, using the new method to parameterize the pcm object? |
hmm, the plughw hint should have worked if applied correctly, because the most likely reason for the failure is that alsa chose different stream parameters than requested, due to hardware limitations. that shouldn't happen with plughw. this hypothesis can be verified by calling out.dumpinfo(). alternatively, this might have been fixed along with #63, hence my question above. so i'm closing this as "need more info". |
`
This is a great project! Though I have an issue with the play back speed. I have been searching for an answer for a couple weeks now and I haven't found anything yet.
I am using a slightly modified version of the recordtest.py example from the main github page:
and I am also using a modified version of the playbacktest.py examples which looks like:
When I run the recordtest.py, it seems to work fine and I am able to hear the recording with:
But when I try using playbacktest.py file, it plays the sound very fast. I have tried changing the rate, periodsize and buffer size and none of those change the speed at which the file is being played. I have also tried saving the recording into a wave file then playing it using the playwav.py example and it is still sped up.
I am using a raspberry pi 3 with a usb sound card hooked up to the usb port. Thanks for the help!
`
The text was updated successfully, but these errors were encountered: