python-sounddevice
python-sounddevice copied to clipboard
:sound: Play and Record Sound with Python :snake:
I have some code running on a mac which is taking the microphone data from a bluetooth microphone to do voice commands, after which a response plays back on the...
For an embedded computer, I'd like to start a program using sound (Python + sounddevice) **as fast as possible after Linux boot**. I tested various `systemd` configs, the best is:...
This is an experiment to find out if switching to API mode is feasible. It probably only makes sense if all of those items are fulfilled: * [x] works on...
Even with soundfile and libsndfile1 installed, I get "TypeError: buffer_read() got an unexpected keyword argument 'ctype'" when I try to run it. Even if I try soundfile samples, they fail...
using query devices I'm not able to get the full device name.. it is shortening it and cutting off valuable information, although this appears to be for the MME entries...
sounddevice.PortAudioError: Error opening Stream: Device unavailable [PaErrorCode -9985] This is my Windows machine with X86 and windows 10 python client.py client started _________________________________________________________________________________ Traceback (most recent call last): File "client.py",...
When trying to record, I use the line ```python myrecording = sd.rec(duration * fs, samplerate=fs, channels=2,dtype='float64') ``` This leads to ``` > Traceback (most recent call last): File "sd_test.py", line...
This works fine ```python3 def play(): import sounddevice as sd sd.rec(1024) play() ``` However, when I move it into a different process, ```python3 from multiprocessing import Process def play(): import...
When attempting to run sample code from (https://python-sounddevice.readthedocs.io/en/0.3.7/_downloads/play_file.py) on a macOS Big Sur (clean venv based on py3.7), I am getting the following: ||PaMacCore (AUHAL)|| Error on line 1316: err='-66748',...
Enviroment: Raspberry Pi OS 64 bit Sounddevice version: 1246720 PortAudio V19.6.0-devel, (0.4.4) Python verison: 3.9.2 Platform: Raspberry Pi 4B with IQ audioCodec Zero HAT(Can record and play audio) Im having...