Questions tagged [audio]

The Raspberry Pi has an analogue stereo audio jack output (Pi 1 A/B/B+, Pi 2, not Pi Zero), and audio can also be heard through the digital HDMI output (all models).

1079 questions
64
votes
12 answers

Why is my audio (sound) output not working?

I can't get the audio running. I don't hear anything and can not play anything. Is there a solution to enable audio?
Itay Grudev
  • 1,566
  • 3
  • 15
  • 19
47
votes
7 answers

Playing audio files with Python

I am looking for a well maintained Python library with allows me to play audio files on my Raspberry Pi using the standard audio output. So far I've tried several, but none of them seem to work. Although pyglet works on my regular computer fine, it…
Stein
  • 1,758
  • 3
  • 14
  • 13
45
votes
7 answers

Speech processing on the Raspberry Pi

I want to do speech processing on Raspberry Pi to detect specific people (something like unique identification). I would prefer to use only the on-board processor for this, you could assume that internet is not accessible. Also, what are the…
42
votes
4 answers

Setup Raspberry Pi 3 as bluetooth speaker

I am looking for a way to configure the Raspberry Pi 3 as bluetooth speaker using Raspbian Jessie. What I mean by as bluetooth speaker is use it to receive audio stream via bluetooth using A2DP and play it via speakers connected to the Raspberry Pi…
gtatr
  • 524
  • 1
  • 6
  • 15
41
votes
7 answers

Using Pi to stream all audio output from my pc to my stereo

My problem is quite simple but I have been unable to find a satisfying solution. Basically, I want my Raspberry Pi to be connected to my stereo and then play any audio output from my computer via wifi to the PI. Is there any way to do this easily,…
Jerome
  • 511
  • 1
  • 5
  • 3
37
votes
3 answers

How to get PulseAudio running?

I would like to use my Raspberry Pi as an PulseAudio sink that can play audio via the network. For starters I want to get Pulseaudio running locally and have run into various errors. I am using the recommended Debian image. What is the best…
Bengt
  • 2,427
  • 3
  • 21
  • 26
36
votes
2 answers

USB card as my default Audio Device

I purchased a small USB sound card. My Pi recognizes the device: $ lsusb Bus 001 Device 004: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controller If I run alsamixer and set the audio to USB PnP Sound Device, I can hear audio through the…
PhillyNJ
  • 1,210
  • 2
  • 16
  • 27
31
votes
3 answers

Raspberry Pi 3 audio input?

Did Raspberry Pi 3 add audio input? I'm new to RPi and interested in doing speech recognition but noticed input has been missing for previous versions. If it hasn't, what is the best way for me to go about recognizing speech on RPi3? Thank you.
corysimmons
  • 487
  • 3
  • 6
  • 8
26
votes
3 answers

How can I record audio using a microphone?

Just came across this question while trying to connect a webcam. If the webcam encapsulated audio that is fine. But what if I want to attach a microphone in another location / locations. Question: How can I record audio using a microphone?
Piotr Kula
  • 17,247
  • 6
  • 64
  • 104
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,347
  • 2
  • 13
  • 22
25
votes
3 answers

Can I get audio input through the GPIO

The Pi has a standard 3.5mm audio jack, but this cannot be used for audio input However, we've got a load of GPIO pins on various interfaces. Would it be possible to recieve analog audio into the Pi via the GPIO? Elinux tells me: It is also…
ACarter
  • 2,350
  • 6
  • 25
  • 39
20
votes
3 answers

Redirect audio to another AirPlay device

I'm setting up Mopidy on Raspbian so I can use the Raspberry Pi as a Spotify (and local files) jukebox. I know the analog audio output of the Raspberry Pi is not great. Is there a way to redirect all audio from the Raspberry Pi to an AirPlay device…
leolobato
  • 301
  • 1
  • 2
  • 6
20
votes
6 answers

How to get better Audio quality from audio jack output

I've read and experienced that music (mp3 etc) through the audio-jacket is poorly (popping sounds in between songs). Is this already solved or what's the best way (setting) to decrease this problem?
qwyrp
  • 201
  • 1
  • 2
  • 3
20
votes
7 answers

If I plug my headphones into the audio jack, how do I control the volume?

This will be useful to know before I start just in case the volume is turned to the maximum by default. Also, more importantly, will the maximum volume be high enough to cause immediate hearing damage to children who use a Raspberry Pi with…
Highly Irregular
  • 5,729
  • 10
  • 32
  • 40
18
votes
1 answer

How to set up a PulseAudio sink?

I'm trying to set up a PulseAudio sink on my Raspberry Pi, in order to stream all system sounds from my PC there. What is the best way to do so? For example, is it possible to watch movies or is the latency too high? I tried this a while ago using…
anon
  • 241
  • 2
  • 3
  • 4
1
2 3
71 72