The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [audio-playback]

For questions pertaining to the hardware and software necessary to play back audio.

Filter by
Sorted by
Tagged with
0
votes
1answer
84 views

RPi as a Dolby Amp?

I have bought a new Smart TV but the sound is a bit disappointing. So I was wonder if using an RPi with some sort of on board amplifier would work; either normal sound to a speaker and Dolby. Is this ...
0
votes
0answers
14 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 | ...
2
votes
1answer
196 views

Avoiding audio pops

I'm using Windows 10 IoT Core on RPi 3 and adding voice prompts to my product by playing wav files. Using MediaPlayer to Play the Source gives good enough quality through the 3.5mm audio jack apart ...
0
votes
1answer
255 views

Sudo Alsactl Store Not Saving Capture Settings

I am working on a project with alsa on the Raspberry Pi, and whenever I reboot my capture settings are reset. I have tried saving them via sudo alsactl store but this only saves the playback ...
0
votes
1answer
27 views

making my own HIFI portable audio dac for raspberry pi zero w

i am currently thinking to setup a portable volumio audio player something like this one https://www.allo.com/sparky/miniboss-rpi-zero.html (i know i can order this instead nut my location(India) is ...
1
vote
1answer
426 views

Raspberry pi 3 audio issue

I am having trouble with my Raspberry Pi audio. I have the same problem with two different Pis, using two different TVs, two different HDMI cables, and one set of analogue speakers. To test sound, I ...
2
votes
1answer
564 views

Install spotify on raspberry pi 3 and run it remotely

I try mopidy and runeaudio, but the interfaces seem odd to me. I want to install the Spotify app on my Raspberry 3, and access music through a URL I can share with anyone connected to my wifi. Is ...
0
votes
2answers
747 views

How to measure the frequency of the audio output

I was wondering how I can measure the frequency of the audio output of my raspberry pi. Currently I am trying to create a script to control an RGB led to the music that is being played through the ...
1
vote
1answer
414 views

gmediarender configure output mono

