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
1
vote
0answers
14 views

preempt_rt audio

I patched my pi4 with preempt_rt in an attempt to reduce xruns. Now arecord -l no longer lists my i2s mems microphone. I also tried a few other usb microphones and they don't show up either. The ...
-2
votes
0answers
26 views

How do I communicate with a Bluetooth transmitter with Python?

So I am working on a project where I have two streams of data flowing into a Raspberry Pi. I'm using an external USB mic to pick up noise in a given area and a Bluetooth transmitter to receive the ...
1
vote
0answers
10 views

Volumio randomly locking up when playing from UPnP/DLNA server?

I have a Raspberry Pi 4B connected via USB to my DAC (Soncoz SGD1). When playing from my music library (MusicBee Library via DLNA/UPnP plugin) occasionally Volumio will randomly lock up saying ...
-3
votes
1answer
25 views

Why doesnt raspberry pi 4 desktop kit work out of the box for audio or bluetooth

I bought a raspberry pi to use as a desktop to connect to RDP and work. I always have issues with installing or rolling back or editing configuring files for audio. I still have issues with no audio ...
0
votes
1answer
20 views

any way to know the real time status of speaker is it playing any sound through cli?

Recently i want to create a service on my pi which additional logic, one service needs to be stopped when the speaker is playing any sound. Any way i can get the status like a system log file about ...
0
votes
0answers
20 views

How to setup a Pi music server that streams whatever is playing on the headphones jack?

My setup: headless Pi 3B+ with latest RaspiOS Lite connected via WiFi to my home network, root partition and MP3 storage partition are on a SSD connected via SATA-USB adapter; homemade PHP telegram ...
0
votes
0answers
17 views

Play an audio stream (internet radio) and start again automatically after Wi-Fi reconnects

I have a working Python script that streams an internet radio station with Omxplayer. The script restarts Omxplayer if Omxplayer stops, such as when the internet signal is lost and reconnects. ...
0
votes
0answers
42 views

Audio alternatives for Raspberry Pi 400

So as you all know, the Raspberry Pi 400 does NOT have an audio jack, which is pretty annoying especially when I need to get audio output from it. Can I connect to a Raspberry Pi 3B via Bluetooth from ...
2
votes
0answers
27 views

Raspbian Lite not playing vlc audio through HDMI

I have an RPi 3 running Raspbian Lite with vlc installed, I'm trying to get this setup for a TV, to play some branding from a directory on loop. Currently there's an issue with playing the audio from ...
0
votes
0answers
21 views

Popping sound Adafruit MAX98357 with Raspberry

I have a problem using MAX98357 Audio Amp from Adafruit with Raspberry Pi 3 B+. Every time a new sound begins, there is a popping noise that comes out of the speaker. I tried to do the fix that they ...
0
votes
0answers
31 views

How to force audio output to HDMI/3.5mm jack on RPi4 B via CLI?

on RPi 3 we are using something like amixer cset numid=3 1 and then alsactl store to force sound output to jack 3.5mm and store configuration. I want same thing on my RPi4 model B, but it does not ...
1
vote
0answers
55 views

No hdmi sound option (Rpi 4 ubuntu 21.04)

When I go to settings -> sound I can change the sound output to the bluetooth headset or the built-in audio jack like normal. But the option "HDMI" simply does not appear in the options ...
0
votes
1answer
47 views

Facing problems with audio output from GPIO pins with RPi 4

I am unable to get audio output from the GPIO pins on my Raspberry Pi 4. I initially added dtoverlay=pwm-2chan,pin=18,func=2,pin2=13,func2=4 to the config.txt file in boot directory and used the GPIO ...
0
votes
0answers
13 views

Raspberry Pi I2S duplex audio setup

I'm using a Raspberry pi 2b+ for an audio project where I need stereo in and out at the same time. I've had success with cheap USB interfaces but they have a lot of noise and are prone to dropouts. My ...
0
votes
0answers
26 views

Route VBAN receptor audio to PyAudio input stream

First and foremost, I'm trying to send audio from my windows 10 desktop to my Raspberry Pi 4 to interact with a WS2812b led strip. (https://github.com/naztronaut/dancyPi-audio-reactive-led) After ...
0
votes
2answers
32 views

Why is a Justboom DAC HAT no longer recognised after an upgrade to a Raspi 3B+?

I recently replaced my faulty old Raspi 3B with a 3B+, attached the two HATs I've got (a JustBoom DAC HAT sound card and an S.USV Advanced), plugged the SD card into the new one, upgraded the Raspbian ...
0
votes
1answer
36 views

Sending Digital Audio Through GPIO Pins

