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
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 | ...
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
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 ...
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
164 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.
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. ...
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
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
151 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. ...
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
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 (...
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
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
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
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 ...
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 ...
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 ...
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 ...
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 ...
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....
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, ...
1
vote
0answers
43 views

Pi using USB audio problems with mp3 files

The pi chromium browser has a page that plays short audio files. Audio out is through USB speakers that work nicely, and pass the speaker-test -c2 Two MP3 files work perfectly. A third file produces ...
1
vote
0answers
35 views

custom mp3 player/phone for blind person controlled by mini numpad keyboard [closed]

My 86 y.o. father can barely see and can not use ordinary keyboard and touch-screen devices. Also it's hard for him to use modern youth-oriented miniature devices with small keys on them. Obviously, ...
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("...
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
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
0answers
144 views

Raspberry Pi Zero LCD + Headphone jack + Volume control

Is it possible to add an LCD screen, a headphone jack, and a Rotary Encoder (for volume control) to a Raspberry Pi Zero W? If so, how could I solder all this? Any useful links/tutorials are greatly ...
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 ...
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 ...
3
votes
1answer
626 views

Audio from audio source to pipe (stdin/stdout)

I am trying to get an audio stream from Bluetooth to the stdin of fm_transmitter on my Raspberry Pi 3 / up-to-date Raspbian Stretch. So far, I got FM-Transmitter running with an ICE-Cast-Stream ...
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
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
0answers
58 views

sound-player library not recognizing PulseAudio devices

Got a Raspberry pi Model 3b - trying to get the bluetooth speaker to work. Using pulseaudio --start, before pairing the speaker was the way to success. aplay works with no parameters just the wav ...
0
votes
2answers
761 views

Play music remotely via HTTP REST API?

I would like to play files locally on a Raspberry Pi 3 from another devices triggering like this example: http://rpi3_IP/file1.mp3 and play it on a Pi. I know there are some distros that can be ...
1
vote
0answers
145 views

How to configure pigpiod to prevent being affected by aplay

I'm using the pigpiod daemon and Python to output IR signals. I'm using raspbian jessie and rpi 3 model b gpio22 to output to leds. After starting the daemon by sudo pigpiod, it works fine and ...
-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 ...
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 ...
-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
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 ...
1
vote
1answer
1k views

Audio injector codec board wm8731 bcm2835-i2s 20203000.i2s: I2S SYNC error! raspberry pi b+

I'm using raspberry pi b+ and audio injector codec board wm8731. I changed in boot/config.txt file and added dtoverlay=audioinjector-wm8731-audio, but after reboot lsmod shows drivers but aplay and ...
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) ...
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 ...
3
votes
1answer
1k views

How can I get audio (ultrasonic Nearby API) working with Android Things?

I'm trying out Android Things on my Raspberry Pi 3, and besides a little bit of a learning curve around the adb utility, things are going well. However, it doesn't seem like audio is working at all. ...
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 { ...