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

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

0
votes
0answers
18 views

Transfer sound from raspberry pi to another machine (running Ubuntu) [on hold]

I would like to transfer sound from my pi to another machine. For instance, if I was remotely logged in to my pi and executed an(y) application which produced sound I would like this sound to be ...
0
votes
0answers
18 views

gstreamer & alsa: stops audio output through jack when usb mic is activated

Now I'm facing a problem and need some advice, on RPI 3B+. Using two gstreamers with each pipeline, to: 1) receive an RTP stream and play it on Pi's jack. gst-launch-1.0 -v udpsrc port=20001 caps="...
0
votes
0answers
19 views

No sound in VLC over bluetooth

I'm trying to create a media center using a Raspberry Pi 2 model B. The setup consists of the raspberry, a TV connected over HDMI, and a soundbar connected via a bluetooth dongle. I'm using the latest ...
1
vote
1answer
20 views

Connecting Hifiberry Digi+ clone (PiFi Digi+ V1.0) to an Raspberry Pi 1 B (26Pin Header)

Hi I wanted to make use of an older Raspberry Pi and build an Volumio Music Player. I ordered Hifiberry Digi+ clone (PiFi Digi+ V1.0), unfortunately I forgot I own an older Raspberry Pi 1 B with the ...
2
votes
1answer
64 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?
0
votes
0answers
16 views

Python - Microphone recognition problem

I'm recording sound perfectly via arecord command. I use MEMS microphone with i2s interface and works well. But also I installed soundmeter program from https://pypi.org/project/soundmeter/, and it ...
0
votes
1answer
20 views

audio doesn't play when running program on startup

I have a python code that runs an mp3 file. It works perfectly when I run it through python 3.5.3 shell on my pi-top, and I also managed to make the program run on startup, but then everything works ...
0
votes
1answer
22 views

Provision Pwm out makes 3.5mm audio hang

Using pi4j and wiring pi configuring hardware pwm pins for driving servo motors. Also using freetts (speech to text) library for speech. My speaker is actually connected to amplifier to 3.5 mm jack (...
0
votes
1answer
26 views

Route Audio Output Through USB Audio Jack

I've an rPi Zero that I want to connect to my speakers to utilise it as an AirPlay receiver via Shairport. I've made the same setup with my Model B+ and it works great. However, even though I made ...
0
votes
0answers
24 views

How do you output audio through the GPIO pins on a Pi 3B?

I want to just be able to connect some wires from the GPIO pins to a tiny speaker. What pins do I use and how do I set it up? I've tried making a script where I set pins 12 and 13 to HIGH and tried ...
0
votes
0answers
21 views

Audio problem with audacity

When I try to play audible books or some youtube videos on my raspberry pi 3 I get a static hiss. It is not a power supply issue since many other programs play audio just fine. It is only on some of ...
0
votes
0answers
19 views

Raspberry Pi GPIO Music Box Project Error

I have recently begun a project using my Raspberry Pi 3 B. This project is the GPIO music box:(https://projects.raspberrypi.org/en/projects/gpio-music-box/). However, as I have begun this project, I ...
0
votes
0answers
17 views

2-way communication with Raspberry Pi and Laptop/Phone on WebRTC with UV4L

I am trying to run UV4L on my Raspberry Pi to establish a two-way communication via WebRTC. I have been able to stream the video from the Pi Camera and Audio from my laptop to the rpi's speakers but ...
0
votes
0answers
21 views

Can't achieve to output the sound to the Jack

I've got a Pi 3 B+, I wanted to send the sound output to the jack. My system is Raspbian GNU/Linux 9. To test the audio I do speaker-test -t sine -f 440 -c 2 That works fine, I hear the sound on ...
0
votes
0answers
14 views

Recording audio with Rasbperry Pi 3 and TEA5767

I'm trying to make an FM radio using a TEA5767 while also trying to sample 1-2 seconds of audio through the pi and was wondering how could I go about that? I'm thinking of feeding the aux out of the ...
0
votes
0answers
25 views

Multiple USB-audio dongles in raspberry pi

I need to record multiple microphones independently based on external events. I wonder if having a USB hub and multiple USB-audio dongles will allow me to do so. So my questions are: How are these ...
0
votes
1answer
25 views

Need advice on how to record video and audio using my RasPi

As an experiment and learning project, I want to create an action cam using my RasPi Zero W, the latest version of the RasPi camera module and an i2S microphone. I have found some RasPi action cam ...
0
votes
0answers
23 views

Volume only 0 or 100% when controling through iphone

I have configured my rpi 3B+ & HiFi Berry DAC+ Pro to receive audio from my iphone through Bluetooth and send out analog audio through RCAs. There is no need for any additional apps on my phone as ...
0
votes
0answers
14 views

Output in PulseAudio only switchable when running in root account

I'm trying to have PulseAudio play sound through the HDMI port. Sadly this doesn't work, when loggen in as a normal user. The green tick is non existent in all accounts, but the root account, which ...
0
votes
3answers
38 views

No audio output through 3.5mm jack but OK through HDMI

I'm having trouble with audio playing through 3.5mm jack. Audio is playing fine through HDMI, but when 3.5mm jack is selected using all 3 options (i.e. - terminal command, configuration tool or by ...
1
vote
1answer
26 views

Is there a way to detect if the AUX port of the Raspberry Pi 3 Model B+ is in use?

We are trying to detect if the AUX (3.5mm) port of the Raspberry Pi is in use so we can automatically swap the output sound to either that or HDMI. If there is no straight answer, are there any ...
0
votes
0answers
18 views

Need to run a gpio high when audio playing

I'm fairly new to the raspberry pi, I am working on a smart mirror project with a Chromecast audio receiver. I am running raspbian stretch. I want to use a relay to turn on the audio when the pi ...
0
votes
1answer
46 views

How to run ssh without needing as password? [duplicate]

Want to send audio from one RPI to another over my network using sox. therefore need to run ssh without password. How to do this on a simple way?
0
votes
0answers
23 views

Strange sound errors with pygame on Pi

Getting some strange behaviour with my application that plays sound using pygame.mixer. Because reasons, I have a bunch of sounds, and for each sound, there are 3 versions of each sound pre-made as ....
0
votes
0answers
20 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
1answer
33 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 ...
1
vote
2answers
105 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
31 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
25 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
48 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
83 views

Bluetooth on RPI 3B+ suddenly stopped working

A few months ago I set up A2DP with this tutorial. After some time the Bluetooth seems to have stopped working. Not because of the tutorial, but rather because of software issues with the Pi. Now, ...
0
votes
0answers
328 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
33 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
18 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
13 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
74 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
87 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. ...
1
vote
2answers
98 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
20 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
152 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
22 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 ...
2
votes
1answer
104 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
55 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
141 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
3answers
37 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
105 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
38 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
34 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
202 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
38 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 ...