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
2
votes
1answer
131 views

USB Soundcard shows mic as Playback device in alsamixer

I have some trouble with my USB sound card 68878 from goobay. Alsamixer showing unexpected devices Secondly when I use alsamixer displaying Playback items. I see both a Speaker and a Mic: For ...
1
vote
1answer
3k views

Usb sound card and mic not working

I have connected a usb sound card to my rpi 3 model B but the problem is even though the speaker connected through the sound card is working the mic is not. If I try arecord -d 10 -D hw:0,0 -r 16000 -...
0
votes
0answers
28 views

USB mic input + 3.5mm jack output

I'm trying to set up my Rpi using a USB mic and output through the 3.5mm jack. If I select the USB mic in alsamixer, I don't have any sound at all. If I use the 3.5mm I get sound but cannot record ...
2
votes
0answers
36 views

Raspberry Pi 4 - Dual Audio with Dual HDMI

I have a Raspberry Pi 4. The thing is, I want to play 2 videos at the same time, since the RPi-4 has 2 HDMI outputs. BUT I also want to have split audio. The audio from video 1 should go out over the ...
0
votes
1answer
785 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
2answers
16 views

Generating Stereo Audio in PI programmatically

I want a stereo output form the PI. The sound being played will not be a recorded sound rather it would be generated using a code (preferably python). For example, the program's input will be (x,y,z) ...
0
votes
0answers
13 views

Get audio samples

I want to retrieve the audio samples that are playing on the output device (i.e. analog audio or HDMI). Is there any file I can cat to read those samples? I'm running the latest Raspian Lite on an ...
1
vote
1answer
801 views

High background noise with USB microphone

I try to use a USB microphone such as this or this on raspbian (tested on Linux raspberrypi 4.1.18, 4.9.41 and 4.9.59). It is in the list of lsusb Bus 001 Device 005: ID 0d8c:013c C-Media ...
0
votes
1answer
20 views

I2S data stream format

While I'm working with RPi I2S and couple of DACs, I notice something which I like to verify in here. When I connect the scope to I2S interface I usually see waveforms similar to this: In here 1st ...
0
votes
0answers
26 views

Raspi 4 - PulseAudio Server issues

I am currently trying to setup a pulseaudio server on a new Raspberry Pi 4. In our office, we like to listen to music but passing the aux cord around is always a pain, so we thought we could use a ...
1
vote
1answer
27 views

Set speaker jack in Lakka to default?

I have a small sound issue in Lakka (on the Pi 3 model B+) and was wondering if anyone knows how to fix it. Basically, everytime I start Lakka I have no sound using the Speaker jack. This answer ...
1
vote
1answer
3k views

How to automatically force audio through headphone jack?

I am pretty new to using Raspberry and this may be a noob question. I figured out that to output audio through the headphone jack I need to change the setting using raspi-config. But whenever I reboot ...
0
votes
1answer
2k views

Audio over Speaker Jack in Lakka?

I cannot seem to get Lakka to output audio to the Speaker Jack. Lakka sees two audio devices, but both look like the same thing, and neither gives me audio. Lakka (community) Version: 2.0 Lakka:~...
1
vote
1answer
329 views

ALSA input error (snd_pcm_open): No such file or directory - Problem with running Pd with ALSA

I am pretty new to Raspberry Pi, so sorry if I might be not clear on something. I am trying to set the Raspberry Pi 3 to work running a Pure Data patch while communicating with two Arduino UNO, and ...
1
vote
4answers
964 views

Sound Processing using USB sound card and microphone

I want to use a microphone and get input from it to sample it in real time and I don't have a set idea about how to interface it to get the input. Any help will be appreciated.
0
votes
2answers
2k views

UV4L audio + video recording or stream?

I have experimented with a number of different ways of streaming both audio and video from the raspberry pi. The UV4L web server has great webRTC support, and the bi-directional audio/video ...
0
votes
1answer
564 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
vote
2answers
941 views

Cirrus Logic Audio card replacement for recording

As is probably well known the Cirrus Logic Audio Card has stopped being manufactured and as such is proving very difficult to get. My reasons for wanting this card was that I needed something with a ...
2
votes
1answer
785 views

