python-sounddevice
python-sounddevice copied to clipboard
:sound: Play and Record Sound with Python :snake:
When I use this code, the audio sounds not smooth. I am trying recording and playing at the same time, but I found it worded bad on mac, but normal...
Under PulseAudio Volume Control, the output streams show up as "PipeWire ALSA [python3.11]". How can I change this name for each stream?
I'm trying to get the current audio level of the wav file thats playing using a callback function. When ran it results in, `sounddevice.PortAudioError: Can't write to a callback stream...
Hello, I'm currently using sounddevice to record audio from my speaker output using this code. ```python import sounddevice as REC from scipy.io import wavfile SAMPLE_RATE = 44100 SECONDS = 20...
Hi, I am using a RME Fireface Card with 18 In and Output ports. I there any chance to specify the Input Ports for recording ? Best, Christian
As the title mentions, importing sounddevice interrupts any currently playing audio streams momentarily on Windows when exclusive mode is enabled on the sound device. This issue seems to originate from...
Rendered: https://python-sounddevice--518.org.readthedocs.build/en/518/installation.html#custom-portaudio-library
I'm having a very strange problem, which I managed to reduce as much as possible like this: ```python import sounddevice import time class SamplerBox: def __init__(self): self.samples = {} def...
I'm not quite sure if that's the proper thing to do, but I hope it's not too disruptive compared to the previous behavior. This does *not* avoid the problem in...
The purpose of this pull request is to introduce a new feature to the `sounddevice` module's `wait()` function. This update adds an optional `timeout` parameter, allowing users to specify a...