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
0answers
32 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
13 views

Get audio samples

I want to retrieve the audio samples that are playing on the output device (i.e. analog audio or HDMI). Is there any file I can cat to read those samples? I'm running the latest Raspian Lite on an ...
0
votes
2answers
16 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
20 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
27 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 ...
0
votes
0answers
24 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
1answer
25 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
20 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
18 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
0answers
26 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
17 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
202 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
28 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
120 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 ...
1
vote
0answers
59 views

Ugreen USB Soundcard - Microphone IN fail but Speaker OUT work

I am using the Ugreen usb soundcard because I have to build an SPL measuring instrument. I am using a Raspberry PI 3B+ with Debian. I've config the asound.conf in this way: pcm.!default { type ...
0
votes
0answers
22 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
30 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
12 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
38 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
0answers
19 views

how to play audio from python on Rasbian Stretch Lite?

I would like to play selected audio files through the built-in audio port on a Raspberry 3 that is running Rasbian Stretch Lite, from a python program. Unfortunately, none of the libraries or external ...
1
vote
2answers
65 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
188 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
18 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
36 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.
0
votes
0answers
28 views

Bluetooth connection between Raspberry pi and BT speaker falls

I have Raspberry pi 3B+ and bluetooth speaker Beats Pill+. Using alsa I am transferring audio from rpi to speaker. It works well but after few minutes bluetooth connection falls down. Using dmesg logs ...
1
vote
2answers
53 views

Raspberry pi 3B+ and Beats Pill+ bluetooth speaker

I have Raspberry pi 3B+ and bluetooth speaker Beats Pill+. I am trying to forward all audio to this speaker and use it as default. Bluetooth connection between rpi and speaker is not a problem, using ...
2
votes
1answer
101 views

What is the configuration of the 4-pole A/V jack on the Pi 4?

What is the configuration of the combined analogue audio and composite video 3.5mm jack on a Raspberry Pi 4?
1
vote
1answer
25 views

Sound jumping back and forth

So my issue is that whenever I play an mp3 from the pi the sound starts jumping back and forth. So the audio starts playing it jumps forwards 5 seconds and after a few seconds it jumps back to where ...
0
votes
0answers
22 views

Make sox play .mp4 files

I am trying to play audio files through usb speaker on Raspberry Pi 3B+. As I understood, sox only has mp4 support if you compile it agains ffmpeg. So far I did git clone git://git.code.sf.net/p/sox/...
0
votes
0answers
23 views

The sound/speaker of my pi-top doesn't work

Can someone help me find out how to fix this. I have tried turning on 12S sound and rebooting. I have tried using the hdmi speaker that you put inside but that doesn't work either. Can someone help me ...
1
vote
0answers
21 views

No audio output to HDMI using MPV but using OMXplayer works fine?

I am trying to use MPV to play a video stream to my HDMI tv. Video works well, but there's no audio regardless of what I set the --audio-device= to. OMXplayer however works just fine both as default ...
0
votes
1answer
29 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
9 views

Raspberry Pi 3B running Moode skips songs before they end on Tidal

I can't figure out what's happening here : My setup : I use Moode Audio 5.2 as the server and created an OpenHome renderer with the help of BubbleUPnP on my Mac to stream Tidal. I control everything ...
1
vote
1answer
16 views

Multiple microphone recording

I want to record from multiple microphones into separate USB microphones on a Raspberry Pi. Is this possible? Do I need to buy some sort of USB sound card?
2
votes
0answers
24 views

Stream USB mic input to 3.5mm audio jack output

I am trying to stream a USB mic input to the raspberry pi's built in 3.5mm audio jack output. I am not sure how to do this. I essentially want to use the Pi as a DAC. How could I do this?
1
vote
0answers
18 views

Is it possible to route audio via different software?

I use my rpi3 for a bunch of things, probably too many things. At the moment I use it for kodi, which plays audio through the HDMI output, and it's great. I would like to add some mopidy audio support,...
0
votes
0answers
32 views

RPi B, dietpi, usb soundcard amplifier, mpd and equalizer - usb and alsamixer equalizer impossible?

The last two days I am busy to config the USB sound on a dietpi config and with success. I turned the default Rpi sound off and use only the USB soundcard amplifier (Logitech). I can play files with ...
0
votes
1answer
28 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 ...
0
votes
0answers
16 views

Pause/play and foreword/backward capability for audio files in raspberry pi

I am looking to play audio files on the Raspberry pi through the standard audio out. I also want to have pause/play and seek foreword/backward functionality. I am currently using pygame to play the ...
0
votes
0answers
27 views

Streaming microphone audio from Raspberry to PC and send back a responde created with a TTS software

The Pi will have a button and a microphone. The ideal scenario is like this: Someone presses a button The (USB) mic starts recording the audio (the recording needs to be saved for later research ...
1
vote
1answer
79 views

Raspberry Pi 3 B+ QMediaPlayer - unable to play sound

I'm struggling to play audio files using Qt 5.11.3 and the QMediaPayer class. There is no sound output when playing either .mp3 or .wav files. I had some success to play a wav file using QSound class. ...
1
vote
0answers
19 views

Pi-topCEED / Bluetooth áudio question

I’ve a Raspberry Pi 3B+ along with a Pi-topCeed and pi-top SPEAKER ver 2. Using Raspbian Stretch not pi-top OS. It works ok but for better quality I want to try using a Bluetooth speaker to play ...
1
vote
0answers
47 views

Best way to sync OMXPlayer video with audio stream?

I am having issues getting OMXPlayer video played on a TV via HDMI to sync with audio streamed over the network. My thought was delay the video output by ~500 ms then use pavucontrol to fine tune the ...
1
vote
0answers
87 views

Constant beep when recording sound

I am using an external sound card with my Raspberry Pi 3 Model B+. I have already disabled the default bcm2835 sound card. I have checked that the my external sound card is active. I have turned up ...
2
votes
0answers
48 views

How to configure multi-channel sound card with raspbian stretch

I have a Raspberry Pi 3B+ with a Native Instruments Audio 8 DJ sound card which I want to work with Reaper. Thing is that if I open Reaper I get the error message: ALSA: error setting input device ...
2
votes
0answers
46 views

How do I capture and stream HDMI audio out to LAN

I have a RPi that is running videos with omxplayer and outputting to my tv. HDMI video and audio out work just fine, but I would additionally like to stream only the audio to my network (via RTP or ...
1
vote
0answers
26 views

Aux and HDMI audio options missing

Background (To give some perspective on the issue): I am using mopidy and mopify as an audio server on a Raspberry Pi 3 B+. WHen setting this up, I found that it would not output through a USB audio ...
2
votes
1answer
55 views

Pi bluetooth audio: can't get LMS squeezelite audio to BT

I have a Pi 3B+ running Raspbian Stretch. I want to send audio via the built-in BT to a Logitech Audio Adapter which feeds my stereo. I can do this from the command line via either aplay or mpg123 so ...
2
votes
2answers
61 views

No sound as root and even with sudo su pi

It works if I try to play a sound/mp3 with mpg321 as a pi user: mpg321 Yeah-sound.mp3 but sudo -u pi mpg321 Yeah-sound.mp3 does nothing and sudo mpg321 Yeah-sound.mp3 leads to error Can't ...
1
vote
1answer
46 views

PyGame for Jukebox without display

I want to great a small (local) jukebox without a display. Songs are stored on the SD card and every button is more or less hardwired to one song (always to the song called "1.mp3" on the sd card ...