Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about python-sounddevice

Read more about python-sounddevice

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - python-sounddevice

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...
test-img

Dima Tepliakov

audio-recording

wave

python-sounddevice

24-bit

pyaudioanalysis

Votes: 0

Answers: 1

Latest Answer

Both PyAudio and SoundDevice use portaudio bindings between some windows sound architecture and python. PortAudio does not suppport full depth 24 bit, and the result is 16 bit of audio with additional...
test-img

Michael Rozentsveig

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...
test-img

Diana

python

google-colaboratory

python-sounddevice

Votes: 0

Answers: 2

Latest Answer

You are using a virtual machine from Google collab, you can´t play an audio there. Instead, you can always display an audio object in the front-end and play it from there. Like this: from IPython.disp...
test-img

André Dionildo

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved