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
votes
0answers
28 views

How to connect 8 ohm 0.4w speaker to raspberry pi4 / pi zero gpio pins

I have 8 ohm 0.4w speaker. i want to connect speaker to raspberry pi gpio pins how to do that. what common npn transistor should i use. should i use amplifier and which should i use. is this possible ...
0
votes
0answers
35 views

Audio input and Output Issue on Raspberry Pi 4

Running Debian buster on a Raspberry Pi 4 (Model B Rev 1.4) Installed ReSpeaker 4-Mic Array which is only for capture audio (no 3.5 mm jack attached to this model). Mics are not working If I connect a ...
-1
votes
0answers
41 views

Raspberry pi OS - choose Audio Output to bluetooth device programmatically

I'm using my Raspberry Pi to play some music via a bluetooth speaker. Is there any way of performing this action in Raspberry Pi OS programmatically? (Right clik on the sound icon > Audio Outputs &...
0
votes
0answers
14 views

Audio DAC for raspberry pi with 2 outputs (build in sspeakers + TS audio out)

I'm working on a project for one of my band that runs on a raspberry pi with samplerbox. the raspberry pi is connected to a powered speaker and a midi keyboard, and I can play from a set of samples I ...
0
votes
0answers
15 views

Send Audio to Android Device Over Bluetooth Programmatically

I'm hoping to use the Raspberry Pi as a Bluetooth microphone for an android device. The basic idea is to feed audio from a USB microphone to the Raspberry pi, remove background noise, and then send ...
0
votes
0answers
12 views

Cannot capture screen with i2s audio - help needed

First time here and new to RPi. I have set up an SPH0645 i2s mic and can record and playback using Audacity without a problem. I am trying to screen capture and have tried Vokoscreen, recordmyscreen ...
0
votes
0answers
43 views

Multiple Bluetooth speakers with Multiple Raspberry Pi’s

I want to be able to connect multiple Bluetooth speakers to raspberry pi’s, with two different inputs. My end goal is to have a Sonos-like system, where all the speakers are playing in sync. Inputs: ...
0
votes
1answer
29 views

How do I change the PWM GPIO port in the sine_wave_pwm sample application of pico-playground?

This is the sample code in question: https://github.com/raspberrypi/pico-playground/tree/master/audio/sine_wave I cannot see where it has set it's PWM output pin. Inside "..pico-extras\src\...
0
votes
0answers
25 views

Is there a way to manually change raspberry pi's audio setting to built-in digital?

As soon as I full-upgraded my pi, my sound has not been working on any apps (including chromium). I have tried to type in terminal code to stop it, but have had no such luck. The only app that still ...
3
votes
0answers
49 views

High-speed USB Audio Streaming

I am using a Raspberry Pi 3B+ as the USB host for an embedded device that I have configured to appear as a USB Audio 2.0 compliant microphone. I am currently using PyAudio for opening and recording ...
0
votes
0answers
43 views

Raspberry Pi 3.5mm audio output problem

I am trying to get an audio output from my speaker connected to the jack port of the Raspberry Pi. I am using Raspberry Pi 3B + with the latest Raspbian OS (which includes Pulseaudio too). I do not ...
0
votes
1answer
20 views

Unable to get Qt5 audio to work using pulseaudio on Rpi 4

I'm on Raspberry pi 4 and the OS is DietPi I configured ALSA so I could play an audio file successfully through HDMI using aplay [an audio file] Then launched the PyQt5 app but got PulseAudioService: ...
0
votes
0answers
17 views

simultaneous audio playback is not working

i have raspberrypi4, i flashed webos ose edition in that. i have connected 2 hdmi displays and play using aplay in hdmi1, hdmi2 and lineout(headphones), I am getting error from aplay. #cat /proc/...
0
votes
0answers
34 views

Why use a DAC for music output? [duplicate]

All Raspberry Pis have an audio out connector, yet a lot of guides on how to use the Raspberry Pi as a music player recommend that you connect an extra DAC hat to the Pi. Is there something wrong with ...
0
votes
0answers
92 views

Raspberry Pi 4 no audio output and missing settings

Since a last reboot my Raspberry Pi 4 model b has no audio output. The taskbarsymbol is also missing. Anyone an Idea how to fix it?
0
votes
0answers
22 views

iQaudio DAC-pro hat not recognized by ubuntu 20.04 on rPi4b

I've added a iQaudio DAC-pro to my raspberry pi 4b running ubuntu 20.04. I cannot find the dac in amixer $ sudo amixer Simple mixer control 'Headphone',0 Capabilities: pvolume pvolume-joined ...
1
vote
0answers
53 views

Sound playback trough bluealsa-aplay not working as a service

I am trying to manually setup my raspberry pi 4 as a Bluetooth audio receiver, but there is no sound playback when I start the bluealsa-aplay service I created. It only works when I run the bluealsa-...
2
votes
1answer
89 views

Pygame.mixer does not play sound when started in cron

I have written a small python script that plays a track after the press of a button (and ignores further button presses until the track has completed). The script works perfectly fine when started ...
1
vote
1answer
38 views

Able to play audio on CLI but not on VNC when headless

I have a Raspberry Pi 4 8GB that I'm looking to use for ham radio applications. In particular, I'm currently working with an rtl-sdr dongle for software-defined radio. Right now I'm just working with ...
1
vote
0answers
21 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 ...
1
vote
0answers
23 views

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

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 ...
0
votes
1answer
27 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
23 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
1answer
129 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
162 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
46 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
28 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
73 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
212 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
95 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
44 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
35 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
36 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
55 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
28 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
504 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
33 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
226 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
117 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
17 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
24 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
51 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
57 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
96 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
316 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
377 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
148 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
71 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
18 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 ...

1
2 3 4 5
21