I have configured gmediarender on the RPi 3. However I prefer only mono output. Following this guide to downmix to mono did not output mono from the gmediarender. /etc/asound.conf pcm.card0 { ...
1
vote
1answer
610 views

What is a good sound board to use for doing real time active noise reduction on a Raspberry Pi?

I'm doing a project that involves making a pair of headphones capable of active noise reduction. Specifically, I'm attempting to do impulse based noise reduction rather than blocking a constant ...
0
votes
1answer
128 views

Raspberry pi 3B+ HDMI audio truncated

Ruuning NOOBS. I can set the default audio to HDMI out, attach an audio extractor to the HDMI, and get sound out. Except, with two different brands of audio extractors so far, it's common for the ...
0
votes
0answers
14 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
848 views

Playing audio in C?

Every audio engine I've tried (SoLoud, cAudio, openal-soft) hasn't worked on my pi zero. I just want to be able to play audio in a program without too much hassle. I can use a system call like system("...
0
votes
1answer
631 views

MPD with Bluetooth

Is it possible to run MPD with bluetooth in the Pi? Currently many guides which I have seen are mostly utilizing Upnp/Wifi setup to run. Now this is fine if there was only Apple devices. Since ...
0
votes
0answers
37 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 ...
2
votes
2answers
163 views

Play multiple mp3 files

I need to be able to play up to 8 mp3 files at the same time. Is this possible with the raspberry pi 3b+? They need to be started in python code.
1
vote
1answer
59 views

Sound system with PiZeroW

wondering if someone could give me a few pointers on a project I'm working out. I haven't yet bought any of the equipment, just trying the ideas first to see if it will work. I'm planning on ...
0
votes
0answers
13 views

OPUS audio files not seen on OSMC 2019.04-1

My OSMC 2019.04-1 install on a RPi2 does not list, and hence does not play, any .opus audio files from my DLNA server. Other audio formats like .mp3, .flac, .m4a and .ogg are listed and do play fine. ...
-1
votes
1answer
84 views

synchronised audio streaming

What are the options to use 2 or more raspberry (any version) for multi-room synchronised audio streaming? Something like Google Chromecast Audio I don't mean a full ready solution, any starting ...
0
votes
0answers
16 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
0answers
146 views

Using Raspberry Pi to capture police scanner audio

I want to take a Police Scanner, connect the headphone jack to a RaspberryPi, and capture the broadcasts that are received, so when the recording is played back it is just the transmissions, but maybe ...
1
vote
0answers
28 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 ...
1
vote
0answers
18 views

Send 24/96 pcm music from an rpi3b+ to a zero one

As my title says, I'd like to send audio from an rpi3b+ to another one. Preferably a zero one via a GPIO connection. My target is to have a dedicated device to only manage an USB DAC. Ideally an Rpi ...
0
votes
0answers
622 views

How to use WM8960 Audio Board on Raspberry Pi Zero W

I'm trying to use the WM8960 Audio Board (not the HAT) on a Raspberry Pi Zero W. I followed the instructions for the HAT to install the driver (WM8960 Audio HAT User Manual). It seems to be installed ...
2
votes
1answer
5k views

No sound through 3.5mm jack

I've followed the instructions to "force sound over 3.5mm jack" but when I run omxplayer example.mp3 I get no audio. When I force omxplayer to play over the 3.5mm jack using omxplayer -o local example....
0
votes
0answers
61 views

How to stream audio samples to a DAC - exclusively & low latency

I have an audio add-on card to my Raspi Zero called "raspiaudio", it seems to be reporting as hifiberry, although it is not. It's some NXP DAC conencted via I²C, and the driver was apparently in the ...
1
vote
0answers
150 views

Connect Raspberry Pi via Bluetooth to Sound Bar

after spending the last couple of weeks trying to connect my bluetooth soundbar to my Raspberry Pi 3 B+ and playing all audio output on it I am close to giving up. Using the GUI I can successfully ...
2
votes
0answers
32 views

Raspberry as audio bridge

I have a car with a 3.5mm jack for aux-in. It has also BT for my phone. In my phone, I have deezer (more or less like Spotify) that I use to send music to the car audio system. It works fine, but ...
0
votes
0answers
227 views

Problem with aplay: “set_params:1363: Unable to install hw params”

I have been successfully using the command aplay -D bluealsa:HCI=hci0,DEV=EB:06:BF:19:C2:D3,PROFILE=a2dp Open.wav to play sound over a BlueTooth device. HOWEVER after a few hours of trouble free ...
0
votes
0answers
578 views

What might be causing “Failed to open ALSA device” errors when using a DAC board?

The equipment I'm using: Raspberry Pi Zero W Allo BOSS DAC board Volumio music player software official Raspberry Pi PSU I've tried more than one official Raspberry Pi PSU as well as other PSUs. ...
2
votes
1answer
198 views

How can I direct the output both of mpg123, and of eSpeak to the same ALSA sound device?

I'm currently struggling with the following scenario: I'd like to make my Raspi (3B) play a short MP3 jingle and then, after a 250 µsec pause, speak a short text by using an add-on sound card (...
1
vote
1answer
1k views

How do I enable USB audio for GUI applications on Raspbian? (ALSA command line is working)

I'll say it again to be clear - ALSA on the command line works fine (after I delete/modify .asoundrc after it's auto-broken by PIXEL). The most seemingly contemporary answer I've found on modern ...
0
votes
1answer
5k views

No audio output Raspberry Pi3 (Raspbian-stretch)

Update The below is for Raspbian Jessie and does not work for Stretch Any help on how to go about getting bluetooth to work with Stretch would be appreciated... Original question I am new to Pi ...
1
vote
1answer
115 views

Why does audio playback seem to depend on GPU memory?

I encountered a really odd behaviour with my Raspberry Pi B+, running a slightly modified version of Raspbian with a PiTFT screen from Adafruit. Because the screen cannot access the GPU I dialed down ...
5
votes
1answer
794 views

Use different sound card for microphone vs audio output

I recently bought a USB sound card to improve the audio output on my pi while continuing to use my USB microphone for audio input. The problem is that I do not know how to configure the pi to use the ...
0
votes
2answers
3k views

Linux ALSA one sound card for input one sound card for output

I have a raspberry pi 3 model B+ with raspbian jessy lite from July. cat /proc/asound/version Advanced Linux Sound Architecture Driver Version k4.4.50-v7+. I have a USB soundcard that has two 3.5 ...
1
vote
1answer
3k views

Sending call over bluetooth from phone

I have paired my smartphone with Raspberry PI using bluez and blueman. But Now I want to pass the phonecall to the Pis audio system. I know that this too generic of a question here but what should I ...
0
votes
1answer
1k views

No audio on Raspberry Pi 3 w/Kali

I know there's a similar question, however it hasn't yielded an answer because the OP never answered the questions of a member who replied. Specifically, I'm trying to get audio output through HDMI ...
-3
votes
2answers
109 views

How many speakers could I hook up to an RPi, and what additional hardware would I need?

I know there are addon/expansion boards for the Rpi, but excluding these, how many separate speakers/channels could I reasonably output to? I do not need audiophile-level sound quality, I don't even ...
1
vote
1answer
651 views

Command aplay does not work without sudo

The command aplay only works if preceded by sudo. omxplayer test.wav will play the audio I recorded with arecord just fine. aplay text.wav does not, but sudo aplay test.wav does. The suggestions from ...
1
vote
2answers
2k views

RPI 3 Firefox Video plays but Sound is loud hiss

In the latest version of Raspbian (kernel 4.4), any file I stream through youtube-dl to omxplayer or mplayer using the 3.5mm headphone jack works perfectly. However, in Firefox when I go to any site,...
0
votes
0answers
122 views

espeak hangs when I invoke from command line - headless server

For some reason espeak hangs when I try to run it. Here is what I am getting. Any suggestions? root@nifd:/etc# espeak hi ALSA lib pcm_dmix.c:990:(snd_pcm_dmix_open) The dmix plugin supports only ...
5
votes
3answers
18k views

How to play mp3 on background from command line

The command: omxplayer -o local sample.mp3 works fine - sound is good - but I have to wait for return until the music stops. I want to put this in a backround. I run: omxplayer -o local sample.mp3 ...
2
votes
1answer
1k views

Need audio recorder + audio player for my Pi Zero

I am currently building a light-weighted audio system using my rasperry Pi zero. I am looking to enable my Pi to have the following 2 functionalities: 1) be able to record from a microphone 2) ...
2
votes
2answers
4k views

