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

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

0
votes
0answers
11 views

Connect Multiple Bluetooth Speakers with Raspberry Pi

I'm trying to connect several bluetooth devices with Raspberry PI rev.a22082 to use them as speakers. I'm using RetroPie as a distribution, because of the tests i've done it's the only one that ...
0
votes
0answers
17 views

Simplest way to setup a broadcasting service

Currently I am paying for a Shoutcast service with a company and I want to thrown my old PC so I can move to a Raspberry Pi. I want it to broadcast the stream when the latter is not picked up by ...
0
votes
0answers
19 views

Cannot play audio from two processes at the same time

I want to be able to output to a speaker from multiple applications at the same time, but currently it's only allowing me to output to the speaker from a single application. I have the following ...
0
votes
1answer
44 views

Output sound over USB and into a computer (no 3.5mm jack)

I am trying to make a soundboard for my computer using my raspberry pi and a touchscreen. In order to mix the pi's sound out with my mic, I need it as a separate input to my computer (my mic uses the ...
1
vote
0answers
14 views

USB Soundcard shows mic as Playback device in alsamixer

I have some trouble with my USB sound card 68878 from goobay. Alsamixer showing unexpected devices Secondly when I use alsamixer displaying Playback items. I see both a Speaker and a Mic: For ...
0
votes
0answers
22 views

Stream all audio line input to a snapchat server

I have a Raspberry PI 3, Model B. I'm using a USB Soundcard. What I'd like to do is to stream all the audio that comes in over this sound card to a Snapcast server that then distribute it to its ...
0
votes
1answer
36 views

Voice recognition of just 1 word

New to Raspberry Pi - I want to create a device which upon hearing a particular word it will activate/deactivate something. E.g. if I say the word "light", it will turn on/off an LED light. The ...
0
votes
0answers
19 views

Bluetooth on RPI 3B+ suddenly stopped working

A few months ago I set up A2DP with this tutorial. After a some time the bluetooth suddenly seems to have stopped working. Not because of the tutorial, but rather because of software issues with the ...
0
votes
0answers
74 views

Sound issue - “no alsa audio devices were detected. Enable the internal audio device…”

Something strange is going on, when I connect a set of headphones to my raspberry pi running jessie via the 3.5mm jack, I get no sound. on my other pi device with Scratch, it does work! There is a ...
1
vote
1answer
29 views

Can I use PWM with hardware audio input?

I know that i cannot use pwm and audio output at the same time, can I use the audio input? I want to move some servos based on an audio trigger signal.
0
votes
0answers
14 views

Hardware for Audio Resampling

I wanted to ask if anyone knows of a hardware that does PCM audio resampling which can be attached to the Pi. Also does anyone know of a hardware that can do some kind of audio compression (like the ...
0
votes
0answers
12 views

How can I monitor the input levels on a usb sound card?

I need a script to monitor the levels on a usb sound card and when they drop below a certain level make a post request to an api. I know this is possible but I'm having a hard time figuring out the ...
0
votes
1answer
42 views

.asoundrc file is rewritten on each boot

i read all of the posts here and commentated on one of them but comment was deleted as it was a question i guess, so i mage my own now, sorry for that... Ok the problem: USB sound card mic is not ...
0
votes
1answer
41 views

Retroactive audio recording/continuously record audio, save last X minutes on command?

I'm trying to set up my Raspberry Pi to continuously record the last X minutes of audio until given the command to save it to a file. The only comparison I can make is an NVIDIA Shadowplay for audio. ...
0
votes
1answer
42 views

Real time sound level through usb audio card?

I am wondering if there is an easy way to measure the amplitude/sound level of an audio signal being input to the rasbperry pi via usb sound card. I would like to play music into the sound card input ...
0
votes
0answers
24 views

speaker-test -t wav not working

When typing the command 'speaker-test -t wav' to test my USB speaker, it get the response: Playback device is default Stream parameters are 48000Hz, S16_LE, 1 channels WAV file(s) ALSA lib pcm_plug....
0
votes
0answers
19 views

Pi 3B+: maximum USB audio devices permitted?

I have 3 USB 2.0 audio DACs, all controlled by a Pi 3B+. (They are https://www.amazon.com/gp/product/B00NMXY2MO/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1, if someone wants to reproduce the ...
0
votes
0answers
66 views

MPD with Bluetooth

Is it possible to run MPD with bluetooth in the Pi? Currently many guides which I have seen are mostly utilizing Upnp/Wifi setup to run. Now this is fine if there was only Apple devices. Since ...
0
votes
0answers
15 views

No sound through headphones using libreelec

I have set up libreelec so it can play videos on my pi 2 that is connected to the official touchscreen, however, there is no audio output. I have set the audio to output to the analogue output in ...
1
vote
1answer
49 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 ...
0
votes
0answers
31 views

Raspberry Pi 3 Bluetooth connection with headset and with mobile phone through soundcard

I want to connect wirelessly a headset with Raspberry Pi 3 and then connect my mobile phone with raspberry pi through audio jack pin/sound card. *) I have successfully established connection wireless ...
1
vote
1answer
50 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
24 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
34 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
51 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
31 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
0answers
25 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
103 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
31 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
208 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
43 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
79 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
354 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
14 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
236 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
70 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
187 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
125 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
23 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
55 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
184 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
30 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
32 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
102 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 ...
2
votes
1answer
27 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
98 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
153 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
67 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
30 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 ...