python-sounddevice
python-sounddevice copied to clipboard
:sound: Play and Record Sound with Python :snake:
Hi, I am currently using SoundDevice to record with a callback. I am trying to do real-time detection to the sound recording. My question is, does SoundDevice keeps recording while...
There is no exception our backtrace in the output, just the standard window dialog pop-up "python.exe has stopped working". I've narrowed it down to sounddevice.py:2731 `stdio = _ffi.dlopen(None)` I tried...
sounddevice.PortAudioError: Error opening InputStream: Internal PortAudio error [PaErrorCode -9986]
**_**_my code is :_**_** import sounddevice as sd from scipy.io.wavfile import write fs=44100 seconds=5 myrecording=sd.rec(int(seconds*fs), samplerate=fs,channels=1) sd.wait() write('output.wav',fs,myrecording) **_and i am getting this error_** File "/Users/i543481/internship-project/lastTry.py", line 7, in myrecording=sd.rec(int(seconds*fs),...
Hi I have 3 input devices like so in my asound.conf I have worked out how to do a singular callback but puzzled how to do three. Do you aggregate...
Hi, I am on macOS Mojave and trying to type-specific moments. In my application that I am developing, I need to store the times after a specific action/function is triggered...
I have been trying to apply the arbitrary recording length example, but it appears as if the sounddevice.InputStream and soundfile.SoundFile are not fully cooperating with each other, or at least...
When I run sd.play in a flask app or ipython terminal, I get some sonic artifacts when there is additional load on Python. Have you tried running SD in multiprocessing,...
I get the follow errer when I run sounddevice. Could anybody show me how to make it work? My OS is Mac OS X 10.15.6. ``` $ cat main.py #!/usr/bin/env...
Hello, I've tested to implement sounddevice in order to do speech to text on a raspberry pi. Unfortunately I've some issues. With my work headset in 16KHz everything is working...
I get the follow errer when I run sounddevice. Could anybody show me how to make it work? My OS is Mac OS X 10.15.6. ``` $ cat main.py #!/usr/bin/env...