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

learn more… | top users | synonyms (1)

0
votes
0answers
4 views

Simple circuit for audio amplifier

I'm trying to add a speaker to an RPi project, and from what I've read, the RPi's built-in headphone jack is nearly useless for driving even tiny headphone speakers. What is a good audio amplifier to ...
1
vote
1answer
27 views

Can I use a GpioPin as a PWM pin safely on my Raspberry Pi 2?

Windows 10 IoT doesn't support use of the PWM functionality of Raspberry Pi 2. So, as a workaround, I'm planning on using a GPIO pin and just toggling it from High to Low REALLY FAST to achieve the ...
0
votes
0answers
12 views

Rasp Pi 2: HDMI audio goes fuzzy temporarily

I have a Rasp Pi 2 connected to TV via HDMI. After watching video for about 10-15 minutes the sounds turns into a fuzzy mess, after 20 seconds it's back to normal like it never happened and I can't ...
1
vote
1answer
42 views

Is it possible to play audio though the aux. port without starting 'x'? (pi 2b)

Is it possible to play audio though the /3.5mm jack/ without startx? Seems like it would be a lot of trouble just to play some audio.
0
votes
0answers
25 views

AAC (.m4a) audio streaming problem

I'm having a problem with .m4a audio streaming on my Raspberry Pi 2 (Raspbian). I installed koel, a music streaming server which should be able to play .MP3, .M4A, FLAC as well as other audio files. ...
1
vote
2answers
33 views

What's the difference between aplay -l and aplay -L?

I'm trying to configure my Raspberry Pi (model B) to work as an AirPlay to Bluetooth bridge of sorts. I'm using Shairport-Sync to receive the AirPlay audio successfully, and can get it to output via ...
0
votes
1answer
35 views

Running spotify on Raspberry PI [duplicate]

I have seen other questions here on how to do this but most of them suggest the solution of using The raspberry Pi streaming server solution. But what I want to do is simply to run the software ...
0
votes
1answer
20 views

USB hub/c-media combo - audio device not recognised - hub won't allow allow other usb audio either

I have an mBeat Hayman USB hub with integrated C-Media audio. Under Raspbian, the hub is recognised as a 4 port hub, but the C-Media audio device (which is uses one of the ports) isn't recognised. ...
1
vote
1answer
31 views

PyAudio playing audio in Callback is choppy

I'm using a Logitech usb headset (http://www.amazon.com/gp/product/B000UXZQ42?psc=1&redirect=true&ref_=oh_aui_detailpage_o00_s00) to record and playback audio. I need non-blocking playback ...
0
votes
0answers
16 views

Choppy audio with USB audio device after upgrading to Jessie

On Wheezy, mplayer (and other audio players such as the one used my mopidy, specifically) would play audio without any choppiness. After upgrading to Jessie, while playing audio through my USB sound ...
-1
votes
1answer
41 views

noob trying to get his usb audio to stay as default

I have edited this with hopes of being more clear. I got my card working thanks to this site, and this question / answer: Unable to set default input and output audio device on Raspberry jessie ...
-1
votes
1answer
98 views

How can I stream my audio to my Sonos speakers?

I would like to listen to good quality audio while watching a video, but my Sonos does not have a line in. My idea is to stream it from the Raspberry Pi and listen to it on the Sonos by tuning in to ...
1
vote
0answers
32 views

Configure Mic and USB speaker Jessie [duplicate]

I would like to use the mic and usb speaker with Pi2 Jessie. Here is the output from lsusb: Bus 001 Device 006: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controller Bus 001 Device 005: ID ...
1
vote
1answer
43 views

Adafruit Lesson: Playing sounds and using buttons with Raspberry Pi Error message

I'm new to the Raspberry Pi and electronics and I have really been struggling getting any of my attempts at following Adafruit's electronic project guides to work. I am SSHing into my RasPi 2 from my ...
1
vote
0answers
32 views

Audio with very much noise except for OMXPlayer

I'm developing an arcade cabinet with my Raspberry Pi, but I'm running into some problems regarding sound. When I try to play an MP3 file with omxplayer (omxplayer -o local music.mp3), it sounds very ...
1
vote
0answers
31 views

Sound disappears in I²S

I have a Raspberry Pi B+ version (single core). The ARM frequency is overclocked to 950 MHz I also have an IQaudIO I²S DAC HAT mounted. Sometimes, while playing 1080p with 5.1 sound, the video ...
4
votes
0answers
83 views

