python-sounddevice
python-sounddevice copied to clipboard
:sound: Play and Record Sound with Python :snake:
Is it possible to stream a mono input to a stereo output using this tool? If so, how would I do that? Thanks. when running $ python -m sounddevice on...
Mixed in reverb, and the sound suddenly big and small, sometimes there will be swallow word ```python import sounddevice as sd import time import numpy as np import soundfile Stream...
I am trying to write/use your code to make a recording that terminates when either 1) there is a keyboard press, or 2) there is a (configurable) number of seconds...
I am using several USB audio interfaces through a USB hub, but every time I turn on or re-plug it, it seems like the device Ids and their order changes....
Is there a method to list asound.conf pcms? ``` pcm.donglein { type=plug slave = { pcm "plughw:3,0" channels 1 rate 4800} } ``` It will list everything else but the...
Hi all, I've been using a small GUI application written in python 3 and kivy that uses sounddevice to record and analyze audio. This works well on my Linux mint...
using the example code "play a web stream", I am trying to press a button to change the URL to use, however, the current stream does not stop or does...
Hi, I can run the python code directly no problem from python. C++ compiled code run from Terminal (macos) Unix file also works. I am having some trouble when double...
Problem when using a callback When I call the `sd.play(data, fs, device = 16, blocksize=80)` inline or outside of a loop it plays the sound back OK. This is on...
good day,my bro! i just want to playback some audios and meet some probles,to be specific,could you tell us the usage of sounddevic.play(,,mapping=), especially the "mapping=". thanks a lot!