Stack Exchange Network

Stack Exchange network consists of 175 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
1answer
27 views

Piping (Live Playing) Audio to FFT Process

I am trying to build a project that does a spectrum analysis on audio playing through my Raspberry Pi using FFT. I will be using GPU_FFT in C++ to do the bulk of the calculations (which should be ...
0
votes
0answers
29 views

Read real time raw data bluetooth

Currently im working on a bluetooth speaker, which has to receive audio via bluetooth from my phone. The bluetooth receiver will be the raspberry pi 3 a+, and it will direct the audio data to an ...
2
votes
0answers
28 views

USB audio device is displayed as default, but is not

I have set the USB device on my Raspberry Pi to default. The file /lib/modprobe.d/aliases.conf: options snd-pcsp index=-2 options snd-usb-audio index=0 options cx88_alsa index=-2 options snd-atiixp-...
1
vote
1answer
30 views

Using a bluetooth headset as both audio and mic on a raspberry pi

I am looking to purchase a Bluetooth headset for a project of mine and I would love it if I could use it with my raspberry pi The headset I am looking to get is this one: https://www.gearbest.com/...
2
votes
1answer
31 views

Play Audio Through 3 Different Bluetooth Speakers

I want to play a story divided into three mp3 files through three different speakers. For example: begin playing file 1 through speaker 1. Once it's over, play file 2 through speaker 2. When it ends,...
0
votes
0answers
31 views

Is it possible to control echo hardware with a raspberry pi

I'm in the process of building some voice-activated features in my Raspberry Pi. I've been looking at off-the-shelf microphones and speakers, and using my Amazon Echo as reference. It has occurred to ...
3
votes
0answers
22 views

raspi MIDI in audio out

I have a MIDI controller keyboard, that I want to take with me to a vacation. For some reason I cannot bring a tablet/laptop with me. I still have a Raspberry Pi 2B lying around so I thought it might ...
1
vote
1answer
21 views

Host MP3 stewing website on raspberry pi

I (as I am sure most people do) have loads of MP3s and CDs from pre Spotify days (other services are available). In particular I have quite a few that aren't on Spotify. So I have decided that I would ...
0
votes
0answers
28 views

how can I use an external GPIO sound card and set it as default?

I've bought a seeed voice card as an external GPIO sound card and as a input audio device to use pocket sphinx.After it was installed successfully, i typed "cat /proc/asound/cards" to see my card ...
0
votes
0answers
15 views

Separately python audio output and osmc output

So I'm doing a project .I am using raspberry pi 3 as a media player using osmc and is connected to my projector. I have written a python file so that it uses voice recognition (pocket Sphinx) to use ...
0
votes
0answers
76 views

Playing Audio flies in python with speaker

I bought a speaker with a usb connecter. I want to play the audio file with the speaker. Is there a specific code for that? Edit: I have 3 audio files to play so I'm not sure how to play multiple ...
0
votes
0answers
14 views

Reusing old laptop speakers [duplicate]

The speakers are salvaged from an old Toshiba mini nb520 laptop. How could I go forward to use these speakers? Will I have to write my own drivers? Will it be worth the work? What electronic ...
0
votes
0answers
26 views

getting Zoom UAC2 usb audio to work

I'm trying to get a USB audio device working on a raspberry pi 3. It is listed when I do aplay -L as default:CARD=UAC2 Default Audio Device sysdefault:CARD=UAC2 Default Audio Device No ...
0
votes
0answers
29 views

Using rasberry pi to transmit audio from Laptop to mixing board

I want to send audio from my pc (connected to a private LAN) to a Rasberry pi device that I connect the audio input connection on my mixing console. This needs to be done over a wired LAN. Here’s ...
0
votes
0answers
26 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 ...
0
votes
0answers
46 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
30 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 ...
0
votes
0answers
13 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
13 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
29 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
21 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
23 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
88 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 ...
1
vote
2answers
309 views

Reliable way to play sound (ogg, mp3) in Python, on Pi Zero W

I have been trying to find a reliable method to play sound on my Pi Zero W, in Python. By default, Zero does not have audio output, but I have set up an I2S amp and speaker, following this guide: http:...
0
votes
0answers
36 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
0answers
44 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 ...
1
vote
1answer
44 views

Bluetooth Audio to Raspberry Pi Zero W as USB Mass Storage

My car audio system has only a USB Memory input (it does not have Bluetooth). The audio system is able to read the content of the USB memory, find the folders (MP3 files) and show them on the screen. ...
0
votes
0answers
62 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
51 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
30 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
28 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 ...
0
votes
1answer
66 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 ...
0
votes
0answers
57 views

Create network audio stream from USB sound card input

I'm trying to accomplish the following project: I have a USB Soundcard connected to my Pi. Connected to the soundcards input is the output of my DJ mixer. I would like to have a simple network audio ...
0
votes
1answer
26 views

Raspbian Desktop Audio Not Working

I have checked many forums and Google, and I cannot find it anywhere. I have just installed Raspbian desktop on my laptop (acer aspire v5-123) and when I boot into the Raspbian Stretch the audio does ...
1
vote
1answer
166 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
108 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
32 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
38 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
26 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
61 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
27 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
11 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
17 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
68 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
16 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
27 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
289 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

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
21 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
0answers
298 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 ...