alsa Questions

4

Solved

When I try to run a program that uses pygame I get a slow "startup"(init) (4-5s) and this error from ALSA. Fixing ALSA is not my objective, I'd like to know why is it being initialized if I have no...
Retene asked 6/8, 2015 at 5:30

9

Solved

I'm using PyAudio to record input from the microphone. Since the audio is recording fine for me, should I try to simply suppress its error messages? Or would there be a way of resolving them? ALS...
Mi asked 17/8, 2011 at 6:19

4

Solved

How do you listen to changes in volume on the Master channel on the default sound card? I'd like to be notified through dbus or a callback or something that the volume has changed. I have tried lo...
Cointon asked 22/1, 2016 at 0:10

5

Solved

I have the following script: #!/usr/bin/env python import sys import pyttsx def main(): print 'running speech-text.py...' engine = pyttsx.init() str = "Hi..." if len(sys.argv) > 1:...
Recuperate asked 22/3, 2014 at 6:20

6

Solved

I want to playback some audio data using ALSA to a PCM device. As an example I have downloaded this sample example and run it in my PC. It works fine when no other process is currently using the so...
Corticate asked 17/11, 2011 at 14:25

3

I am trying to emulate a piano in python using mingus as suggested in this question. I am running Ubuntu 14.04, and have already created an audio group and added myself to it. I am using alsa. I r...
Vintage asked 13/12, 2015 at 18:18

2

First of all, the file that I want to play is not the reason for the error; this looks like a problem with ALSA. As you can see, even when I want to start the sound file directly in the terminal (a...
Magel asked 28/4, 2022 at 11:25

6

Solved

This question is inspired by Can you run GUI apps in a docker container?. The basic idea is to run apps with audio and ui (vlc, firefox, skype, ...) I was searching for docker containers using pu...
Scandium asked 11/3, 2015 at 11:41

4

Solved

This will be my poorest question ever... On an old netbook, I installed an even older version of Debian, and toyed around a bit. One of the rather pleasing results was a very basic MP3 player (usi...
Wilder asked 5/7, 2012 at 15:16

4

Solved

How do I find out the capabilities of ALSA devices without opening the device first? Problem is, I need to supply the parameters to the snd_pcm_open() function to use the test functions which to me...
Wormy asked 8/12, 2009 at 12:34

3

Any clue on what the easiest way to read the system sound level is? I'm planning on creating an equalizer made out of short led strips and hooking them up to an Arduino or RaspberryPi. I've seen a...
Underlinen asked 3/5, 2013 at 21:2

0

Is there a way of creating a dummy sound card on an EC2 instance? Unable to find snd-dummy, or any other other snd-modules using modprobe. sudo apt-get install linux-generic, also didn't exactly he...
Brassie asked 15/2, 2021 at 18:1

2

Solved

I'm looking for a way to feed audio data from a file into the microphone so when 3rd party applications (such as arecord or Chromium's "search by voice" feature) use the microphone for audio input,...
Ovate asked 18/4, 2017 at 19:43

3

I have a small C++ Qt program that uses a QAudioOutput instance to emit sound. It compiles & runs fine using Qt 4.8.5. However, in Qt 5.0, 5.1, and 5.2, my application compiles, but does not w...
Esquiline asked 14/11, 2013 at 18:30

1

Solved

I am doing a screencast where I am recording what is going on at my screen together with simultaneous audio comments from an external USB microphone. I am using the following command: ffmpeg -f x1...
Seaweed asked 11/5, 2020 at 6:32

2

As much as it matters my scenario is developing an accessibility application not any kind of malicious eavesdropping, whereas also within this scenario there are various research and development im...
Sphingosine asked 22/8, 2020 at 22:53

1

I am working on a project that involves recording from a mic on a raspberry pi. for now i am getting this error while the program is running. python3: src/hostapi/alsa/pa_linux_alsa.c:3641: Pa...
Sideswipe asked 23/11, 2019 at 9:5

1

I want pulseaudio (remote instance) to push audio sent to the primary alsa device straight to RTP over the internet so that I could listen to it on VLC on my home computer. in my /etc/pulse/defaul...
Anxiety asked 22/1, 2013 at 6:18

4

Solved

I've setup an Android-x86 image (4.0-RC1-eeepc) in VirtualBox on a Dell Latitude D820. This particular ISO is not for the laptop, but of all available ISOs it works the best. I have worked through...
Lustrous asked 14/6, 2012 at 16:19

1

I'm using various docker containers which, under the covers are built on Debian sid. These images lack /dev/snd and /dev/snd/seq, which pretty much makes sense since they have no hardware audio car...
Sidwell asked 13/9, 2017 at 23:30

5

Solved

What is the required API configuration/call for playing two independent wavefiles overlapped ? I tried to do so , I am getting resource busy error. Some pointers to solve the problem will be very h...
Stupefacient asked 18/1, 2013 at 12:4

3

When navigating the Linux ASoC files, which ones pertain to the following categories: Platform Driver: ? (somewhere in sound/soc/ ?) Machine Driver: ? (somewhere in sound/soc/ ?) Codec Driv...
Masera asked 21/11, 2013 at 1:34

2

I'm trying to play a WAV audio file with Qt (QSound, QSoundeffect) on an ARM based Atmel board (sama5d31ek). I've build the rootfs (and Qt SDK for cross-compiling) with Yocto/poky. When playing wi...
Bunny asked 16/4, 2016 at 5:58

5

Solved

Hej, im currently trying to get AudioRecord to work. Because I need it in a bigger project. But it seems to mess up a lot. I have been trying alot of things, so I went back to basic when I traced t...
Quaggy asked 28/2, 2011 at 8:41

3

Solved

I use ALSA to play PCM samples. I open the PCM stream with this function: int snd_pcm_open(snd_pcm_t** pcmp, const char* name, snd_pcm_stream_t stream, int mode); I'm currently using "default...
Fourchette asked 28/7, 2011 at 21:41

© 2022 - 2024 — McMap. All rights reserved.