We’re rewarding the question askers & reputations are being recalculated! Read more.

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
1answer
1k views

jackd with raspberry pi 3 jackd server stops

I'm using jackd2 on my raspi3 with a USB sound and recording device like this one. Build is Jessie https://www.amazon.co.uk/Adapter-External-Headphone-Speaker-Microphone/dp/B016CU2PEU/ref=sr_1_2?ie=...
0
votes
0answers
163 views

Using Raspberry Pi to make Sonos work with any receiver (autoswitch)

Detect audio (voltage) Send IR command (switch receiver input) Features Learn IR Command Adjust detection sensitivity Result - When a Sonos Connect zone is activated it switches receiver to the ...
18
votes
7answers
24k views

If I plug my headphones into the audio jack, how do I control the volume?

This will be useful to know before I start just in case the volume is turned to the maximum by default. Also, more importantly, will the maximum volume be high enough to cause immediate hearing ...
1
vote
1answer
6k views

Raspberry Pi to sync lights to audio input from PC

Is it possible to make the Raspberry Pi sync lights to sound coming from PC. I would use an usb soundcard for a sound input and AUX audio cable. I'm running lightshowpi which works fine, but it is ...
0
votes
0answers
79 views

Changing volume with connected bluetooth phone

there. Since I recently just started on my first projekt with the Rpi, Iam a noob when it comes to figuring solutions out.. I successfully connected my iPhone with the Raspy (Model 3, B+) and it is ...
0
votes
0answers
53 views

ReSpeaker 2Mic Expansion Board Not Showing Up Under “aplay -l”

I am very new to the raspberry pi. I am setting up the Respeaker 2Mic Expansion board on my Raspberry Pi 3 B+. I have downloaded the files from GitHub through the terminal, have physically connected ...
0
votes
0answers
227 views

RDP on RPi to Windows10 Remote Desktop

I want to be able to send sound from my RPi (3B+) to my Windows10 laptop. I have XRDP installed on the RPi and Windows Remote Desktop on the laptop. I also need to be able to send sound from the ...
0
votes
0answers
51 views

No sound from my RetroPie

Hi I just setup my RetroPie and have no sound from it. My tv works fine in the hdmi slot I am using, any ideas why I am not getting sound from my Pi? I get sound on the video previews of games but ...
0
votes
0answers
34 views

DC biased sine generation on the Pi

I'm trying to make a sine wave generator using a Raspberry Pi. I need an sine wave(1Vpp) with user supplied frequency riding on a 4V DC bias. The SoX package seems useful to generate sine waves and ...
0
votes
0answers
400 views

Changing bluetooth class to act as a hands free device and car audio

Good morning folks, I have been using this tool to quickly configure my Pi2 as a bluetooth audio link to my camper van, it works brilliantly. My question is regarding changing the class of the ...
0
votes
0answers
73 views

How to stream audio/video from Raspberry Pi to Windows PC

I have a Raspberry Pi 3b that I am using as a radio server with a rtl-sdr (Realtec Software Defined Radio). I would like to have any audio coming from the Raspberry Pi to be streamed to my windows 10 ...
0
votes
1answer
165 views

How do I get audio to work on PI 3?

I've been trying to get audio to work on my Pi3. I'm able to get audio to my powered speakers through the 3.5mm jack. But like lots of others, I've encountered the background hiss that makes it nearly-...
0
votes
0answers
140 views

Play Midi/Audio files using PC speaker

I have managed to create a digital keyboard using a pi, a pc speaker and this tutorial: https://www.youtube.com/watch?v=nyYOYrsPZa4 But since I'm not much of a pianist or an audio engineer I would ...
3
votes
1answer
2k views

Raspberry Pi 3 Sound Not Working With HDMI

The sound simply doesn't work, I'm using HDMI on a large flat-screen TV. Earlier today I had it working with HDMI on a smaller TV that is not a flat-screen. I have heard that it may have something to ...
1
vote
0answers
114 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
0answers
205 views

Raspberry Pi as a bluetooth audio sink - how to make it 5.1 capable?

My Raspberry Pi (Pi 1 model B) is connected to a 5.1 analog sound system through an USB sound card (Asus Xonar U7). I added a bluetooth dongle and bluealsa to the Pi to turn it into an audio device, ...
-1
votes
1answer
178 views

Adafruit PAM8302A -> Raspberry Pi 3