Using mopidy to stream audio to MPoD

I've installed mopidy on a clean build of Rasbian Jessie. I've managed to run it, and get MPoD to connect to it over my local WiFI. I've configured mopidy to enable the mpd server (hostname = 0.0.0.0 ...
1
vote
2answers
515 views

I lose all audio when I install the Waveshare drivers on my Raspberry Pi 3

So I've been trying to get my Waveshare 5inch LCD to work with my Raspberry Pi 3, I've gotten the drivers installed and the touch function works fantastically, but once the drivers are installed all ...
0
votes
0answers
22 views

How to Route Audio for Rpi

Problems with Audio in Linux Problem: Audio Routing in Rpi Goal: receive audio stream from connected device (bluetooth/wifi) then analyze the digital signal in a Processing script on the RPi ...
0
votes
0answers
20 views

Why is my controller hi-jacking my audio?

Ive been tinkering on the RetroPie for a while, all good so far, but this latest question has stumped me now. I bought a new controller, a PS4 third party wired controller. After plugging it in, the ...
0
votes
0answers
28 views

Wifi Speakers like bluetooth speakers using raspberry pi 3b+

So basically I was able to use my raspberry pi as a bluetooth audio out device that is, connecting a speaker via audio jack I'm able to make it a Bluetooth speaker. I'm wondering if there's a specific ...
0
votes
1answer
771 views

Audio Processing Issues in PyAudio in RPi

Basically, I want to analyse the spectrum of the input audio stream to my Raspberry Pi. I have configured my Audio USB Adapter and ran sample tests on Play and Record. I am using PyAudio to take ...
4
votes
1answer
121 views

Cannot set system volume

I installed my Pi 3B into a Pimoroni Picade a few months ago, and installed RetroPie from source (as a fresh install). After running the Pimoroni-supplied setup script, RetroPie, EmulationStation etc ...
3
votes
1answer
5k views

Having trouble sending audio data over TCP using Sockets to raspberry pi

I am trying to do something like a walkie talkie. 1 device is my laptop and the other being the raspberry pi. What I have working. I am able to record the microphone, transmit it over a socket and ...
1
vote
2answers
207 views

Is the 3.5mm audio jack tied to a GPIO pin?

I have a Raspberry Pi 2 B+ and I would like to confirm that the 3.5mm jack isn't tied to a GPIO pin. I could not find any information on this and thought this may be the case but I wanted to double ...
1
vote
1answer
6k views

Best FFMPEG configuration for recording Video+Audio with RaspberryPi and USB WebCam

I've spent so much time trying to figure out how this FFMPEG and their libraries work :( I have a RaspberryPi 2B and a Logitech USB Webcam. Here is the input from FFMPEG list from my /dev/video0: ...
0
votes
0answers
17 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 ...
-1
votes
2answers
363 views

Combine/Merge different Raspberry Pi Images

I tried to find something about it, but I didn't found anything. I want to run the two images of Picroft and Pi MusicBox or Volumio on the same Raspberry Pi. Is there a way of merging/combining two ...
0
votes
0answers
28 views

Simple Sound Card with I2S - how do I switch frequencies?

I asked this a month ago, but didn't get an answer and so the thread was auto-deleted. It is becoming critical that this be solved, so I am reposting. I have the simple sound card working with a ...
2
votes
2answers
3k views

Bluetooth connection attempt gives “Failed to connect: org.bluez.Error.Failed”

I'm a recent RPi user. Pi version - Pi 3, Model B Bluetooth speakers - Philiphs BT64R I've tested the speakers with other devices and the bluetooth pairing works fine. I've also tested my Pi with ...
1
vote
0answers
59 views

Ugreen USB Soundcard - Microphone IN fail but Speaker OUT work

I am using the Ugreen usb soundcard because I have to build an SPL measuring instrument. I am using a Raspberry PI 3B+ with Debian. I've config the asound.conf in this way: pcm.!default { type ...
0
votes
0answers
176 views

Bluetooth audio device as (virtual) hardware device (for SIP-calls via Linphone)