How can I play locally stored music via an Alexa command?

I have a very basic programming understanding and I would like to be able to say to the Pi something like "Alexa, play Bottoms up" and she play it from the local SD card. The tutorial I followed is ...
0
votes
2answers
85 views

Whistling sound from speakers on connecting USB mouse

I'm using GPIO12 & GPIO13 for PWM audio output to a set of powered speakers on a Raspberry Pi 3. However the speakers have a continuous high pitched beep to them which seems to be tied to the ...
0
votes
0answers
31 views

Java Audio Clip is not stopping at right time

I wrote a program to start and stop a wav file in Java which will run on pi 3/b. The program works well in windows pc but it doesn't works good in pi (Raspbian Installed). It stops the audio clip ...
1
vote
1answer
229 views

Would the Adafruit USB Audio Adapter be sufficient for Pi 3 B+ audio?

I have a Pi 3 B+ and overall it's really good but has one glaring defect: the audio from the audio jack with a set of (non-HDMI) external speakers is total and utter garbage, distorted almost beyond ...
0
votes
1answer
4k views

How to connect Raspberry Pi 3 to the built in speaker of a pc?

I want to connect a Raspberry Pi 3 to my PC monitor. The monitor provides an HDMI port but lacks of a built in speaker because the desktop computer that is currently connected to the monitor uses its ...
2
votes
1answer
1k views

Real time audio input for use in Python program

I am working on some audio manipulation with my RPI and have a question on how I should process the signals. Right now I have a USB adapter with an Audio In and an Audio Out. What I would like to do, ...