I want to connect Adafruit PAM8302A amplifier to the Raspberry Pi 3 Model B+. What I need? How to do this?
1
vote
0answers
52 views

Need to play two audio streams at the same time

I set up a darkice server using raspberry pis in my kid's rooms as baby monitors. They steam to a website m3u file so VLC and to be the answer. I'm trying to accomplish 1 of 2 things. A.) Play both ...
0
votes
0answers
69 views

Multiple audio streams

For an arts project I'm trying to set up an audio system, where I think an RPi could come in, but am open to other suggestions. The project, quick overview: Twelve nodes, in a large circle (1-2 ...
1
vote
1answer
718 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
1answer
412 views

Raspberry Pi to windows machine rdp audio problem?

I am connecting to a Windows 7 machine, from my Raspberry Pi, and have earphones connected on the Raspberry Pi. When I play a video on the Windows 7 machine, I cannot hear the audio. How can I ...
5
votes
3answers
10k views

White noise through audio jack

I have been using Sonic Pi recently and have been annoyed by a persistent stream of white noise. This has happened on both Raspbian and Ubuntu MATE 16.04 for Raspberry Pi, using SENNHEISER MX356s. Is ...
2
votes
0answers
177 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
50 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
72 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
91 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
28 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 ...
0
votes
0answers
43 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
79 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 ...
2
votes
2answers
891 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
27 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
94 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 ...
1
vote
1answer
2k views

Output sound through HDMI and USB sound card

I have a Raspberry Pi 3, with OSMC installed as its OS. I used to have audio through HDMI and the 3.5mm jack at the same time, allowing me to either listen through the speakers of a TV, or through ...
0
votes
0answers
37 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" ...
2
votes
1answer
1k views

eSpeak over PHP on Raspberry PI

So I am trying to make a webserver on my Raspberry Pi which plays a voice using eSpeak whenever a page is loaded. I have installed apache2 and php5, and I also have a script to run eSpeak which I have ...
1
vote
1answer
1k views

How do I enable USB audio for GUI applications on Raspbian? (ALSA command line is working)

I'll say it again to be clear - ALSA on the command line works fine (after I delete/modify .asoundrc after it's auto-broken by PIXEL). The most seemingly contemporary answer I've found on modern ...
0
votes
0answers
30 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
vote
2answers
479 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
0answers
1k 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 ...
2
votes
1answer
3k views

Software audio mixer

I need to be able to simultaneously play several files on my headless Raspberry Pi and dynamically changing their volumes, preferably with Python. I managed to get it to work with the swmixer Python ...
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?
16
votes
4answers
63k views

Receive FM Radio on Raspberry Pi

I want to feed the FM radio signals to raspberry pi. Having a basic understanding of electronics, I figured out that a FM receiver and an ADC is required. Now I need help on how to proceed with the ...
6
votes
1answer
3k views

How to use both USB Mic (in) and on-board sound (out)

I'm trying to set up my RPi with on-board sound out and a USB mic in, but everything I've found only deals with both audio i/o on the same (external) sound card. What's happening in my situation is ...
0
votes
1answer
45 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
787 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
2answers
3k views

Using a earphone to give voice commands

Can I use a earphone (with mic) to use voice recognition feature of any AI API (like Alexa)in raspberry pi
2
votes
2answers
3k views

How to feed 8 speakers 8 different signals using a Raspberry Pi?

How can I output 8 different audio channels to 8different speakers simultaneously using a Raspberry Pi 3 and its or any other accessories? I am using the Wolfram Language, so I have 8 different "...
37
votes
7answers
102k views

Using Pi to stream all audio output from my pc to my stereo

My problem is quite simple but I have been unable to find a satisfying solution. Basically, I want my Raspberry Pi to be connected to my stereo and then play any audio output from my computer via ...
4
votes
0answers
279 views

I2s DAC audio out but USB audio in

I was wondering if anyone could help me. I am trying to set up my Pi 3 to be an assistant (Google or Alexa, etc). I had it set up working fine with the USB mic and the 3.5mm audio out, but I wanted ...
2
votes
0answers
521 views

LED strip PWM on GPIO18 + mono audio output

On the RPi 3 I would like to control a WS2811 LED strip with PWM (GPIO18) by keeping the audio working. It looks like for the RPi Zero (I'm unsure for RPI 3 though) left and right channels of the ...