Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
2
votes
2answers
124 views

3.5 mm jack speakers not being recognized

Over the past several days, I have tried and failed to make my raspberry pi recognize the speakers that I connected to it through the 3.5mm jack. The USB microphone that I plugged in works perfectly ...
2
votes
1answer
175 views

Bluetooth Audio to Raspberry Pi Zero W as USB Mass Storage

My car audio system has only a USB Memory input (it does not have Bluetooth). The audio system is able to read the content of the USB memory, find the folders (MP3 files) and show them on the screen. ...
2
votes
2answers
5k views

How to change audio output device for Python?

On a clean install of Raspbian Jessie I want to play mp3s via mplayer through my Sabrent USB Audio driver. On Raspbian itself this was plug n' play; I changed the default audio device to "USB Audio ...
2
votes
1answer
6k views

Perform a task upon a voice command

I would like to do on-board speech processing (Matching of a pre-recorded voice sample [1/2 secs] with a continuously playing sound) with a Pi 3. The Pi should give a real-time response to the ...
2
votes
1answer
3k views

Reliability issues with Raspberry Pi 3 as bluetooth speaker

I followed the tutorial to setup the Raspberry pi 3 running on Raspbian Jessie as a bluetooth speaker: https://raspberrypi.stackexchange.com/a/48055 After setting it up, it actually worked for a few ...
2
votes
3answers
3k views

Streaming Audio and Video to View in a Web Browser

I have been thinking of things for our kids to do in school at lunch time and thought of starting a School Radio Channel and then thought - why not make a TV channel that can be viewed over the LAN. ...
2
votes
3answers
593 views

Does Pi Zero Have built-in-audio component?

I am looking to buy a Raspberry Pi Zero for my retro gaming project. I am asking wherher the Raspberry Pi Zero has any built-in internal audio speaker in the chip itself or not? If there isn't, is ...
2
votes
2answers
6k views

Force sound over 3.5mm jack and video over HDMI

I am building an application where the sound needs to be over the 3.5mm jack and video over HDMI. However, sometimes it does send the sound over HDMI and 3.5mm jack. And sometimes it just uses HDMI ...
2
votes
1answer
464 views

How do I connect my PHAT-DAC to the Adafruit class D stereo amp

Following on from my previous question here I have the Adafruit 2.1 W stereo amp and now I'm researching how to connect it to the Pimoroni PHAT-DAC. I've found plenty of references to a mono amp but ...
2
votes
2answers
900 views

Speakers not working

I've been trying to get speakers to work for a while now. I got the Amazon Basic speakers, (https://www.amazon.com/AmazonBasics-Powered-Computer-Speakers-A100/dp/B00GHY5F3K?ie=UTF8&keywords=...
2
votes
3answers
25k views

Raspberry Pi 3 Connecting to Bluetooth audio device on Raspbian Jessie

I am trying to connect to a Bluetooth audio device on fully updated Raspberry Pi 3 running Jessie using the following: pi@raspberrypi:~ $ bluetoothctl [bluetooth]# power on Changing power on ...
2
votes
1answer
13k views

How to configure and select USB Microphone

I have a USB sound card that has an audio out and a microphone in. That sound card works fine - a small microphone records fine and a small speaker plays sound back fine. However, I now have an ...
2
votes
2answers
5k views

Set up C-media USB soundcard for microphone input on Raspberry Pi 2 with Raspbian Jessie

I would like to use Amazon Alexa or Steven Hicksons Voicecommander (uses Google) on my Pi to automate some tasks by voice command, but I am having trouble getting the microphone to work in the first ...
2
votes
2answers
1k views

Forwarding audio signal through GPIO

Is it possible to read an audio signal through on GPIO pin and give the same signal out through a different GPIO pin or through the audio jack? I basically want to have 4 audio inputs and one audio ...
2
votes
4answers
2k views

Controlling a servo and playing sounds

I've got a serious problem about Pi. It is - I can play sound just fine with a python script either with: import pygame pygame.mixer.init() pygame.mixer.Sound("...").play() or: import os os.system("...
2
votes
2answers
3k views

Audio in Java application won't stop when told

Background: I have a simple test application which plays a sound using Java's javax.sound.sampled package. Presently, the application plays the sound for either 10 seconds, or however many times I've ...
2
votes
1answer
6k views

Video (XBMC) on a Raspberry Pi - Passthrough output

