Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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

1
vote
1answer
24 views

Speaker for Pi Zero W

I'm looking for speaker without battery. I mean I need a speaker whose power can be supplied by raspberry pi zero w. I think I can use USB 2.0 simple speaker. I can cut its usb cable and connect its ...
0
votes
0answers
15 views

ALSA RPI - Can I create a virtual array of microphones using two different input devices?

I have two PS3 eye (each one has an array of 4 mics) and I was wondering if I could create a virtual microhpone array using ALSA to acquire and use the two devices as if it was one array with 8 ...
0
votes
3answers
30 views

On-board or USB soundcard for better result?

I am working on a "low-latency audio" project and I was wondering which card offers better performances, an Usb one or an on-board ?
0
votes
0answers
15 views

Raspberry Pi as bluetooth Microphone

I would like to use the raspberry pi as a bluetooth microphone for my iphone. Not the speaker, ONLY the microphone. My vision is to have a microphone plugged into the raspberry pi that could connect ...
0
votes
0answers
17 views

Wiring 3 MEMS Mics to a Raspberry Pi Zero

I was following this tutorial to wire 2 MEMS mics to my Raspberry Pi Zero W for stereo recording: Adafruit I2S MEMS Microphone Breakout - Raspberry Pi Wiring & Test After I got this working, I ...
0
votes
1answer
19 views

What's wrong with my PyGame audio code? [closed]

from pygame import * mixer.init() a = mixer.Sound('a.ogg') b = mixer.Sound('b.ogg') a.play() time.delay(170) a.stop() b.play() I ran the code on a Raspberry Pi 3, but a.ogg doesn't play. I could ...
0
votes
0answers
19 views

Inconsistent USB Audio performance

I have been working on using a RPI to run a SIP client for a simple call centre. Last week I installed from scratch the latest Raspbian build, installed Ekiga, connected my Senheiser SC60 headset and ...
1
vote
1answer
36 views

Command aplay does not work without sudo

The command aplay only works if preceded by sudo. omxplayer test.wav will play the audio I recorded with arecord just fine. aplay text.wav does not, but sudo aplay test.wav does. The suggestions from ...
0
votes
0answers
23 views

aplay with 3 outputs; choose any two? NOOBS

I have a 3B+. I need to be able to tell aplay, on each invocation, which of 3 audio outputs to use - headphone out, HDMI, or a bluetooth device. I can get any ONE of them to work by right clicking ...
0
votes
1answer
55 views

pygame.error: No available audio device

I'm using Raspberry Pi 3b, usb mic and 3.5mm audio jack as speaker. mic is hw:1,0; speaker is hw:0,0 Everything works fine except that I'm unable to get pygame.mixer.Sound.play() in a python script ...
0
votes
0answers
27 views

Internet Radio Device with batteries

I have a project that I will make a connection with the Internet and listen to a stream (in my case IP:port or .ogg, .m3u URL online radio station) then decode the music and transmit it to speakers ...
0
votes
1answer
34 views

Combine/Merge different Raspberry Pi Images

I tried to find something about it, but I didn't found anything. I want to run the two images of Picroft and Pi MusicBox or Volumio on the same Raspberry Pi. Is there a way of merging/combining two ...
0
votes
0answers
115 views

Raspberry Pi Zero W Bluetooth audio

I'm working on a project involving Bluetooth audio and a Raspberry Pi Zero W. I plan on using the VLC module for Python along with a Bluetooth speaker to stream audio. However, I cannot seem to get ...
0
votes
0answers
11 views

Audio replay drops out on 3B +

I have my netbooted Raspberry Pi 3B+ that I'm hoping to use in a VOIP application, but at the moment I can't use it as the audio is choppy. What I have noticed that the activity led flashes ...
0
votes
0answers
49 views

SIMPLE setup for RasPi PulseAudio

Setup is new, pretty stock (OSMC). Connected a2dp-app-osmc, mobile & successfully pushing audio (Spotify) to device in a similar fashion as a bluetooth speaker. SWEET :) What I need now is to ...
1
vote
2answers
39 views

Testing my low frequency generator

I have my pi hooked up to a shaking device, and I'm looking to drive it at relatively low frequencies. My code looks like this: # Import the necessary header modules import RPi.GPIO as GPIO from time ...
0
votes
1answer
61 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 ...
0
votes
1answer
52 views

