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).

Filter by
Sorted by
Tagged with
4
votes
1answer
513 views

TeamSpeak in VOX mode on the Raspberry Pi

I would really like to run a TeamSpeak client in VOX mode on my Pi. My goal is to hook the Pi to a USB sound card and wire that to my two way portable radio that is VOX. Has anyone done this?
3
votes
1answer
7k views

sox & alsa sound recording issue

I've installed sox and now this whole thing is freaking out :) I'm trying to get sox to record a flac file for me. aplay and arecord work ok: pi@raspberrypi /tmp $ arecord -d 3 test1.wav Recording ...
4
votes
2answers
3k views

About 1 second from start is cut from each song played by XBMC

I have a problem with playing music on my XBMC (Raspbmc RPi 512MB RAM). It's connected to my AVReciever (Onkyo) through HDMI cable and in XBMC settings HDMI is set as output. Now, when I play some ...
12
votes
1answer
17k views

Sound recording using python

I'm trying to record some sound with RPI using python and pyaudio library and facing a few interesting issues - junky console output when attempting to use pyaudio and lots of noise mixing into the ...
1
vote
0answers
1k views

RASBMC Bluetooth Playback over Sound Bar

I have a LG Sound Bar that allows audio playback using Bluetooth. I'd like to play audio from XBMC on raspbmc over the Sound Bar. At the same time, Id still like the audio from HDMI to still ...
1
vote
1answer
2k views

Espeak over python cgi

I am running lighttpd webserver on my raspberry pi (raspbian os). On my small website I have a form which executes a python script via cgi - this part is working okay. Now I tried to call espeak from ...
11
votes
6answers
49k views

How to run spotify on Raspberry Pi

I have tried to install spotimc in XBian but it did'nt work. How can I play spotify in XBMC? /Cheers
2
votes
0answers
659 views

Sugar OS on Raspberry Pi analog sound output [closed]

I'm able to get analog output working on official RPI distro raspbian, but the same procedure fails if using Sugar OS (OLPC). I'm also using berryboot to load the desired image. Kernel I'm using (I ...
1
vote
2answers
4k views

Raspbian Wheezy Audio

I've got my new Rpi running with the raspbian wheezy debian distro which is great but I can't seem to play / hear any sound. Does anyone know if the wheezy distro comes with audio drivers pre-...
24
votes
3answers
54k views

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 ...
7
votes
1answer
19k views

How to make Raspberry use HDMI audio as default system output?

I've just installed Raspberry Pi and everything works great, except I can't get the default system sound to use HDMI. If I run something like omxplayer -o hdmi <filename> then the sound works, ...
0
votes
1answer
4k views

How can I use my pi to convert a video/audio stream in real time to another format?

I have a encoded video and audio stream from a device that cannot produce a compatible stream for an iOS device. The encoder will output h.264 and/or mjpeg. How can I use my pi to convert a video/...
3
votes
2answers
7k views

role of snd_bcm2835 on raspberry pi

What is the purpose of snd_bcm2835 and how can I get it? Is it sound driver? And what is ALSA for?
7
votes
1answer
18k views

How do capture audio using Python?

More particularly: How can I use python with ALSA to capture audio input? I'm thinking about doing an oled-based spectrum analyzer for Pi-based audioplayer. One part of the solution is to read the ...
3
votes
3answers
592 views

Diagnosing dropped samples from a usb microphone

My usb microphone appears to be dropping samples, producing very glitchy recordings which are about 5% shorter than they should be. Here's an example recording of a periodic wave: You can clearly see ...
4
votes
2answers
18k views

How to listen to internet audio streams

I connected my RPi onto my stereo so I can listen to my music. However, I want to listen to a few internet-radio-streams. The streams are available in ASX, MP3 and some of them through SHOUTCAST. I'...
4
votes
1answer
13k views

How to install USB Sounds Adapter?

I've bought a CONCEPTRONIC USB SOUND ADAPTER that I want to connect to my stereo. I plugged this USB adapter into the Raspberry Pi. aplay -l showing the following output: **** List of PLAYBACK ...
1
vote
0answers
54 views

Sound click at the start and ending while playing audio file [duplicate]

Possible Duplicate: How to get better Audio quality from audio jack output My headphones are connected through the audio 3.5mm jack. When I want to play audio file (vlc/omxplayer) I hear a ...
5
votes
2answers
10k views

USB microphone recording input and audio output

I've got a USB sound card which I'm trying to record from using the standard pyaudio tutorial for recording however I get the following (below). Frustratingly this script actually works on my mac and ...
11
votes
2answers
6k views

How to play audio without being root (via sudo)?

In order to play audio (espeak or aplay for example) I have to be root (via sudo). How can I do those as just a regular user? Is there a group I must be a member of or do I have to change some ...
15
votes
2answers
8k views

