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
0 answers
24 views

incoming music stream of 912kHz stutters, lower kHz don't

I live in the UK and have a music subscription with Presto Music https://www.prestomusic.com a great selection of classical music and jazz. It comes via my router and an ethernet cable to my ...
mnsh's user avatar
  • 1
0 votes
0 answers
37 views

Change the default audio from AV Jack to card 3 (aplay -l)

What I want to do I attached WM8960 Audio HAT to Raspberry Pi 4b 4GB in order to attach a speaker. I executed aplay -l and found that I wanted to change the default audio to card3. What I tried 1. ...
yuki yuki's user avatar
0 votes
1 answer
59 views

How to send sound from AUX or HDMI to Sonos

I'm wondering if I could connect my Sonos One speaker to my TV to get better sound using my RPI 4. This over HDMI or AUX from my TV to my RPI and then send that audio over WiFi to my Sonos One speaker....
Kenji Bailly's user avatar
0 votes
0 answers
16 views

Cannot use USB presenter (Logitech, Flirc) when running Jack audio on a USB audio interface

I want to use a USB keyboard'ish device on a Pi 4 running Raspbian Buster. I tried both a Logitech R400 (radio based) device, and a Flirc programmble USB receiver for Infrared. Both work fine on a ...
0__'s user avatar
  • 502
0 votes
1 answer
23 views

MPC output problem on Headphone output

