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
0
votes
0answers
21 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 ...
0
votes
0answers
28 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 ...
0
votes
0answers
31 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, ...
1
vote
1answer
27 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
1answer
28 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-...
0
votes
1answer
15 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
0answers
28 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
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
0answers
21 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 ...
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-...
0
votes
1answer
79 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
0answers
66 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 ...
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
33 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
53 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
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....
-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
0answers
49 views

VLC player can't play larger media files on raspbian

I am using Pi 4 for an week. I tried some media players available on repository like vlc,kodi,mpv etc. I have noticed none of them can play a media file(mp4,avi,mkv) smoothly. So I am stuck with vlc. ...
1
vote
1answer
22 views

aplay/arecord device order changes every reboot

I have a couple of different applications running that rely on knowing the audio or recording device at startup, but every time I restart my raspi, the order of the devices changes. Looking for a way ...
0
votes
0answers
23 views

Why VLC can not play AAC Audio?

Is there any extra codecs for raspbian/vlc that can help me play an AAC file.
0
votes
0answers
26 views

Raspberry with HiFi Berry and only one speaker

I have a Raspberry Pi with a Hifi Berry Mini Amp. But I only connected one speaker to the hifi board. (I build a small radio with it) Now I'd like to make sure that my speakers play everything. So, f....
0
votes
0answers
23 views

How to play audio to specific sound card (Internal - External(USB)) using aplay?

I having two different wav files, i want to play one of the file into my internal sound card and the another wav file to my external usb sound card. I am using the below command... aplay -D plughw:0,...
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?
0
votes
0answers
78 views

Audio output not working

I bought a raspberry pi3b+ for my son that is connected to the TV, I installed both raspian and lakka and i configure it, but there is no sound coming from the TV via the HDMI port. After several ...
3
votes
2answers
470 views

How to select audio output in Raspberry 4

I have a youtube video playing in Chromium and I can hear the sound that comes from HDMI, to the built-in monitor speakers. How can I select where the audio goes? I'd like to hear the sound in the ...
0
votes
0answers
15 views

Rpi become frozen with python loop script after few cycles

