Questions tagged [alsa]

For questions pertaining to ALSA, the Linux sound subsystem. ALSA sits below advanced systems like PulseAudio.

Advanced Linux Sound Architecture is a Linux kernel component that provides an application programming interface (API) for sound card device drivers.

216 questions
25
votes
1 answer

How can I use an external USB sound-card and set it as default?

I've got an external USB sound-card from C-Media running on my RPi3. I can play some recordings using aplay/arecord by specifying the card index and ALSA plugin. However, many other sound files does not play at all, or not as expected. Some other…
not2qubit
  • 1,439
  • 2
  • 14
  • 24
21
votes
2 answers

How do I configure my sound for Jasper on Raspbian Jessie?

I'm using Raspbian Jessie (2015-11-21) to run Jasper (master branch) on the Raspberry Pi 2 Model B. The installation instructions in the documentation seem to be for Wheezy and not Jessie. Running Jasper on Wheezy works fine. But, on Jessie, I had…
Housni
  • 593
  • 1
  • 5
  • 11
12
votes
1 answer

alsa-base conf file missing

I have a USB sound card for my pi b+ which I want to setup as my default sound device and all the tutorials for setting up involve editing the alsa-base.conf file in /etc/modeprobe.d, but I don't seem to have that file! Anyone able to help? I can…
chadianscot
  • 383
  • 1
  • 2
  • 9
12
votes
5 answers

3.5 mm jack starts to "hiss" after sound is played

I'm having the following issues with my amp on the Raspberry Pi 2, Model B. Boot up the Pi, everything sounds great. Play a sound byte through the Pi (using ALSA) Speakers hiss regardless of PCM being "muted" (using alsamixesr) or having a any kind…
Mikey A. Leonetti
  • 311
  • 1
  • 3
  • 12
10
votes
5 answers

MAX98357 I2S DAC support (kernel drivers?) and noise ("pop", "crackle") on playback

I am trying a Adafruit I2S 3W Stereo Speaker Bonnet for Raspberry Pi - Mini Kit, which is built around two MAX98357 (datasheet: adafruit, maxim), on a Raspberry Pi Zero W with Raspbian Stretch (upgraded yesterday). The trouble is that I have "pops"…
handle
  • 173
  • 2
  • 13
9
votes
2 answers

How to stream sound to a bluetooth device from a raspberry pi zero

I have a raspberry pi zero W and I would like to stream sound over bluetooth to a bluetooth-enabled speaker / headphone. So how to achieve this with alsa?
Besi
  • 1,004
  • 4
  • 14
  • 26
8
votes
1 answer

Best way to setup USB mic as system default on Raspbian Jessie

I am trying to setup Jasper on my RPi 2 B by following these instructions http://jasperproject.github.io/documentation/installation/#configure-raspbian and just figured out that there's no /etc/modprobe.d/alsa-base.conf for me. I can successfully…
Rostyslav Kinash
  • 181
  • 1
  • 1
  • 3
7
votes
2 answers

MIDI keyboard latency with fluidsynth

I set up my MIDI keyboard with fluidsynth on raspbian, mostly according to this how to. It all works fine, but I've got a ~1 second latency. Does anybody know how to fix this issue? RPi model: B Raspbian image: 2014-01-07-wheezy-raspbian MIDI…
strudelkopf
  • 173
  • 1
  • 4
6
votes
1 answer

Difference between "hwplug" and "hw"

This is aplay -l output from Raspberry Pi: **** List of PLAYBACK Hardware Devices **** card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA] Subdevices: 8/8 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 Subdevice #2:…
tatiana_c
  • 163
  • 1
  • 5
6
votes
1 answer

Arecord->FFMPEG works but FFMPEG w/ ALSA stutters?

I am trying to stream audio from my Pi Zero and my I2s MEMS mic. I would like to stream using FFMPEG and ALSA (which I have already compiled) but I'm running into stuttering issues. FFMPEG + ALSA ~/special/ffmpeg/ffmpeg -report -f alsa -ar 48000…
6
votes
3 answers

Configuring audio to produce balanced mono output

Is there any way to configure the Pi3's audio jack to automatically produce balanced mono output? i.e. act as a "balanced mono jack" as described here, where the regular sound wave is on one channel, and an equal-but-opposite signal is on the other…
Cerin
  • 2,291
  • 8
  • 33
  • 49
6
votes
1 answer

Microphone Raspberry Pi 3(Jessie)

I'm trying to connect my USB Microphone to my Raspberry Pi and set it to my default mic. The Mic works with arecord /home/pi/Desktop/a.wav -D sysdefault pi@raspberrypi:/ $ cat /proc/asound/cards 0 [ALSA ]: bcm2835 - bcm2835 ALSA …
Cryptic Pug
  • 163
  • 4
6
votes
1 answer

How to use both USB Mic (in) and on-board sound (out)

I'm trying to set up my RPi with on-board sound out and a USB mic in, but everything I've found only deals with both audio i/o on the same (external) sound card. What's happening in my situation is that regardless of the default sound card I set,…
jaswon
  • 101
  • 1
  • 6
6
votes
1 answer

Change Volume via single command?

I need to change my volume on my USB sound card (which is the default card) via the command line. I know alsamixer will do that but I need it to be a one line command so I can use it in a python script, e.g., os.system("volume up 1"), or something…
Patrick Cook
  • 6,365
  • 8
  • 38
  • 63
6
votes
3 answers

Pi 3 B+ no audio device found

I have been trying to use Alexa on my Raspberry Pi 3 B+ (running Stretch). I ran Alexa successfully, with a USB microphone and a speaker connected through the 3.5mm jack, about a week ago and went on to make a python program that does not in any way…
Yuxi L
  • 63
  • 1
  • 1
  • 4
1
2 3
14 15