python-sounddevice
python-sounddevice copied to clipboard
:sound: Play and Record Sound with Python :snake:
I am using ubuntu 18.04 with jetson tx2 when I use these code snippter on my python program ``` import numpy as np import sounddevice as sd fs = 22050...
After running a few times in to `sounddevice.PortAudioError: Error opening InputStream: Invalid number of channels [PaErrorCode -9998]` I noticed sounddevice reports the wrong number of inputs in some cases. It...
Hi, I grabbed your wire.py example and made a small change where during the callback I am running some code. ``` def callback(indata, outdata, frames, time, status): if status: print(status)...
Hi, I have a simple application playing a stream (see code below). That works well when I use my laptop's speakers but when I switch to a bluetooth headset, the...
Hi, I am trying to reproduce "play a web stream" example from [here](https://python-sounddevice.readthedocs.io/en/0.4.1/examples.html#play-a-web-stream). I am using the stream URL that is suggested in the documentation of `python-sounddevice`, which is [http://icecast.spc.org:8000/longplayer](http://icecast.spc.org:8000/longplayer)....
I am running Microsoft Windows 10 Enterprise 10.0.18363 Build 18363. If I don't manually give microphone permission in Windows settings, sounddevice crashes with an error from PortAudio with a confusing...
I create a InputStream with a callback function to get audio data like this example: [example](https://python-sounddevice.readthedocs.io/en/0.3.13/examples.html#plot-microphone-signal-s-in-real-time). But I found that the number of handles was increasing through the windows task...
Hi, just wondering if sounddevice can be used in order to record outputs from other applications.
Use case: two devices with m and n channels (in and/or out). I want to use the channels of both (m+n) to output and/or record. Is this possible? The real...
i set Headphones as the input device and received that error How can i set my headphones as device to record and then play the data from it to my...