I currently use my raspberry Pi as a Spotify music streamer for my Hifi system. I send digital signal out through the USB port to a Digital to Analog Converter (DAC), and then into an Amp, and finally ...
0
votes
0answers
20 views

Unable to set Audio Jack on Pi Zero W

I'm trying to get PWM audio to work on my Pi Zero W. I've followed these directions, specifically adding the dtoverlay part to /boot/config.txt. The output of gpio readall, as suggested in this ...
0
votes
0answers
17 views

Record audio from mobile phone on local web page?

I'm trying to build a Nest camera knockoff using a Raspberry Pi. Right now, I have video streaming from a Pi camera to a local web page that I can view from my smart phone. Next, I want to add audio. ...
0
votes
1answer
230 views

Connect a Microphone to Raspberry Pi Pico ADC Pins

I’d like to try using my voice as an input to my Pico. I think I should be able to define a pair of one-word voice commands, and train a Tensor Flow Lite Micro for Pico model on them. What I can’t ...
0
votes
1answer
31 views

How would I turn my Raspberry Pi 1 and my two old loudspeakers into a “dumb sound outputter”?

I have major issues sleeping. Both obnoxious neighbours/passer-bys, and total silence, bother me. I keep a floor fan on 24/7 for both the cooling and the "white noise" resulting from it, ...
0
votes
0answers
126 views

Raspberry Pi Audio - Can not get 5.1 Surround Sound Audio to output to HDMI

I have an applications where I need to do the following on a Raspberry Pi (3, 4, and/or Zero) running the latest version of Raspberry Pi OS: Play an AC3 file with 5.1 audio over HDMI. Play an MP3 or ...
2
votes
1answer
75 views

Vlc only outputs audio to bluetooth

I've got a weird problem right now. I updated everything a couple of weeks ago (sudo apt update, upgrade etc.) and after that I had issues with the sound output to my tv via hdmi. I managed to fix it ...
0
votes
0answers
15 views

Sound settings seem to be fine but don't hear anything

I've got the RPI4 Model B. A while ago I had it connected trough Bluetooth with a simple JBL speaker. It worked and I could hear the sound that was coming from the Pi. Recently, I moved the Pi and ...
0
votes
1answer
23 views

usb sound card no sound with putty

I am trying to configure my USB sound card for use on the pi. With the graphical interface, I can change the sound card and output the sound to the USB card. Without the graphical interface with Putty ...
0
votes
1answer
48 views

Is it possible to receive an FM radio's audio stream in software?