Bluetooth Connecting two devices

I am trying to set up bluetooth so that I can play music from both my phone and my computer in alternation (ie, if I want to go in the other room on a call where the phone stops playing, i can switch ...
0
votes
0answers
20 views

Independent bluetooth audio output

I have a pi3, 2 bluetooth speakers and 2 usb bluetooth dongles. with bluetoothctl I am able to connect each bluetooth speaker to each one of the receivers. I would like to send a specific mp3 file ...
0
votes
1answer
41 views

How to connect speakers onRaspberry Pi WH through PWM?

Let's say I am trying to embed a Pi WH in my motorcycle helmet. I need thin speakers just by the ear to hear sounds (so, I don't need them to be too loud). * by the way, piezo speakers won't do it ...
0
votes
0answers
12 views

Usb Sound card microphone not recording on boot

I have a raspberry pi3, and an external usb soundcard. It works 90% of time but when i reboot the Pi, the recording is not working until i deselect the capture and then reselect it in AlsaMixer. It is ...
0
votes
0answers
52 views

Video Chat App for Raspberry Pi?

I am searching for an app through which I can send my voice and video feed to another user on laptop using picam and mic module and recieve voice from him. I am gonna use Raspberry Zero W with picam. ...
0
votes
1answer
23 views

Switch audio output not working

I'm using Raspbian Stretch Desktop for my Raspberry Pi 3B. I'm using a VGA screen with an HDMI to VGA adapter, so I want the jack to work as my main audio output. If I unplug the HDMI and reboot, the ...
0
votes
2answers
28 views

Whistling sound from speakers on connecting USB mouse

I'm using GPIO12 & GPIO13 for PWM audio output to a set of powered speakers on a Raspberry Pi 3. However the speakers have a continuous high pitched beep to them which seems to be tied to the ...
0
votes
0answers
44 views

PyAudio callback method producing clicking, depends on bitrate?

I am having a lot of trouble getting PyAudio callback method to produce uninterrupted sound. I am generating data to play using keyboard clicks set to different notes. Whenever I run the file I get ...
1
vote
1answer
24 views

How can I output my USB microphone through the jack port?

My Raspberry Pi 3 is going to be used like a music center, it will play various songs and videos but recently I want to implement a "voice amplifier" command or software, I tried to find on Google ...
1
vote
0answers
41 views

Raspberry as FXO [closed]

So I was thinking to build my own voip system for my home. I've got a landline coming to my house. I was researching FXO cards and found out that they are really expensive so i'm thinking if i can ...
0
votes
0answers
65 views

Why won't pygame play sound over Bluetooth when everything else works?

I having trouble getting a program I've written using the pygame sound mixer to play sound to work over Bluetooth. The program is able to work correctly over HDMI audio. The Raspberry Pi has no ...
0
votes
1answer
39 views

Cracking sound on Speaker connected to USB Soundcard

I have connected speaker on USB sound Card with PAM8403 Amplifier before speaker to amplify sound on Raspberry Pi Zero W. I get constant cracking sound coming from it. I have connected 3.3V as VCC on ...
1
vote
0answers
22 views

RPi3 B+ Stretch. Config for external capture device & onboard headphone jack

I am planning to use an external Microphone "ReSpeaker 4Mic Hat" from Seeed-Studio on my RPi3 B+ Stretch OS. However, when I run alsamixer, my external Mic is not the default capture device. It seems ...
0
votes
0answers
25 views

Chromium and ALSA route problem

I have set up a virtual device in asoundrc which works in Audacity but when I open it using the Chromium --alsa-input-device flag I get the following error: Rate doesn't match (requested 48000Hz, get ...
0
votes
0answers
18 views

OpenELEC - using HDMI alongside audio jack

I'm using Rpi 3 for OpenElec and Kodi. HDMI is connected to TV, and I wish to connect analog audio to home theater surround system. Is there a way to combine both outputs ? tnx
1
vote
0answers
54 views

Bluetooth as a virtual audio device (input)

I am trying to setup this audio-reactive-led-strip library but with Bluetooth audio as the input. I have so far, got my LED strip to work with the standard strandtest.py and have also successfully ...
0
votes
0answers
21 views

Audio to both 3,5mm jack and bluetooth speaker