I have a misconfiguration of my MPD daemon on Raspbian Buster with Raspberry PI 2B. Alsa is configured as follows: pi@Wecker:~ $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: b1 [...
EV97Freak's user avatar
0 votes
0 answers
18 views

Can the Pi 4 output independent 7.1 audio to each hdmi port? (i.e. 16 audio channels)

I gather that the Pi can output 7.1 audio over HDMI. But can it send two different 7.1 audio outputs to each of the HDMI ports? i.e. for a total of 16 audio outputs (provided I can extract the audio ...
askvictor's user avatar
  • 223
0 votes
0 answers
39 views

ES audio not working (Retropie)

I'm running RetroPie on my Pi 4 4GB. I recently installed PIXEL through the RetroPie setup program, and now the sound doesn't work. If I exit ES and use aplay to play an audio file, it plays fine. But ...
DepthsDoes's user avatar
0 votes
1 answer
21 views

Raspberry pi OS get audio output from both ui and mpd?

I'm running ui with XFCE on a Raspberry pi OS Linux 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux, I can hear audio from audio jack starting applications from the ui (i.e....
user340971's user avatar
0 votes
0 answers
178 views

How would I get audio input to a pi pico?

I’m trying to make an audio visualiser with the pi pico, and I want to connect it to my computer. I need to read the audio from the computer to do this. I could use an audio jack, but I can’t find ...
Commodore 64's user avatar
0 votes
0 answers
14 views

Bluetooth audio does not work under ssh (but works on the GUI)

I would like to play audio from my Raspberry Pi to an external bluetooth speaker. I have successfully connected to the device and, from within the graphical desktop (which I connect with VNC), I can ...
anumi's user avatar
  • 101
0 votes
0 answers
96 views

PCM5102A purple dac not working

This never worked for me :( I tied with two purple color PCM5102A DACs from aliexpress and eBay ! None worked when connecting to my raspberry pi zero 2W as described ! I have used the steps as ...
Vish's user avatar
  • 1
0 votes
0 answers
46 views

Audio popping/crackling when playing via Python - Raspberry Pi 4

Currently I have a pair of speakers connected to my Raspberry Pi 4 via the 3.5mm jack. The speakers are powered by USB, but I'm using a wall adapter to power them rather than using the Pi to power ...
fancyshark's user avatar
0 votes
0 answers
36 views

Is there a way to have 8 audio inputs on the raspberry PI4?

Maybe it's kind of a weird question, but I have a small project for which I need 8 audio inputs (not outputs) on the Raspberry Pi 4, without using USB. Are there any ways to achieve this on the ...
Guenther_16's user avatar
0 votes
0 answers
50 views

No HDMI audio output

I am building a multiroom audio setup. For this, I want to play music from my Raspberry Pi Zero W via HDMI to a soundbar. The soundbar is working fine with my tv via HDMI. If I connect the tv as ...
Pukinn's user avatar
  • 1
1 vote
0 answers
95 views

Can I connect to bluetooth audio and send audio OUT while using an external sound card for audio IN?

Sometime ago I used this helpful tutorial: How can I use an external USB sound-card and set it as default? to set my external USB sound card as my default. This has been great for me as I use external ...
M0nst3rM0vi3's user avatar
0 votes
0 answers
38 views

Help down mixing stereo into two separate mono channels

I have a Raspberry Pi Zero W configured as an AirPlay audio playback device for personal use. I am using the Adafruit Speaker Bonnet (https://www.adafruit.com/product/3346) which interfaces to the Pi ...
Jason Johnson's user avatar
1 vote
1 answer
187 views

Can I use this Audio Bonnet with Compute Module 4 I/O?

I'm building a project that I'd like to eventually sell in small batches as a commercial product. The RPI Compute Module 4 I/O (CM4IO) has most of what I'd need, but one extra thing I need is the ...
Jelani Thompson's user avatar
1 vote
1 answer
88 views

Can I use raspberry pi to filter using AI and output audio

I am planning to make a device that can take a voice input and then running through a raspberry pi to filter it using AI before playing the filtered speech through speakers. Since I am relatively new ...
Sovremenny's user avatar
1 vote
2 answers
124 views

Can't play audio via BT from systemd service

I have a Pi0 which I am using to play radio or local music files via a BT speaker (see https://github.com/WhyNine/pi-radio-music for the full source code). The code is written in perl and I am using a ...
WhyNine's user avatar
  • 51
1 vote
1 answer
98 views

No audio device

I want sound to work but it just doesn't. I have a raspberry pi 3 b and every time I follow raspi-config the system then audio, I go right back to the system. I don't know what to do and I just got ...
Adam's user avatar
  • 19
2 votes
0 answers
39 views

No Audio on Raspbain

my raspberry pi 400 has no sound , it does not work at all . I have tried many operating systems like ubuntu , manjaro but still not work . i have searched online may be i fine a solution but no ...
Hamza's user avatar
  • 21
1 vote
0 answers
91 views

Screen recording a specific window with audio

Raspberry Pi / Python. I need to be able to capture a specific tkinter window with audio, if the specified window is not possible then a predefined area of the screen is. We are currently using ...
Roger's user avatar
  • 11
1 vote
1 answer
620 views

Connecting 4 digital MEMS microphones with raspberry pi 4

I want to add 4 INMP441 digital MEMS microphones to the GPIO pins of Raspberry pi 4 to perform sound source localisation. Here's a reference link to the mic: https://robu.in/product/inmp441-mems-high-...
Thokachitchu Jai chandra Raju's user avatar
1 vote
0 answers
59 views

Microphone volume seems to increase via PulseAudio but arecord does not see any increase

I am still trying to understand how the audio input/output stuff works over PCM on the Pi its new to me as I've never dealt with it before. All of the testing below was on the latest Raspberry Pi OS ...
HelloWorld's user avatar
0 votes
4 answers
186 views

Is it possible to play a MP3 file immediately as the Pi receives power?

So I want to play a MP3 file instantly as the Pi receives power, it doesn't have to be instantly though, it can have a few ms of latency. I'm thinking a Raspberry Pi Zero W or Raspberry Pi 3 Model A+, ...
Migi's user avatar
  • 11
1 vote
1 answer
644 views

Audio via PWM pins?

Okay, kinda a noob here. I've been looking around, trying to find an answer to playing audio via the PWM pins. I tried rerouting the audio to no avail. I've tried making a script that uses PWM to play ...
Foxy6670's user avatar
1 vote
0 answers
124 views

Alsa mixer won't save setting

I have UGREEN usb audio interface. MY pi 4 is recognize it but no sound is comnig out. I try both via VLC player and via youtube (the video won't even play) I did the follow: I wrote at terminal: sudo ...
lon_ly's user avatar
  • 11
1 vote
0 answers
70 views

No sound from UDA1334 PCM DAC on Compute Module 4 with 64 bit Raspberry Pi OS

So I am trying to verify that two PCM devices I have work one is a UDA1334 and the other a microphone. So I installed the latest 64 bit Raspberry Pi OS and enabled I2S and the hifiberry-dac overlay. I ...
HelloWorld's user avatar
0 votes
0 answers
283 views

SteamLink fails to fully start due to vague initialization error

I’ve been trying to get SteamLink working on my RPi 4 with Bullseye ‘Lite’/headless installed. I’m able to get steam to startup, download the necessary packages, and even load enough to finishing ...
Wisteso's user avatar
  • 295
1 vote
1 answer
150 views

Playing audio with Python scrpitpt run from Cron

I have a USB sound card connecting mic & speakers to a Raspberry Pi Zero W + The following script plays audio fine when run from the terminal. However, when run from cron, nothing can be heard. ...
PangolinPaws's user avatar
0 votes
1 answer
926 views

How can Rpi Pico W control a GPIO pin connected, I2C digital MEMS microphone?

Using the Raspberry Pico Pi, how can micropython be used to get the values from a MEMS microphone such as the Adafruit Silicon MEMS Microphone Breakout - SPW2430 link to ada fruit Product ID: 2716. ...
Vass's user avatar
  • 133
2 votes
1 answer
170 views

Which are the pin choices for powering and driving an audio amplifier with signal and power on raspberry pico pi

I am using an audio amplifier,PAM8302A from adafruit link, to power a 8ohm 1W speaker (small speaker) that is being driven by a raspberry pi pico. The amplifier has A+ for the signal/audio input (not ...
Vass's user avatar
  • 133
1 vote
0 answers
152 views

Suggestions on using Pi as an audio delay buffer

Trying to find a solution to using a Pi as an audio delay device (in the order of 10 minutes or so). I have an external analog audio source providing constant audio to the Pi via an external USB ...
Andrew Naylor's user avatar
0 votes
0 answers
62 views

Not synchronized audio and video recorded with python

i bought an USB microphone and a Camera module for the raspberry pi4. I managed to record Audio and Video but when i merge them with ffmpeg the are not synchronized, i'm trying to solve this for 2 ...
LAC's user avatar
  • 1
1 vote
1 answer
324 views

Raspberry pi 400 HDMI audio problem with Bullseye

I see there is another question about HDMI audio on here but I have a permutation of it so I ask my question as well. I've tried everything to get HDMI audio on my pi400 working properly. I think it's ...
mrDBUG's user avatar
  • 11
-1 votes
1 answer
67 views

Audio quality changes depending on input channel RPi4

I'm trying to use my RPi4 as a real-time audio processing device to detect when a certain acoustic frequency is present in an environment. The pi performs real-time fft on an audio stream from a USB ...
fishfinder's user avatar
1 vote
0 answers
211 views

Can anyone help with Pi 4 mplayer HDMI audio passthrough?

I have a Pi4, and am using pipresents to create museum touchscreen exhibits. Pipresents plays audio using mplayer. I would like to play a 5.1 surround sound ac3 file, which gives some spatial ...
Carol47's user avatar
  • 11
-1 votes
1 answer
204 views

how to automatic detect song playing?

i’m planing on using a raspberry to automatically detect any song playing in a room and display it’s album art, is there a framework/api capable of song recognition? like soundhound or shazam?
Alfredo M's user avatar
1 vote
0 answers
31 views

is it possible to change the Audio output channel (3.5 mm Jack /usb soundcard or via gpio's) with MATLAB?

i want to be able to change the audio output channel via Matlab. is it Possible to apply these changes? (Signal Rooting)# if there is a way, i would appreciate any help or guide. thanks a lot
Newer's user avatar
  • 11
1 vote
0 answers
37 views

Airplay TV audio to WiFi speakers

I have been seriously searching and searching for a way to get my TV audio to my Sonos speakers via Airplay. I definitely know that the Raspberry Pi can Airplay play, but what I don’t know is which ...
Capital Dream's user avatar
0 votes
1 answer
103 views

Can't run FFPlay to playback an Audio Stream on Port 80 using systemd service?

I am trying to play a radio station WETA FM from a systemd service. I think the problem is that the URL source goes through port 80 and therefore the radio doesn't play after reboot. It plays fine ...
Jim Dandy BOA's user avatar
1 vote
1 answer
149 views

EMI noise on an I2S DAC only with GPIO PSU

If I power from a Pi USB PSU my DAC is quiet and also so is the boot. I am trying to power from a 24v PSU with a 5v step down on GPIO and tried all sorts of EMI filters, Wide Input SHIM from Pimoroni. ...
rolyan trauts's user avatar
0 votes
1 answer
608 views

Record audio whilst pressing a button in scipy

I am trying to make wedding guest answer phone for my sister. The basic idea of these things is you pick up the handset, hear a message from the host, leave you own, replace the handset, and the ...
hieronopro's user avatar
0 votes
0 answers
119 views

PyQt QSoundEffect not working on Pi 4B

I am having a perplexing difficulty, in that I cannot get my PyQt program to produce any sound. I am able to get sound correctly from the Pi over HDMI using speaker-test and paplay, so I am happy ...
Christi's user avatar
  • 210
0 votes
0 answers
21 views

Is it possible to access the output volume of an mp3 file?

I would like to make an LED pulse using PWM, such that the LED brightness/PWM width supplied to it will vary with the volume of an MP3 file. Is there some way I can access the real time volume of the ...
Adrien Amour's user avatar
0 votes
1 answer
2k views

RPi 4 HDMI sound problem. HDMI 0 is not displayed

Hello dear RPi friends, an HDMI cable is connected to an audio extractor at HDMI 0 (near USB-C) to tap off the audio signal for further output. No video signal is used by the audio extractor. /boot/...
cheat.008's user avatar
2 votes
1 answer
92 views

whats the difference between systemd service and running app directly?

In what ways are things different when running an app directly as a user, vs running the same app as a service with systemd? I wrote an app to play audio cues on my RPI. It is working perfectly when I ...
distractedhamster's user avatar
-1 votes
1 answer
132 views

Wrong sound output when using pygame

I am using a raspberry pi 4 and am having issues with the sound output. I am trying to run a program in python using pygame to play an audio file when I run the program. The program works and it plays ...
Rangers_fan2022's user avatar
1 vote
1 answer
835 views

I'm unable to install FLAC on my Raspberry Pi 3

I'm trying to make a tts program on my Raspberry Pi 3 and I'm using Googles TTS API which requires that I have FLAC installed on the Pi. When I attempt to install FLAC, I'm thrown this error- pi@...
homfgomery's user avatar
0 votes
0 answers
47 views

How to use adc to receive 40khz and 43khz modulated signals?

I am currently using thePmodAD1 in this mod for signal reception This is my code from DesignSpark.Pmod.HAT import createPmod import numpy as np import pandas as pd import matplotlib.pyplot as plt adc =...
user19104274's user avatar

1
2 3 4 5
22