I have an external USB-Bluetooth-Dongle plugged to my Pi and a Bluetooth Speaker (with microphone) that is connected via the dongle. I manually compiled blueZ to version 5.50 and bluealsa to version ...
2
votes
1answer
56 views

Pi bluetooth audio: can't get LMS squeezelite audio to BT

I have a Pi 3B+ running Raspbian Stretch. I want to send audio via the built-in BT to a Logitech Audio Adapter which feeds my stereo. I can do this from the command line via either aplay or mpg123 so ...
0
votes
0answers
22 views

How to Volume control PAM8610 from RPI

Does anyone know how can I control PAM8610 module volume through code from RPI? Thanks.
1
vote
1answer
2k views

using php_exec command to play audio on the Pi - no audio group

I'm trying to have a php script play an audio file when run shell_exec('aplay /home/andrew/www/audio/meeting-bell/medium-bell.wav') It works when I run it from the command line, but not when running ...
0
votes
1answer
772 views

Using digital microphone with my pi

I wanted to ask, can I connect a digital microphone to my pi somehow, so that the input will be digital and then to use the data and convert it to an audio file? If so, what should I get and how do I ...
1
vote
0answers
30 views

softly increasing and decreasing volume with mpg123

I am using Picroft on raspberry pi 3. In picroft, every mp3 files run with mpg123. I am creating my own device using this OS. when I say it to sing a song it starts singing by playing mp3 files and ...
2
votes
3answers
7k views

No audio output via USB sound card

I bought an external USB sound card for my Raspberry Pi because the sound quality of the built-in 3.5mm audio jack is not that good and I experienced a lot of noise. The retailer of the sound card is ...
3
votes
0answers
763 views

Why won't pygame play sound over Bluetooth when everything else works?

I having trouble getting a program I've written using the pygame sound mixer to play sound to work over Bluetooth. The program is able to work correctly over HDMI audio. The Raspberry Pi has no ...
0
votes
1answer
29 views

Pi 3 B+ sudden audio failure

A few months ago I bought a RasPi 3 B+ to act as an overglorified doorbell using reed switches to tell the Pi to play a custom MP3 with the "Playsound" Module into the Company's PA system. It worked ...
0
votes
0answers
12 views

Sox error: ALSA lib bluealsa-pcm.c:200:(io_thread) PCM FIFO write error: Broken pipe

I'm trying to use my Raspberry Pi as a white noise generator using SOX and my bluetooth speaker (BOSE mini soundlink II). Everything works great at first, however after a certain period of time (as ...
1
vote
0answers
39 views

FM Radio with HifiBerry Amp2

Is there a way of running a Raspberry Pi 3 with a mounted HifiBerry Amp2 together with an FM Radio Module e.g. TEA5767 FM Radio Breakout Board? Currently I set up my RPI to run Mopidy and Spotify ...
0
votes
0answers
19 views

how to play audio from python on Rasbian Stretch Lite?

I would like to play selected audio files through the built-in audio port on a Raspberry 3 that is running Rasbian Stretch Lite, from a python program. Unfortunately, none of the libraries or external ...
0
votes
1answer
182 views

Cannot play audio from two processes at the same time

I want to be able to output to a speaker from multiple applications at the same time, but currently it's only allowing me to output to the speaker from a single application. I have the following ...
27
votes
3answers
115k views

How to get PulseAudio running?

I would like to use my Raspberry Pi as an PulseAudio sink that can play audio via the network. For starters I want to get Pulseaudio running locally and have run into various errors. I am using the ...
0
votes
1answer
33 views

audio doesn't play when running program on startup

I have a python code that runs an mp3 file. It works perfectly when I run it through python 3.5.3 shell on my pi-top, and I also managed to make the program run on startup, but then everything works ...
0
votes
1answer
43 views

Raspbian Desktop Audio Not Working

I have checked many forums and Google, and I cannot find it anywhere. I have just installed Raspbian desktop on my laptop (acer aspire v5-123) and when I boot into the Raspbian Stretch the audio does ...
1
vote
2answers
66 views

3.5 mm jack speakers not being recognized

Over the past several days, I have tried and failed to make my raspberry pi recognize the speakers that I connected to it through the 3.5mm jack. The USB microphone that I plugged in works perfectly ...