Is it possible to play the same audio with for eg, VLC(or any other software) to both a bluetooth speaker and through the speakers connected to the 3,5mm jack?
1
vote
1answer
37 views

What type of audio output does pi0 w give as default via USB?

What type of audio output does pi0 w give as default via USB? I am looking to get some high quality audio out of a pi0 w and have a small touchscreen hat so I am hoping to get I2S sound out the usb ...
1
vote
1answer
44 views

Would the Adafruit USB Audio Adapter be sufficient for Pi 3 B+ audio?

I have a Pi 3 B+ and overall it's really good but has one glaring defect: the audio from the audio jack with a set of (non-HDMI) external speakers is total and utter garbage, distorted almost beyond ...
0
votes
0answers
14 views

Audio on some programs is grainy and buffery

My system is Raspbian + Debian + some Debian Sid packages. I have a Pi-Top with no extra accessories, so am using the headphone jack. In the program Denemo (sudo apt-get install denemo/sid), the ...
0
votes
0answers
24 views

Omxplayer loop, sound off at evening on again morning

Is it possible to achieve this with omxplayer looping on a rPi? I want the Pi to pretty much be untouched looping a video on a screen with sound throughout the day, and mute the audio at evening and ...
0
votes
1answer
44 views

Alsa combine 4 mono usb microphones into 1 stereo device

Based on this post: https://raspberrypi.stackexchange.com/a/58174 I was able to get 4 usb microphones to behave as 1 device with 4 channels. What I am looking to do is down mix the 4 microphones into ...
0
votes
0answers
29 views

When trying to play recorded audio file using aplay, gets an error saying No such file or directory

I'm trying to record and play recorded audio file. I use Armbian. I recorded a audio using arecord -D plughw:0,0 --duration=10 test2.wav command. When I'm trying to play that audio file(test2.wav) ...
1
vote
1answer
139 views

No sound through 3.5mm jack

I've followed the instructions to "force sound over 3.5mm jack" but when I run omxplayer example.mp3 I get no audio. When I force omxplayer to play over the 3.5mm jack using omxplayer -o local example....
0
votes
0answers
35 views

USB Audio Input and onboard Audio output

I am working on a project for my RPI and I have a question that I would like to know the answer too before I start dropping money on all the different parts. For some LED strips, specifically the ...
0
votes
0answers
45 views

Raspberry Pi Intercom or 2 way radio on Node-red

I am thinking of a few projects where this practicality would come in handy to turn a raspberry pi, or similar hardware into a 2 way radio. One is a baby monitor type, where I can stream in mic audio ...
1
vote
0answers
54 views

Error running headless jackd

I'm following the instructions here to run jackd on my headless Raspberry Pi 2 Model B. The only difference is that I'm using the standard packaged jackd instead of the autostatic ones mentioned ...
0
votes
0answers
19 views

USB Audio Adapter Redirect

I currently have a setup on my RPI using a USB adapter which has an Audio Input and an Audio Output. Currently I am using the Audio Input information to control GPIO pins on the RPI. I am taking in ...
2
votes
1answer
138 views

Real time audio input for use in Python program

I am working on some audio manipulation with my RPI and have a question on how I should process the signals. Right now I have a USB adapter with an Audio In and an Audio Out. What I would like to do, ...
0
votes
0answers
178 views

Streaming audio on the Raspberry Pi Zero W with ffmpeg

I have a problem with ffmpeg giving no audio when recording using alsa. Does anyone know how to get a Raspberry Pi Zero W to record and stream audio with ffmpeg using alsa? I have a project where I ...
0
votes
0answers
38 views

Java application uses wrong audio output

I have a raspberry pi 3 model b+. I have paired it with a bluetooth speaker, and it plays sound correctly through that speaker. Except when my own java application tries to play an mp3 file, it sends ...
0
votes
1answer
65 views

Frequency bands from FFT (audio visualizer)

I'm currently working on an audio visualizer running on a 64x64 LED matrix, and some tests showed that the Pi1 is totally capable of doing that. I'm receiving raw PCM audio data using PortAudio, and I ...
1
vote
0answers
58 views

PortAudio is not listing my USB audio card

I'm having a weird issue currently, which I'm not too sure how to resolve as of right now. On my Raspberry Pi 1, there's a USB sound card connected, where I need the microphone input from (the pi is ...