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
3answers
7k views

No audio output via USB sound card

I bought an external USB sound card for my Raspberry Pi because the sound quality of the built-in 3.5mm audio jack is not that good and I experienced a lot of noise. The retailer of the sound card is ...
0
votes
0answers
19 views

Installation of kernel module for I2S Mic fails

I have a I2S mems microphone from adafruit. Now I am following the guide at https://github.com/nejohnson2/rpi-i2s#compile-the-i2s-module Now after I have mounted the debugfs I attempt to look for the ...
1
vote
0answers
114 views

Connect Raspberry Pi Model 1b, Kuman 3.5 inch TFT LCD and Circus Logic Audio Card

I got a Kuman 3.5 inch 320*480 Resolution Touch Screen TFT LCD the Circus Logic Audio Card (https://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/...
0
votes
1answer
68 views

Setup respeaker pi-hat 2 on RPI ZW

I am trying to run snips on my rpi0w, and has mounted the respeaker pi hat on to it. Installed the driver using git clone https://github.com/respeaker/seeed-voicecard cd seeed-voicecard sudo ./...
0
votes
1answer
41 views

Pi 3 B+ sudden audio failure

A few months ago I bought a RasPi 3 B+ to act as an overglorified doorbell using reed switches to tell the Pi to play a custom MP3 with the "Playsound" Module into the Company's PA system. It worked ...
0
votes
0answers
24 views

Multiroom audio from input source

I want to build a multiroom audio solution based on Rpi and Snapcast (the best solution I've seen up to now). I found lot of articles, tutorials, samples how to build such a system to play audio from ...
1
vote
1answer
24 views

WaveShare WM8960 Audio Sound Card / HAT Installation on Rpi Zero W Problem

I recently bought the WaveShare WM8960 Audio HAT said compatible with Raspberry Pi Zero W. The install complete without trouble, I can see that the soundcard is installed by typing sudo dkms status ...
0
votes
0answers
18 views

AIY Voice through tor [closed]

My question is about whether it is possible to run the AIY Voice kit through a tor connection. I like the idea of having a home assistant but really do not want Google collecting more information ...
0
votes
0answers
24 views

UV4L huge CPU load on streaming audio

I'm building a little baby monitor using RaspberryPi ZeroW and UV4L and run into a little problem. I'm using WebRTC to cast video and audio to my browser from RPI camera (used facedetect demo, ...
0
votes
1answer
26 views

Identify which microphone is on which audio card using arecord

I'm using a Raspberry PI and on it I plugged two same USB microphones. I would like to be able to identify which USB microphone is on which audio card when I list devices with arecord: arecord --list-...
1
vote
1answer
249 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 ...
0
votes
1answer
34 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 ...
1
vote
1answer
66 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 ...
0
votes
1answer
14 views

Using pigpios waves and audio output

I am using a Raspberry Pi 3 B+. I want to play audio through the 3.5mm jack and use PWM at the same time or successively to simulate a IR-Remote. I know that you can't use the hardware PWM while ...
1
vote
7answers
12k 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 ...
1
vote
1answer
50 views

share audio from raspberry 3

I connected Raspberry 3 (OpenELEC 7.0.1.) to the projector (HDMI). I would like to play back movies from an external HD connected to Raspberry, but I need to share audio (wifi or bluethoth) to AV ...
0
votes
3answers
87 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 ?
1
vote
2answers
238 views

Stream music from PC (Win10) to pi (BIG NOOB)

Hi i have a problem that i would be extremly happy to solve: I want to make my sound (If possible only spotify sound) go from my pc go to the raspberry pi and from the pi to a jackstick to my stereo. ...
1
vote
1answer
367 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
1answer
330 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 ...
0
votes
1answer
30 views

Audio processing the sounds of different wood working machines

In my garage wood shop I have the following power tools: table saw, band saw, disc sander, belt sander, and shop vac. Is there a sound or audio processing library that could differentiate between the ...
2
votes
1answer
36 views

Internal soundcard sometimes card 0 and sometimes card 2 with 2 usb mics

I can't get a consistent setting for my internal soundcard. BCM2835 is sometimes card 2 and then I'll reboot and it'll be card 0. Driving me nuts, hard to set the default when it's jumping around. Is ...
1
vote
1answer
67 views

Record 5.1 Surround Sound

I want to record audio for 5.1 Surround sound. My goal is to use 5 diy shotgun microphones with electret microphones being connected to a rpi that records and encodes to something like ac3 or at least ...
1
vote
0answers
14 views

Audio Injector stereo soundcard is preventing boot

I recently bought a Audioinjector stereo soundcard HAT to stream sound on my raspberry pi running Raspbian. I went to their website and installed the .deb installer file and ran it with audioInjector-...
1
vote
0answers
25 views

Sound/song recognition?

I'm new to Raspberry Pi with essentially zero knowledge. I'm wondering if, with machine learning or similar, it is possible to identify a specific sound (say the first few seconds of a song). I've ...
1
vote
2answers
82 views

High frequency hiss when running on Pi2

I have a Raspberry Pi 2 running Open Source Media Center (aka OSMC), and when it runs, I hear a very high frequency hissing noise coming from the Pi. In my family, I am the only one able to hear this ...
1
vote
1answer
66 views

RPi3 B+ Stretch. Config for external capture device & onboard headphone jack

I am planning to use an external Microphone "ReSpeaker 4Mic Hat" from Seeed-Studio on my RPi3 B+ Stretch OS. However, when I run alsamixer, my external Mic is not the default capture device. It seems ...
0
votes
1answer
83 views

2 separate audio outputs sample player

I'm looking to (hopefully) create a sample player that will be capable of playing 2 wav samples at once. One out of one stereo out and one out of another. (To send one to a stereo mix in a sound desk ...
1
vote
0answers
15 views

Sounds in a Python Program [closed]

I have a simple program to find a number in a number guessing game. I would like to insert some sound like "your number is too high" into the program. I can record the phase but what do I insert into ...
1
vote
1answer
3k views

Alsa lib error pyaudio on raspberry pi 3

I'm getting these ALSA lib errors when trying to use pyaudio. I know my mic works as I can live stream audio through gstreamer. Can anybody explain to me why i'm getting these issues: ALSA lib ...
1
vote
0answers
20 views

Software/Framework Recommendations [closed]

I'm prototyping a device using a raspberry pi 3b+. Here are some of the requirements I'm hoping to fulfill. *When I say "device" I'm referring to the raspberry pi. Device Requirements Stream ...
0
votes
3answers
129 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 ...
0
votes
0answers
63 views

What does amixer cset numid=3 3 do?

In order to solve missing audio via HDMI with Raspberry Pi 4B (Raspian Buster) I came across amixer cset numid=3 2 which didn't do the trick for me. But randomly I checked numbers from 0 to 4 and ...
1
vote
1answer
348 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 ...
0
votes
2answers
204 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
1answer
48 views

Toslink input for Raspberry Pi

I am looking for optical Toslink input for Raspberry pi (any model). If I just connect a DLR-1140 receiver to PCM_DIN, would that work? My goal is to build a sound server. I have a TV that outputs ...
0
votes
1answer
147 views

Wifi Speakers like bluetooth speakers using raspberry pi 3b+

So basically I was able to use my raspberry pi as a bluetooth audio out device that is, connecting a speaker via audio jack I'm able to make it a Bluetooth speaker. I'm wondering if there's a specific ...
1
vote
1answer
34 views

Host MP3 streaming 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
15 views

respeaker HAT and voip using raspberrypi

I am using the respeaker HAT on my raspberrypi 3. After installing the drivers im able to record the sounds using the inbuilt mic and play it from my speakers (using the command arecord -f cd -Dhw:1 | ...
0
votes
0answers
31 views

Audio Output for RPi 3 Mobel+

Very simple question. If I do this: Navigate to your screen. Select "Manage Screen". Select "Advanced". Set "Audio Output" to "3.5mm jack". Press "Save". Would I be able to listen to music via USB ...
0
votes
1answer
262 views

Enable audio over HDMI on Raspbian Jessie with AV Receiver

I am attempting to connect a Raspberry Pi Zero W with HDMI to an AV Receiver (Pioneer VSX-820). My interest is exclusively in playing sound over the speakers connected to the receiver, although there ...
1
vote
1answer
2k views

OMXPlayer Audio Out of Sync with Video

I have a RPi and I'm trying to play a full 1080p HD video @ 60fps. The audio is a few seconds ahead of the video. Is there any way to get the video to maybe drop frames? And I'm using a 256MB model, ...
0
votes
1answer
219 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. ...
0
votes
1answer
44 views

Usb sound device to 3.5mm output real time

I have a raspberry with a usb mic. I want to stream realtime the mic input to the 3.5mm output. Is this possible?
1
vote
1answer
251 views

LineUnavailableException when loading audio clip with Java on RPi

My RPi is Zero W and using Raspbian Jessie 4.9.35 / Oracle JDK8 1.8.0_65. I'm having problem with loading audio clips on Java Program with RPi. I have two audio files named "piano_0.wav" and "piano_1....
1
vote
1answer
379 views

Bluetooth Connecting two devices

I am trying to set up bluetooth so that I can play music from both my phone and my computer in alternation (ie, if I want to go in the other room on a call where the phone stops playing, i can switch ...
0
votes
1answer
42 views

Is it okay to leave the AV jack plugged in the 3.5 mm port all day long?

Raspberry Pi 4 casing is not available here. So I have to plug in and plug out my earphone very carefully. Today I made a cord. One end of the cord is always in the Pi and other end is for using the 3....
0
votes
0answers
393 views

Text to speech errors

I try to make a python script for Raspberry Pi 3 B+ with Raspbian to speak text I input. I use pyttsx3 library but I also tried espeak from command line. Every time, the sound is very laggy, it start ...
-1
votes
1answer
39 views

Can I safely connect audio output from USB soundcard to TRRS input of Raspberry Pi [closed]

I am piping audio from my MacBook into my Raspberry Pi 3B. MacBook -> Headphone output of USB soundcard -> TRRS cable -> RasberryPi jack input I am then running it through a DSP algorithm ...
0
votes
1answer
242 views

USB soundcard works for audio test but not for mp3

I've been struggling to get my USB sound card to work with my Raspberry Pi 3. After following some suggestions I have had limited success. On startup if I run speaker-test -c2 -twav this test ...