python-sounddevice
python-sounddevice copied to clipboard
:sound: Play and Record Sound with Python :snake:
I have the following issue: I am creating a thread that is dedicated to record and post process my audio. In my main program I am streaming the real time...
I connect with a fireface sound card. The example using Inputstream object has no mapping as input parameter?
I am trying to use the `Input Output Pass Through` example with my Focusrite but I don't hear anything at all. The code for `recording` (including `waveform`) works and so...
_(I originally posted this on [stackoverflow](https://stackoverflow.com/questions/68821127/debugging-a-python-sounddevice-crash-when-no-exception-is-thrown), but reposting here since I think it's something inside sounddevice crashing)_ I've managed to somehow cause a hard crash of my python script with...
If I try to read the audio stream from microphone using `sd.InputStream` when another audio is being played in the machine, it records input from both mic and speaker. Therefore,...
To write the code in an OOP style, I had a problem to inject a queue into the callback. I did this with a closure with success. But the success...
Hi there, I'm using the following code to record audio from 2 different devices: ```python import sys from os.path import join from queue import Queue from threading import Thread import...
Please add a new example to the "Example programs" Example name: Open and run stream with two channels on different devices Description: Open a stream with two channels. Play each...
Hello all. I am trying to listen to some numpy arrays generated from a neural net, and even following the steps of the recommended installation I always get the same...
**Hello, I am using a sounddevice.Stream with a callback function and want to change the "frames". I can't seem to find a way to do this. When, in the line...