I'm interesting in running OpenELEC on a Raspberry PI as it would be a cheap XBMC solution. The OpenELEC Raspberry PI/FAQ notes: The RPi cannot decode DTS and AC3 because of the overhead, it is ...
2
votes
1answer
1k views

How is the audio output controlled?

What hardware converts digital data to analog audio signal in Raspberry - past the codecs and the like, raw digital-to-analog conversion (be it using DAC, PWM, or any other means I'm not aware of)? Is ...
2
votes
3answers
6k views

Wireless surround sound using Raspberry Pi?

I was looking into some Bluetooth/Wireless audio solutions and wasn't a bit taken aback by what it costs for something that would actually work well. The I looked at my Pi and started formulating a ...
2
votes
2answers
106 views

Raspberry pi 3B+ and Beats Pill+ bluetooth speaker

I have Raspberry pi 3B+ and bluetooth speaker Beats Pill+. I am trying to forward all audio to this speaker and use it as default. Bluetooth connection between rpi and speaker is not a problem, using ...
2
votes
2answers
109 views

No sound as root and even with sudo su pi

It works if I try to play a sound/mp3 with mpg321 as a pi user: mpg321 Yeah-sound.mp3 but sudo -u pi mpg321 Yeah-sound.mp3 does nothing and sudo mpg321 Yeah-sound.mp3 leads to error Can't ...
2
votes
1answer
1k views

How to connect speakers to rpi?

How to connect this speaker to Raspberry Pi 3 model b+ I have a PAM8302A amplifier. Bluez and pulseaudio works?
2
votes
2answers
1k views

Headphones not working on Model 3 B (retropie)

I have a Raspberry Pi 3 model B and am using Retropie. I have it connected to to portable display, but when I plug in headphones, I get no audio. Any help will be much appreciated, and I will answer ...
2
votes
1answer
1k views

Need audio recorder + audio player for my Pi Zero

I am currently building a light-weighted audio system using my rasperry Pi zero. I am looking to enable my Pi to have the following 2 functionalities: 1) be able to record from a microphone 2) ...
2
votes
2answers
112 views

What does HDMI as composite mean?

Im reading into cpu usage and read this in some documentation "Use HDMI as composite requires more CPU usage." Does that mean that using the audio over the HDMI is going to use the CPU less or more?
2
votes
1answer
931 views

Spotify-Connect Fails to Change Volume on USB Sound Card

Good Evening, Gentlemen! I successfully installed spotify-connect on my Raspberry Pi 1 B. I can start it as follows and it works well: sudo /home/pi/spotify-connect-web.sh --username XXX --password ...
2
votes
1answer
701 views

pHAT DAC 3.5mm solder pins

Like many others, I have been working on a handheld gaming system using a Raspberry Pi Zero. One of the downsides of doing this, however, is that it has no sound built in, other than through the HDMI ...
2
votes
1answer
3k views

Connecting a Behringer UM2/UMC22 audio interface

I'm looking for a not-so-expensive solution to get sound input into the Pi 3. As I'm a sound artist, this should have reasonable noise levels, and in the particular case I also want to amplify a ...
2
votes
1answer
4k views

I2S microphones on Pi 2 and 3?

I'm trying to get a pair of I2S microphones working on a Pi2/Pi3. FWIW, it's a pair of http://www.invensense.com/wp-content/uploads/2015/02/ICS-43432_DS.pdf. Here is some relevant output: $ uname -a ...
2
votes
1answer
85 views

Can the audio jack of the Raspberry Pi 2 play ultrasounds?

Does any one know if the Raspberry Pi 2 is capable of playing frequencies over 40Khz from the audio jack?
2
votes
2answers
5k 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 ...
2
votes
1answer
4k views

Shairport and Shairport-Sync problem

I have been trying to use my Pi as an AirPlay receiver for my home stereo system. To do so I first downloaded shairport using this tutorial, How-To: Turn your Raspberry Pi into a AirPlay receiver to ...
2
votes
2answers
2k views

Audio amplifier hardware

We design a wooden box with a high-quality speaker inside. Inside the box we have a Raspberry Pi 2, which generates music. We need about 15 Watts power for the speaker, max. We could amplify the ...
2
votes
1answer
5k views

Stream audio from PC to Raspberry Pi in realtime?

