python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to get 24-bit samples from USB audio device using Python?
I am trying to get a stream of 24-bit audio samples from some USB audio device using Python.
I already searched for some solutions and found this thread that is using PyAudio stream with a format of p...
Dima Tepliakov
Votes: 0
Answers: 1
PortAudioError: Error querying device -1 in google colab when using the sounddevice library
I've installed and imported all the required libraries (at least I think so):
!sudo apt-get install libportaudio2
!pip install sounddevice
import numpy as np
import matplotlib.pyplot as plt
import sou...
Diana
Votes: 0
Answers: 2