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

1
vote
0answers
21 views

Raspberry Pi 3 bluetooth stops working after a while

I use it to connect to a speaker (as a pulseaudio sink) dmesg | grep Blue shows the following: [ 14.034501] Bluetooth: Core ver 2.22 [ 14.034587] Bluetooth: HCI device and connection manager ...
0
votes
0answers
10 views

RPI 2 - Libreelec with Kodi - sound improvement

I installed Libreelec (with Kodi) on the Raspberry Pi2 and I did connect it to a PC Monitor (HDMI). PC Speakers connected to the monitor or even to the Raspberry Pi (3,5 mm jack) give me poor sound ...
2
votes
0answers
18 views

Pi with PulseAudio over wifi - can't connect

I was trying to set up my RPi 1 as audio device for my laptop and found this answer. On the RPi all the steps worked fine, except that /etc/default/pulseaudio is empty. But in the linked answer the ...
0
votes
1answer
24 views

Can I use the Raspberry Pi as a Soundcard

I have an HifiBerry AMP2, which is a RPi hat that lets the RPi act as an audio amplifier. Now I want to connect my PC (Mac) to the RPi, but it does not have a line- or mic-in. So I am wondering if I ...
0
votes
0answers
9 views

Record video and audio from framebuffer

I'm trying to record in a video the actual content of the framebuffer along the audio currently outputted (alsa). For the video I'm using the following command: ffmpeg -y -f fbdev -i /dev/fb0 -vsync -...
1
vote
0answers
15 views

Raspberry Pi Audio Bridge

I would like to connect audio from a TV to be received into a Raspberry PI and then be transmitted via Bluetooth to a wireless Bluetooth speaker, is that possible? If so, how? Audio card?
0
votes
0answers
20 views

Bluetooth Audio does not seem to work on Raspbian Strech

After installing Raspbian Strech from NOOBS_v3_0_0 on my Raspberry 3B I have observed that setting up Bluetooth is not a completely easy matter. Most helpful was the installation of the BT manager as ...
0
votes
0answers
5 views

Audio problem with seeed 2 mic phat

I am trying to get Mycroft ai to work on a pi 3 b+ with a seeed 2mic pi hat. I have installed the driver and I know the speaker works (not sure about the mic) and edited the boot file so the card is ...
-1
votes
0answers
42 views

raspberry pi zero audio output

I want something like JustBoom DAC Zero pHAT but there are no additional pins for something else. I'm noob in prototyping. What i have to do?
0
votes
0answers
9 views

TDOA Estimate and Plotting results on Matlibplot

I edited the following code in order to the estimate location of sound source(drone) using four stereo microphones. The microphones are connected to Rpi 3 through a stereo to usb converter (HF0200C). ...
1
vote
1answer
50 views

How can I find the answer to “What does Raspbian use to handle audio?”

I think some releases of Raspbian handle audio differently than the previous version. If the use of ALSA or Pulse Audio (or some other software) has changed with Raspbian releases, what do I need to ...
0
votes
0answers
11 views

PIPE jack_capture on pi_fm

I want to transmit sound over FM with a Raspberry pi. To avoid latency, I would like to use jackd rather than ALSA to process audio. I try this command to route stdout into pifm : jack_capture -ws |...
1
vote
1answer
15 views

which GPIO pins can I use on top of the PhatDAC?

On Pi zero, when I connect switches to GPIO23 and 24 the PhatDac stopped working. PhatDAC is connected to Pi zero by tall header so I connect my switches thru pins. The switches work correctly with ...
2
votes
2answers
93 views

Driving an 8 Ohm, 0.25 W speaker using GPIO or audio output (RPi 1 Model B)

I'm trying to build a Raspberry Pi into an old toy phone and use the GPIO pins to read the numeric pad (this part is working) and attaching the RPi's output to the built-in speaker. The speaker says "...
0
votes
0answers
18 views

arecord only works with -D

Long story short, my mic was working fine yesterday. I then had a pair of USB speakers connected and then again disconnected. And now I cannot get the little thing to do a arecord with using the "-D" ...
0
votes
0answers
19 views

Christmas Present Help - Raspberry Pi 3 - Run Interactive Python Program in Console on Login

So, I'm using the Pi 3 as a soundboard using the code found here: What I am looking to accomplish here is to have the Pi automatically run the code upon boot. So far, I have changed the default ...
-1
votes
0answers
24 views

HiFiBerry using Qt - change default audio device

I try to access the HiFiBerry board from a Qt Quick Application using QMediaPlayer. But QMediaPlayer still uses the analog headphone connector of the RasPi3 instead of the output of the HiFiBerry. I'...
1
vote
0answers
34 views

Simple intercom with rPi

I saw someone had a question a couple of years ago about connecting his intercom (which used a phone line) to a rPi and none of the answers were realistic. I also would like to do some simple project ...
1
vote
2answers
34 views

aplay can see sound device but amixer can't

I'm using the speaker bonnet / following instructions from adafruit: https://learn.adafruit.com/adafruit-speaker-bonnet-for-raspberry-pi/raspberry-pi-usage. I followed all of the steps (skipping the ...
1
vote
1answer
45 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
81 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?
-1
votes
0answers
21 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
23 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
26 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
52 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
35 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 ...
-1
votes
0answers
26 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
47 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
24 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 ...
-1
votes
0answers
16 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
39 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
28 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 ...
-1
votes
0answers
45 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
19 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
44 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
32 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
19 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
48 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
21 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
46 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
145 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
44 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
28 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
53 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
150 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
474 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
20 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
86 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 ...