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
0
votes
0answers
38 views

Using Pi to stream audio from android device to stereo using node js

couldn't find anything about that on the internet. I know it's possible to install some packages or even mount an SD with pimusicbox. But is it even possible to write your own code (node js for ...
2
votes
2answers
5k views

Force sound over 3.5mm jack and video over HDMI

I am building an application where the sound needs to be over the 3.5mm jack and video over HDMI. However, sometimes it does send the sound over HDMI and 3.5mm jack. And sometimes it just uses HDMI ...
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
135 views

Bluetooth audio device as (virtual) hardware device (for SIP-calls via Linphone)

I have an external USB-Bluetooth-Dongle plugged to my Pi and a Bluetooth Speaker (with microphone) that is connected via the dongle. I manually compiled blueZ to version 5.50 and bluealsa to version ...
0
votes
0answers
63 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 ...
17
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
5k 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
31 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
45 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
97 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
26 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
29 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
211 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
59 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
153 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
87 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
98 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
125 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
91 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
35 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
47 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
426 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
189 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
9k 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
98 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
47 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
41 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
77 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
18 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
25 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
75 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
559 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
23 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
57 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
31 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
983 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
25 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
349 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
691 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
549 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?
15
votes
4answers
61k 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 ...
1
vote
6answers
11k views

Raspbian, no audio HDMI, have tried all the troubleshooting I can find

I know this is a noob question, so I apologise in advance! I've been googling for hours, have ran through all the steps for troubleshooting sound through HDMI; un-commenting the config file sound ...
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
38 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
442 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