Audio goes in and out on Retropie

So as my title suggests I am having an issue with my Retropie installation. I am currently using latest greatest BerryBoot, OpenElec, and Retropie on my Rasp Pi 2 updated as of yesterday evening. The ...
0
votes
0answers
25 views

omxplayer - HDMI audio working on one TV, but not another

I am using Omxplayer on a Raspberry Pi 2 to play some video files - always through the HDMI port. When I do this at home - everything works fine, both video and audio. When I go to a friend's TV - ...
6
votes
1answer
154 views

Is Raspberry PI 2 B suitable for a real-time audio effects application?

I am about to start working on a project which involves real-time audio processing for an audio effects application. The application is supposed to acquire and process audio from 8 individual audio ...
0
votes
0answers
9 views

Is Raspberry PI 2 B suitable for a real-time audio effects application? [duplicate]

I am about to start working on a project which involves real-time audio processing for an audio effects application. The application is supposed to acquire and process audio from 8 individual audio ...
1
vote
1answer
188 views

How do I get Sonic Pi 2.9 working with Pi-DAC+?

I have: a Raspberry Pi 2 2015-11-21-raspbian-jessie a Pi-DAC+ board connected - and with headphones plugged in I read on Twitter that Sonic Pi 2.9 should support this: Great news for ...
1
vote
0answers
42 views

Are there any compact microphones compatible with RasPi that can fit inside a typical enclosure?

It is my understanding that the Raspberry Pi doesn't have a sound card and therefore isn't able to accept sound input without help. However, most USB microphone have such a "sound card" built in, and ...
1
vote
0answers
65 views

Raspberry Pi Model A+: I2S ADC and DAC connection

I want to connect raspberry pi A+ to external DAC/ADC(audio codec) via I2S interface. Is it possible? If not, what model can I use to perform audio recording/streaming?
2
votes
1answer
143 views

Cannot get USB audio (Generalplus Technology Inc) to work

I bought a USB audio adapter and have been unable to get any sound to come out of it. lsusb reports it as: Bus 001 Device 005: ID 1b3f:2007 Generalplus Technology Inc. which is not one I've come ...
1
vote
0answers
12 views

Can I control the volume from my phone when using shairplay with optical output?

I've recently bought a Raspberry Pi to use as an AirPlay device, using Shairplay. However, I've realized that the audio quality from the 3.5 mm plug on the Raspberry Pi is quite bad, meaning that I'm ...
1
vote
1answer
37 views

Mega splitter amplifier for audio out

I understand from my research that the RPI has a fairly high impedance audio out, and that whilst it may drive small headphones, it's really not man enough to drive real speakers properly, so clearly ...
1
vote
1answer
52 views

No sound when using sudo in Raspbian

I'm developing software for Raspbian which plays some audio but when I run it with sudo the audio doesn't play through the speakers. The same happens with the speaker-test command: speaker-test ...
1
vote
1answer
91 views

Headphone's Crackling

I got my new Raspberry Pi 2 for a Christmas present, and I also got a new pair of headphones/headset. When I first plugged them in to the pi for the first time, it made some crackling noises in the ...
1
vote
0answers
152 views

How to resolve Invalid sample rate -9997

I am trying to install Jasper on my Raspberry Pi model B running Jessie distro. I have followed the installation guide. However, when I am now trying to run the the program I am getting the following ...
4
votes
1answer
399 views

Unable to set default input and output audio device on Raspberry jessie

I am facing a similar problem as described in this question. However I am running Jessie on Raspberry Pi and that it does not have a /etc/modprobe.d/alsa-base.conf file. So can someone tell me where ...
3
votes
0answers
27 views

Getting Frequency of an audio file per second in Raspberry Pi

import wave,struct,math waveFile = wave.open("/home/pi/xmas/yolo2.wav", "rb") frames = waveFile.getnframes() rate = waveFile.getframerate() length = frames / int(rate) i used this to get in the ...
1
vote
1answer
168 views

Raspberry Pi 2, Alsa PCM 5.1 Surround

I'm currently having a lot of trouble trying to get Alsa PCM to do anything other than Stereo/Mono. I'm more than certain the raspberrypi is capable. However I can't seem to find the information I ...
1
vote
1answer
43 views

How can I make Voice distorter with RPi