It is a bit hard to show and ask to review entire code, so please let me describe it. I am using Rpi as serial-controller with python script but the python script become frozen.(technically I have to ...
0
votes
1answer
61 views

No sound trying to play a Python sound on Raspberry Pi [closed]

Just wondering if anyone can help me get the sound to work on a Raspberry Pi? I keep getting an error message: Sound = pygame.mixer.Sound('/home/pi/gpio-music-box/samples/drum_tom_mid_hard.wav') ...
2
votes
0answers
321 views

Raspberry Pi 4 - Dual Audio with Dual HDMI

I have a Raspberry Pi 4. The thing is, I want to play 2 videos at the same time, since the RPi-4 has 2 HDMI outputs. BUT I also want to have split audio. The audio from video 1 should go out over the ...
0
votes
0answers
41 views

Get audio samples sent to Output Device

I want to get in real-time the audio samples that are sent to the output device (i.e. analog audio or HDMI). Is there any way to read those samples? I'm running the latest Raspian Lite on an RPi4. ...
0
votes
2answers
20 views

Generating Stereo Audio in PI programmatically

I want a stereo output form the PI. The sound being played will not be a recorded sound rather it would be generated using a code (preferably python). For example, the program's input will be (x,y,z) ...
0
votes
1answer
42 views

I2S data stream format

While I'm working with RPi I2S and couple of DACs, I notice something which I like to verify in here. When I connect the scope to I2S interface I usually see waveforms similar to this: In here 1st ...
0
votes
0answers
42 views

USB mic input + 3.5mm jack output

I'm trying to set up my Rpi using a USB mic and output through the 3.5mm jack. If I select the USB mic in alsamixer, I don't have any sound at all. If I use the 3.5mm I get sound but cannot record ...
1
vote
0answers
156 views

Raspi 4 - PulseAudio Server issues

I am currently trying to setup a pulseaudio server on a new Raspberry Pi 4. In our office, we like to listen to music but passing the aux cord around is always a pain, so we thought we could use a ...
1
vote
2answers
157 views

Set speaker jack in Lakka to default?

I have a small sound issue in Lakka (on the Pi 3 model B+) and was wondering if anyone knows how to fix it. Basically, everytime I start Lakka I have no sound using the Speaker jack. This answer ...
0
votes
0answers
36 views

Why is my controller hi-jacking my audio?

Ive been tinkering on the RetroPie for a while, all good so far, but this latest question has stumped me now. I bought a new controller, a PS4 third party wired controller. After plugging it in, the ...
0
votes
0answers
87 views

How to Route Audio for Rpi

Problems with Audio in Linux Problem: Audio Routing in Rpi Goal: receive audio stream from connected device (bluetooth/wifi) then analyze the digital signal in a Processing script on the RPi ...
0
votes
1answer
167 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 ...
0
votes
0answers
48 views

Raspberry Pi, USB Audio Card and 3.5mm Microphone

I've been trying to use this USB Audio card: https://http2.mlstatic.com/tarjeta-de-sonido-usb-71-con-control-de-volumen-D_NQ_NP_904044-MCO31004989404_062019-F.webp as sound output and input. I ...
1
vote
2answers
324 views

Is the 3.5mm audio jack tied to a GPIO pin?

I have a Raspberry Pi 2 B+ and I would like to confirm that the 3.5mm jack isn't tied to a GPIO pin. I could not find any information on this and thought this may be the case but I wanted to double ...
0
votes
0answers
63 views

Simple Sound Card with I2S - how do I switch frequencies?

I asked this a month ago, but didn't get an answer and so the thread was auto-deleted. It is becoming critical that this be solved, so I am reposting. I have the simple sound card working with a ...
4
votes
1answer
229 views

Cannot set system volume

I installed my Pi 3B into a Pimoroni Picade a few months ago, and installed RetroPie from source (as a fresh install). After running the Pimoroni-supplied setup script, RetroPie, EmulationStation etc ...
0
votes
0answers
47 views

How to Volume control PAM8610 from RPI

Does anyone know how can I control PAM8610 module volume through code from RPI? Thanks.
1
vote
0answers
32 views

softly increasing and decreasing volume with mpg123

I am using Picroft on raspberry pi 3. In picroft, every mp3 files run with mpg123. I am creating my own device using this OS. when I say it to sing a song it starts singing by playing mp3 files and ...
0
votes
0answers
59 views

Sox error: ALSA lib bluealsa-pcm.c:200:(io_thread) PCM FIFO write error: Broken pipe

I'm trying to use my Raspberry Pi as a white noise generator using SOX and my bluetooth speaker (BOSE mini soundlink II). Everything works great at first, however after a certain period of time (as ...
1
vote
0answers
61 views

FM Radio with HifiBerry Amp2

Is there a way of running a Raspberry Pi 3 with a mounted HifiBerry Amp2 together with an FM Radio Module e.g. TEA5767 FM Radio Breakout Board? Currently I set up my RPI to run Mopidy and Spotify ...
0
votes
1answer
97 views

how to play audio from python on Raspbian Stretch Lite?

I would like to play selected audio files through the built-in audio port on a Raspberry 3 that is running Raspbian Stretch Lite, from a python program. Unfortunately, none of the libraries or ...
2
votes
2answers
122 views

3.5 mm jack speakers not being recognized

Over the past several days, I have tried and failed to make my raspberry pi recognize the speakers that I connected to it through the 3.5mm jack. The USB microphone that I plugged in works perfectly ...
0
votes
0answers
404 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 ...
0
votes
0answers
24 views

Audio noise generator

Is there a package or hardware for a Pi that will generate real audio noise ie noise whose average over time doesn’t tend to a fixed value. White noise won’t do, since it’s average tends to zero.
0
votes
0answers
50 views

How can I mount a speaker on to a Pi so that it is light enough for it to be mobile

Can I mount a speaker on a mobile Pi robot together with a suitable power supply? Ideally I’d like the Pi to follow a fixed route while emitting a fixed repeating tone.