177 questions
1
vote
0
answers
58
views
Sounddevice plays loud noice instead of speech
I'm trying to make a script that would take some text and turn it into a speech using edge-tts and then stream it using sounddevice, so that playing audio begins right after edge-tts finished it's job....
0
votes
0
answers
133
views
Input audio from microphone not collected when audio is reproduced
I'm developing a simple real-time voice bot using the OpenAI real-time API, specifically integrating with Semantic Kernel. The code is written in an async manner, and it initially works well. However, ...
1
vote
0
answers
94
views
How to reduce delay between measured start and end time of a sound signal played using sounddevice
I have a simple sine signal of duration 100 ms that I play on my speakers using the sounddevice library. I am trying to measure the exact time point a sound signal started and ended being played. ...
0
votes
0
answers
43
views
What frame rate to expect using Python sounddevice.InputStream on macbook?
I record audio on a macbook using this code:
def callback(indata, frame_count, time_info, status):
if status:
print('Error:', status)
frames.append(indata.copy())
...
0
votes
0
answers
362
views
How do I import sounddevice in python?
import sounddevice as sd
I god the following error:
PS C:\Users\Karlerdo> & "C:/Program Files/Python313/python.exe" c:/Users/Karlerdo/Desktop/voicereqpy.py
Traceback (most recent ...
1
vote
0
answers
112
views
Problem with a simple script in which the Librosa Python library does not work well for me
I have a problem with the script that I detail below;
My intention is to automate a click the moment an alarm sounds on my PC.
I have used the 'Sounddevice', 'Librosa', and 'PyAutoGui' libraries, in ...
0
votes
0
answers
48
views
I need to automate a process on the PC when a specefic sound plays on it
I would like to know if it is possible to automate a simple click to stop sending automatic emails. For example; If I am using the 'Playstatic' program (it is an application to perform loop processes ...
1
vote
0
answers
307
views
How to calculate the dBFS level using python sounddevice
I'm trying to get a decibel reading from an audio stream using the sounddevice library.
More specifically, I want to display the current level in a DAW like fashion.
According to this, most DAWs ...
0
votes
1
answer
130
views
Sounddevice in python, time vector of input and output signal synchronized
In Python, with sounddevice, I am trying to simultaneously play on an output and record on an input, then to plot the signals on top of each other in a way to represent what is happening in the real ...
0
votes
0
answers
413
views
Python Sounddevice / sound is played way to fast over the speaker
i'm trying to stream or play data with python with the module sounddevice.
However when it is streaming or playing over my speakers it is way to fast to understand anything.
when i'm playing the wav ...
1
vote
0
answers
118
views
Sounddevice simultaneous audio playback auto gain problem
I'm using a Raspberry Pi along with a HiFiBerry DAC + ADC PRO to generate and transmit white noise, and then I'm capturing and reading it back in using a loopback configuration. I use the Sounddevice ...
0
votes
1
answer
283
views
Removing Click and Pop sounds in Python
I'm currently making a DSP project with Python, which is equalizing in 10 bands with knob UI made by tkinter. This is my Audio Processing Logic with using RFFT and IRFFT, and streaming with ...
0
votes
1
answer
44
views
Python Qt5 Running two methods simultaneously
I have a Qt timer that I want to count down while I record (using the sound device package), I'll attach what I have below (I know it is very far off from anything correct). I've been reading up on ...
0
votes
1
answer
196
views
Python Sound Device Recording
I am trying to create a .wav file by recording from a USB microphone connected to my computer. I am trying to accomplish this using Python. I keep seeing the following example (or something similar) ...
0
votes
0
answers
429
views
python sounddevice: asynchronous playback with complicated callback
I'm using the python sounddevice module to provide "audio feedback" for a digital sensor. The idea is I have a sensor with one-dimensional time-series data being read in at 40 Hz. I have a ...