My goal is to be able to "rebroadcast" FM radio over the internet. What I mean by this is connect some kind of FM radio board to the raspberry pi, and receive the audio in software (i.e. ...
0
votes
0answers
41 views

Live streaming camera and microphone input on a Raspberry Pi 4

I got a a Raspberry Pi camera and a USB microphone connected to the Raspberry Pi 4. All of them are working seperately. But now, I would like to stream them live and combined for accessing it in HTML. ...
0
votes
1answer
55 views

Can't access Mopidy-MusicBox Webclient hosted on raspberry pi from other computers on LAN

I am running a mopidy server on my Raspberry Pi 3B, using the Mopidy-MusicBox Webclient. I got it up and running locally on the pi and if I browse to http://localhost:6680/musicbox_webclient from the ...
2
votes
3answers
191 views

How to command the raspberry pi to mute and unmute its microphone

I'm using a raspberry pi for a custom voice assistant I'm building. I need to mute and unmute the microphone for certain parts of the program I'm running. Is there a simple lx terminal command to do ...
1
vote
3answers
196 views

`aplay` and `espeak` cannot play audio on user that is not pi

I'm trying to test the audio through the headphone jack using aplay /usr/share/sounds/alsa/* on Rasbian 5.10.17 on a Raspberry Pi 3 B+. This works fine on the pi user, but not on root or another user ...
0
votes
0answers
91 views

PyAudio no sound

I have a Raspberry Pi 4 and am trying to figure out why PyAudio doesn't output any sound. speaker-test outputs pink noise to the headphone jack. aplay sound.wav also works python3 play_wave.py sound....
0
votes
1answer
53 views

Connecting the pi to a phone using a RJ11 cable to send and receive audio

I'm trying to connect the pi 4 model B to a phone that I bought off Amazon (https://www.amazon.ca/Wild-Wood-Phone-Retro-Design/dp/B00H20B2GM). This phone is not connected to a landline or anything as ...
0
votes
0answers
17 views

How to split single micro-usb to several independent aux channels

I have a Raspberry Pi Zero with Debian Linux running home automation software (Home Assistant). Instead of using different phones' alarm clock for awakening in the morning I would like to manage it in ...
0
votes
0answers
54 views

Stream Xbox audio to raspberry pi via Xbox Wireless

Is it possible to transfer Xbox Audio to raspberry pi via Xbox Wireless protocol? i.e. using raspberry pi as a Xbox controller. I need to record in-game chat voice conversations, because for some ...
0
votes
1answer
78 views

Using Raspberry as a synthesizer for a USB MIDI keyboard

I have a Alesis V49 MIDI keyboard, it only has a USB type-A output. In order to use it as a synthesizer, I currently connect it to my PC via USB and use specific software to produce sound. I want to ...
0
votes
0answers
49 views

Raspberry PI as a WiFi external sound card

The setup I am trying to create is as follows: Windows 10 laptop Raspberry pi 2 (version with 1Gb RAM) with WiFi dongle and USB Sound Blaster sound card, where the microphone and headphones are ...
0
votes
1answer
14 views

Looking for suggestions, Pi synthesizer or autonomous recorder?

I'm hoping someone may help provide me some direction for a project I am working on. What I am looking to do is set up Pi to record audio (spoken) and then play back automatically. Ideally this audio ...
0
votes
0answers
16 views

Apply EQ to audio in and monitor audio out?

This post was moved here from Stack overflow. I am trying to make it possible to take the microphone input, have the input be filtered by the ALSA EQ plugin (or any other controllable EQ), and hear ...
0
votes
0answers
43 views

failed to simultaneously call aplay and arecord with alsa on Pi

for my project, I'd like to call arecord and aplay simultaneously like the following: aplay -d 20 signal.wav & arecord -c 2 -d 20 -f S16_LE -r 48000 speaker_response.wav so that when a test ...
0
votes
0answers
62 views

Update means Respeaker Seeed Soundcard will no longer install. What can I do?

I've been using the Respeaker 6 Mic array and Seeed-Soundcard for months and was just about to start a field deployment with them however I reflashed my SD cards and tried to reinstall the soundcard ...
0
votes
0answers
24 views

RPi4 jack only works when HDMI connected

I have a RPi4 with an USB microphone (I think it's unrelated to the issue) and jack speakers powered via USB. This set up worked flawlessly in a RPi3B, by the way. (Raspberry Pi OS) The problem is ...
0
votes
0answers
24 views

A2DP doesn't work with PC, but works with a phone

I used this project to set up A2DP. There is no problem with a phone <-> rpi connection. However, my PC (elementary OS) is struggling to connect to Raspberry Pi 4. But even when it does connect ...
0
votes
0answers
28 views

PyAlsa not working in Buster - missing libasound.so?

I have been trying to run an audio capture program that has worked (for other people) on a Pi4. Looking at the PyAlsa documentation suggests that /usr/lib/libasound.so needs to be present. It is not....
0
votes
0answers
62 views

Can't get sound on Raspberry Pi's 3.5mm audio jack

I've been asking this question everywhere. I've checked lot of resources, manuals, documentations out there. But couldn't get any sound out of my speaker. I tried the YouTube video tutorials also, but ...
2
votes
0answers
162 views

Bit-perfect USB Audio gadget

I want to use Raspberry Pi Zero as a USB DAC with switchable sample rate. Maximum resolution should be 96/24 with all 4 common rates ie. 44.1, 48, 88.2 an 96 kHz supported. It should also work with ...
0
votes
0answers
28 views

Python sound recognition?

I'm trying to program my Pi to monitor for specific sounds like buzzers, alarms, etc. I've seen articles suggesting the use of a "sound sensor", but I already have a microphone (an AIY ...
0
votes
0answers
18 views

Tutorial of Raspberry Pi audio capabilities

I have a Raspberry Pi 4 with Raspian installed. When it comes to controlling the built-in audio architecture, I find many attempts on the internet that show how to accomplish some particular task. I ...
0
votes
0answers
178 views

Hardware controls and low-latency loopback for USB audio (C-Media CM108)

RPi Zero W with 2021-01-11-raspios-buster-armhf-lite. I have a USB audio card (Logilink UA0053, USB-A plug, same generic plastic case that the blueish "3D Sound" units for USD 0.5 have) that ...
0
votes
0answers
79 views

initialization problem with PyAudio on WM8960 audio card. No input sound at first launch

First at all I am on a Raspberry Zero W. I have blacklisted the snd_bcm2835 by adding blacklist snd_bcm2835 in the sudo nano /etc/modprobe.d/raspi-blacklist.conf I don't know really what it does. Its ...
0
votes
1answer
94 views

MPG321 “Home directory not accessible: Permission denied” on PHP exec_shell

I try to execute a shell from a PHP using exec_shell() function, but it doesn't working. I've tried chmod, chown and doesn't execute but on terminal yes. Sorry for this question but I really need a ...

1
2 3 4 5
21