Running Headless - How do I create a boot sound?

I am running RPi headless and would like it to play a sound (like when a Mac boots) so I know it is booting and how far it got. I can play music/wav files now, What is the best way to have something ...
19
votes
6answers
39k views

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?
0
votes
1answer
129 views

Music Playback stopped working in X due to permissions

I got my Pi today and having a lot of fun with it (it's the coolest computer I've owned, and I had a lot of comupters...). I had some problems with mp3 playback though but due to my own fault. I ...
7
votes
2answers
18k views

Get High Quality Audio from HDMI

I'm using the RPi as an audio streamer. However the audio from the 3.5mm jack isn't great. Is there a way I can use the HDMI socket to output audio to my stereo? My stereo has RCA audio input (...
10
votes
4answers
27k views

Errors with espeak

I am getting an error using espeak. Audio comes out the head phone jack, but all of this stuff get written to the command line. I installed espeak and alsa-utils. Any idea how to fix these errors? [...
1
vote
1answer
2k views

Playing mp3 with Jlayer

I'm trying to develop a java application for the raspberry pi that will play mp3s. I wrote a simple program to see if it would work using JLayer Code for the app is like this: public static void ...
1
vote
1answer
1k views

Trying to connect to shairplay from itunes

I have successfully connected to shairplay on windows from ITunes on a MacBook Air. I have compiled and installed shairport on the PI and ran it as a service. But even after restarting the MacBook, I ...
4
votes
1answer
2k views

C/C++ sound API for games

I have a game that, up until now, uses SDL_mixer for playing MP3 sound effects. Works on Linux, Windows, OSX. At the moment doesn't work on 64 bit Linux, so I was thinking of switching to FMOD. ...
10
votes
1answer
5k views

A2DP stereo audio over bluetooth

Using the instructions in this answer I was able to get Bluetooth working with a small Asus branded USB receiver. I was able to see other Bluetooth devices in the area, but whenever I put my Motorola ...
16
votes
3answers
8k views

If connected over HDMI will the 3.5mm audio jack socket work?

As far as I know only one video output, either the HDMI or RCA video socket, will work at a time. Now I want to know if this also applies to the audio output. Will it be transmitted over both sockets,...
5
votes
4answers
11k views

No sound output in VLC

I installed VLC, but I can't hear anything through the analog output (jack output) when I play a MP3 file or a video. I'm using Debian Wheezy. I already did some steps to test alsa sound, like this: ...
3
votes
1answer
3k views

Very bad sound with external microphone [closed]

I have a CAD Audio U9 Microphone external microphone with a clear sound on my laptop. I plugged it inside Rpi and the sound is very bad. I have glitches and noise. I tried to change the gain inside ...
23
votes
3answers
31k views

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: ...
13
votes
4answers
44k views

Live audio stream using FFMPEG

I try to stream live audio using ffmpeg and external USB microphone. I followed this nearly tutorial I had to adapt some steps but finally, I achieved to receive the stream my laptop using this ...
7
votes
4answers
6k views

How can I get Java Sound to work?

I have a Java-based MP3 player based on the JLayer / BasicPlayer framework which I'd like to get running on the Pi. I have installed the OpenJDK on the most current Raspbian. The BasicPlayer opens the ...
5
votes
2answers
4k views

ALSA volume ignored when beginning playback

I ran into an interesting problem today. I noticed I don't have a "Master" channel in amixer. I only have PCM. And changing the volume on PCM is really finicky. It seems only 85%+ is actually ...
2
votes
0answers
70 views

Does the BUSY flag work for the Clock Control Registers? [closed]

The docs suggest that certain registers shouldn't be messed with if the BUSY flag is set. I've tried disabling the General Purpose clocks, but the busy flag is always set. See page 107 of the BCM2835 ...
13
votes
2answers
9k views

What are the different clock sources for the general-purpose clocks?

I'm trying to generate a clean 11.289 MHz clock signal from the general-purpose clock, GPCLK0 on GPIO4. The suggested route is to use the 19.2 MHz crystal as the source, which seems to work ...
10
votes
2answers
5k views

Audio over HDMI - hello_audio.bin works but not aplay

I'm having problems getting audio over HDMI working correctly (running ArchARM). I have in my /boot/config.txt: hdmi_drive=2 I compiled hello_audio.bin and ran it with 0 and 1 as args, both work (...
28
votes
3answers
127k views

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 ...
3
votes
1answer
913 views

How do I read PCM audio from a file?

I would then to write the PCM data directly to the I2S interface. Is there an existing API that would allow me to read an audio file and get at the PCM digital data?
18
votes
7answers
25k views

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 ...
58
votes
12answers
311k views

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?

1 14 15 16 17 18