Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [audio-playback]

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

0
votes
0answers
19 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
32 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
23 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
36 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
71 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
207 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
76 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 (...
0
votes
1answer
330 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
393 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 ...
-1
votes
0answers
47 views

No sound through headphones using libreelec

I have set up libreelec so it can play videos on my pi 2 that is connected to the official touchscreen, however, there is no audio output. I have set the audio to output to the analogue output in ...
0
votes
1answer
81 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
82 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
406 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
81 views

Play Video and Audio via python script

I working on a project that requires to play video and audio track. This is my setup: Raspberry Pi Rabian Lite HDMI monitor Speaker On my system runs a python script that reveices MQTT message ...
0
votes
0answers
41 views

How do I tell cdcd to use a specific audio output on an RPi 3B?

I'm currently fiddling around with the cdcd utility to play music from au audio CD by using a USB CD/DVD drive. The drive itself works, accepts my CD, and cdcd lists all tracks and also seems to play ...
0
votes
0answers
24 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
55 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
180 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
2k 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
68 views

USB Audio Input and onboard Audio output

I am working on a project for my RPI and I have a question that I would like to know the answer too before I start dropping money on all the different parts. For some LED strips, specifically the ...
0
votes
0answers
26 views

USB Audio Adapter Redirect

I currently have a setup on my RPI using a USB adapter which has an Audio Input and an Audio Output. Currently I am using the Audio Input information to control GPIO pins on the RPI. I am taking in ...
2
votes
1answer
881 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
29 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
30 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
645 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
417 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
4k 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
129 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
54 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 ...
2
votes
1answer
262 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
496 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
55 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
3k 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
46 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
588 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
112 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
91 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
3k 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
1answer
73 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
875 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
2k 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
358 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 { ...
0
votes
0answers
49 views

Using MoPi power board with RuneAudio (simbamond installation)

I would like to power my Pi running Runeaudio with a MoPi power board. However, it is designed to work with Raspbian, and the installation of the simbamond package is required. Since Runeaudio is ...
1
vote
0answers
135 views

Issue calling commands behind Tkinter

I'm trying to get an audio playback system on a Raspberry Pi to play back a selected sample in Python when the GPIO detects an input from an Arduino, (stepped down to 3.3V). Here a simplified section ...
0
votes
1answer
157 views

UPnP control point with ruby

I get this error - RuntimeError: eventmachine not initialized: evma_connect_to_server RPi3 with gmediarender-resurrect Using this library and following the basic instructions irb(main):001:0> ...
0
votes
1answer
718 views

Digital amplifier with Raspberry Pi

We all know that the built-in audio of the Pi has poor quality, and that the usual way to deal with that is to use: Raspberry Pi -> DAC -> amplifier -> speaker or headphones Queston: does the ...
2
votes
0answers
610 views

Pi zero - USB headset doesn't work?

I am trying to get audio output to a USB headset that is plugged into my pi zero. The headset can be seen and selected in the audio GUI and seen using aplay -l. However, there is still no sound output....