python-sounddevice
python-sounddevice copied to clipboard
:sound: Play and Record Sound with Python :snake:
I am trying to measure the impulse response of my laptop's loudspeaker using sounddevice. I want to use my own laptop's speaker as the output device, and an external microphone...
Traceback (most recent call last): File "c:\Users\csonusmahae\Downloads\proctoring-main\src\audio.py", line 1, in import sounddevice as sd ModuleNotFoundError: No module named 'sounddevice' help me to resolve this issue ?
Basically, I'm trying to record the input stream and export that to 1 of. My code below, I would really appreciate your input, hence I have no idea for a...
The first version of this code was based on pvrecoder but then errors began to occur and connected sounddevice and the code stopped responding. Doesn't throw any errors. Help me...
I was having trouble locating the portaudio library inside an alpine docker container. It appears that this is because `ctypes.util.find_library` has trouble finding libraries in some cases. The workaround is...
how can I stop keyboard.Listener from grabbing all keyboard input even when it doesn't hold focus?
I'm running the listener like this: `with keyboard.Listener(on_press=on_press, on_release=on_release, suppress=True) as listener:` but it grabs all keyboard input, blocking out other apps, until the with block ends. 'I'm doing a...
Hi, I am able to use sounddevice to play sound but the samples I acquire are all zero in amplitude. I have shown that I can play sound by running...
Hi, How to use 2 devices at the same time with `sounddevice`? I'd like to use device #1 for output, and device #2 for input, both with their callback. What...
I use this example of "Input to Output Pass-Through": [wire.py](https://github.com/spatialaudio/python-sounddevice/blob/master/examples/wire.py) But when blocksize is **8*4096** (around **0.7 seconds** with samplerate = **44.1 kHz**) I hear echo for every sound. Is...
I'm playing back a continuous sine at 250 Hz and occasionally I get a glitch in the middle of the tone. I always get a glitch at the start and...