How can I make a voice distorter using m raspberry pi, I've got a generic USB sound card with a mic input and audio output. I want it to change and output the audio in real time, also how can I make ...
5
votes
1answer
66 views

HiFiBerry Board compatibility

I want to create a music server/player with the Pi as the heart. Will the HiFiBerry Amp+ work in conjunction with their DAC board? The reason for this thought is I'd like the music bod to operate as ...
1
vote
1answer
60 views

How to stop Car Alternator audio noise / buzz?

I connected a Raspberry Pi 2 in the car to add OSMC media player capabilities. However, there seems to be a buzz / hum of background noise in the audio. The noise is correlated to the engine speed so ...
0
votes
1answer
25 views

WebMIDI on Chromium?

I'm doing some WebMIDI programming for fun, and I'd like to get it running on a RPi. As I understand it, the WebMIDI API should be implemented on recent versions of Chromium, but could any of you ...
1
vote
2answers
48 views

Access shell while music playing

I'm running the following python script to play playlists in my Music library on my ras-pi. import subprocess import random import sys from os import listdir files = [] for f in ...
3
votes
1answer
74 views

Why is there no sound while playing audio from a SSH session?

I've been banging my head for several dozens of minutes against the wall until I realized my Pi (B+) did play audio indeed. The only thing is it seems to only play from a TTY (i.e. an interactive text ...
0
votes
0answers
27 views

cant run sound with tomcat web service

I am trying to turn the sound on my raspbery,output jack, using a tomcat web service. I created a shell script: playSound.sh #!/bin/bash aplay /tmp/msg.wav with ./playSound.sh everything is good, ...
1
vote
0answers
21 views

Music/Sound Visualizer. How to determine noise level?

I would like to make a music visualizer, but I need to know the intensity of the music playing. The music is playing from my Pi, so if this is possible without a mic that would be great but I'm ...
0
votes
0answers
36 views

How could I control lights by clapping my hands?

I've wanted to create a project where I can use a simple hand clap to control a light, on and off. I've started by looking for a Solid State Switch like this one @ sparkfun, that I would control via ...
0
votes
2answers
59 views

No audio output using raspberry pi and pygame.midi

I have a Raspberry Pi 2 and a set of speakers connected to the 3.5mm headphone jack. I've got most audio coming out of my speakers by running amixer set name='PCM Playback Route' 1. pygame.mixer ...
0
votes
1answer
27 views

Voice changer/distorter script “invalid syntax” error

I'm trying to make a voice distorter with my raspberry Pi, I made a script with this line of code play "|rec --buffer 2048 -d pitch -300 echos 0.8 0.88 100 0.6 150 .5 band 1.2k 1.5k|" But I get the ...
6
votes
2answers
676 views

Pi Zero Video out header

I'm still waiting to sort getting a Pi Zero, but a thought has just occured to me. The Pi Zero has 4 pins which are AFAIK something to do with video: So I have two questions: What is the pinout ...
1
vote
0answers
83 views

Raspberry Pi 2 low volume on headphone socket

I'm using a Raspberry Pi 2 as an AirPlay receiver connected into an external amp via the headphone socket, and running shairport-sync. I am seeing a low volume on the headphone output socket, such ...
2
votes
3answers
943 views

How do I add analog audio out to the Raspberry Pi Zero?

The currently announced new member of the Raspberry Pi family - the Raspberry Pi Zero provides only digital audio out via its HDMI connector. What are the options to add analog audio out to this ...
1
vote
2answers
174 views

ALSA - piezo buzzer directly on PWM pin?

Pre-empting the fact that the Raspberry Pi Zero has no analogue headphone jack - has anybody managed to setup the audio such that a Piezo Speaker directly attached to a GPIO PWM pin would make a ...
0
votes
0answers
252 views

Real time audio input/output in Python with PyAudio

I am trying to get my Raspberry Pi to read some audio input through a basic USB souncard and play it back in real time for 10 seconds, and then print the output with Matplotlib after it's finished. I ...
4
votes
2answers
176 views

How to send audio to BOTH headphone jack and HDMI simultaneously?

I am needing to send audio through both HDMI and the 3.5 mm headphone jack simultaneously. I have not been able to find anything on this. Is this even possible?
1
vote
1answer
65 views

Is it possible to have multiple audio outputs going to different speakers at the same time?

I have 4 different displays set up in a booth and I want to be able to have someone press a button and hear an audio playback for that particular display. I am trying to determine if the RPi 2 has the ...