I want to create a wireless headset project (just for fun). I want to be able to power my Raspberry Pi through USB, then connect my PC to the Raspberry Pi. All the sounds coming from my PC should be ...
2
votes
1answer
4k views

How to use Jack (or similar software) to route music played in the Pi as audio input (like a microphone)?

I'm trying to make a small music reactive light project with the RPi. I'd like to play music (using whichever software in Raspbian), and to interpret that music as audio input to process while still ...
2
votes
3answers
4k views

Create Startup Sound

I know that this question has already been answered, but the method described here is actually not working for me... o.O I read in some other forums that a different formatting is required, but I don'...
2
votes
1answer
4k views

Streaming Audio to Multiple Wireless Speakers

I would like to be able to stream audio from a raspberry pi to multiple wireless speakers in the same room (synchronized). I would also like to be able to control the raspberry pi with a computer or ...
2
votes
3answers
1k views

Raspberry Pi Speaker

I am thinking of doing a project with my Raspberry Pi. I am going to put the Raspberry Pi near my front door and attach a speaker to its audio output. Then I will go to my Mac and say something into ...
2
votes
3answers
1k views

Music, stored on the Pi, played over HDMI with visualisation, controlled from mobile phone

I have a television with HDMI input. I also have a bunch of mp3s. What I'd like to do is this: Put all the mp3s on the SD card in my Raspberry Pi. Plug the raspi into the television with HDMI. Have ...
2
votes
1answer
482 views

Simultaneously using GPIO 4 (Pin 7) while playing Audio

Whenever I play audio using the built-in analogue output jack, I lose control of GPIO 4 pin. Specifically, I am transmitting FM waves by Pin 7 using pifm (http://www.icrobotics.co.uk/wiki/index.php/...
2
votes
1answer
2k views

Maximum audio sampling rate with HDMI output

What is the maximum supported audio sampling rate supported with the Raspberry Pi's HDMI output? When I play 24 bit, 96KHz tracks in MPD, it appears to be resampling down to 48KHz, as reported by: $ ...
2
votes
2answers
1k views

Best USB sound card for signal elaboration

I would like to buy a USB sound card compatible for Raspberry Pi. The main goal is to acquire sound from an external device and send it for signal elaboration on the Raspberry Pi. What usb sound ...
2
votes
1answer
4k views

Suitable microphone for IO pins

I am using the IO pins of the Pi to drive a speaker and a microphone. The speaker is easy to find, just a cheap one from Cool Components however I am finding it harder to find a suitable microphone. ...
2
votes
1answer
1k views

Raspbian sound problems

I'm having problems getting sound to work on my RPi. I'm running raspbian, and I want the sound to play over HDMI. I've tried omxplayer -o hdmi path/to/myfile.mp3 with the HDMI cable, and omxplayer ...
2
votes
1answer
2k views

Simultaneous HDMI and Analog output stopped working (raspbmc)

I had audio being output to both HDMI and Analog outputs perfectly... Now I can only select one output or the other, but not both at the same time. Unfortunately I have no idea what I did or when ...
2
votes
1answer
129 views

How can I add a login sound to the login GUI screen on Raspbian

I'm trying to add a login sound to Raspbian, but I have no idea how to do it. Just so you know, when I mean login sound I mean after you type you user name and password. Anyone got any suggestions. ...
2
votes
1answer
880 views

How to redirect Raspbmc audio output to Android device?

I am using Raspberry Pi as a HTPC using Raspbmc. I control Raspbmc using the Yatse remote control app installed on Android smartphone and tablet. There are times when I wish I could watch TV using ...
2
votes
1answer
1k views

pygame.mixer sound not playing when script run from command line

For the project I'm working on I have a python script that accepts some serial input and plays sounds depending on the input. I have the script set up and it works just fine when I run it from within ...
2
votes
1answer
119 views

Pi bluetooth audio: can't get LMS squeezelite audio to BT

I have a Pi 3B+ running Raspbian Stretch. I want to send audio via the built-in BT to a Logitech Audio Adapter which feeds my stereo. I can do this from the command line via either aplay or mpg123 so ...
2
votes
1answer
458 views

Using hardware PWM and audio simultaneously

I am developing a project on a Raspberry Pi 3 B+. I am using the PWM0 channel to send a custom-made IR signal using PiGPIO waves. I gather it might then be possible to use PWM1 for mono audio; is that ...