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

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).

0
votes
0answers
4 views

Multiple channel and multiple sound card

I need to do the following (if possible in Python): 1) output at the same time on multiple USB sound card (cheap one you can find on Amazon) 2) on the main audio file, I need to output temporary sound ...
3
votes
3answers
446 views

Does Pi Zero Have built-in-audio component?

I am looking to buy a Raspberry Pi Zero for my retro gaming project. I am asking wherher the Raspberry Pi Zero has any built-in internal audio speaker in the chip itself or not? If there isn't, is ...
1
vote
0answers
22 views

Removing noise coming from 3.5mm audio jack

I see there is a question similar to this here. However its solution was not for everyone, and doesn't help me. Any time a key is pressed either remotely through ssh or directly connected there is a ...
0
votes
2answers
1k views

Error after (trying to) recording usb microphone with alsa record

I'm setting up alexa-pi and everything was going smoothly until the final step which is running a wake word engine. I'm keep getting " 'pcm' failed." error. I've read somewhere that in order to this ...
0
votes
0answers
14 views

Can't get any form of audio working on RPi with Android Things

I'm using a Raspberry Pi 3 Model B running Android Things hooked up to a projector with a built-in speaker. The app is designed to relay a text-to-speech announcement every few minutes, but it just ...
0
votes
1answer
3k views

Send audio from one Pi to another- Same network

Beginner here. The Goal: Send audio source from one Pi to another over the same network. Both Pi's will have a static IP and will be locked onto each other. I've attached a diagram for ...
2
votes
1answer
94 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
2k 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
1answer
656 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
27 views

Piping (Live Playing) Audio to FFT Process

I am trying to build a project that does a spectrum analysis on audio playing through my Raspberry Pi using FFT. I will be using GPU_FFT in C++ to do the bulk of the calculations (which should be ...
3
votes
2answers
2k views

Adding microphone support to the RPi 3B

I own a Raspberry Pi 3B and want to extend the sound capabilities. So what I need is sound output for speakers and headphones via a 3.5mm phone jack. In addition to that, I want to add an internal mic ...
0
votes
2answers
1k views

Choppy sound on MPD + Airplay, working pulseaudio

My current setup is mpd server on a RPi connected via pulseaudio to an airport express sink which in turn is connected to my receiver/amp as described in Redirect audio to another AirPlay device In ...
0
votes
1answer
648 views

USB DAC not listing as playback device

I am trying to get a Musical Fidelity V90-AMP to work for playback of music using my Pi. I installed the SqueezePlug image and it otherwise works fine via the analog output. The problem seems to be ...
0
votes
0answers
1k views

Analog Microphone with Raspberry PI

I have an analog microphone like this one : Is there a way to record audio from GPIOs and convert it to readable format, such as .mp3 or .wav ? I searched on Google, but I didn't find what i want .....
5
votes
2answers
13k views

omxplayer doesn't play audio

I can play audio to analog jack output with mplayer and aplay, but i cannot get it working with omxplayer. # setup audio output modprobe snd_bcm2835 amixer cset numid=3 1 # This is working mplayer -...
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 ...
1
vote
4answers
882 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
400 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
874 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
733 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 ...
2
votes
0answers
30 views

USB audio device is displayed as default, but is not

I have set the USB device on my Raspberry Pi to default. The file /lib/modprobe.d/aliases.conf: options snd-pcsp index=-2 options snd-usb-audio index=0 options cx88_alsa index=-2 options snd-atiixp-...
1
vote
2answers
442 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 ...
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
32 views

Read real time raw data bluetooth

Currently im working on a bluetooth speaker, which has to receive audio via bluetooth from my phone. The bluetooth receiver will be the raspberry pi 3 a+, and it will direct the audio data to an ...
0
votes
1answer
697 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 ...
2
votes
1answer
32 views

Play Audio Through 3 Different Bluetooth Speakers

I want to play a story divided into three mp3 files through three different speakers. For example: begin playing file 1 through speaker 1. Once it's over, play file 2 through speaker 2. When it ends,...
1
vote
1answer
32 views

Using a bluetooth headset as both audio and mic on a raspberry pi

I am looking to purchase a Bluetooth headset for a project of mine and I would love it if I could use it with my raspberry pi The headset I am looking to get is this one: https://www.gearbest.com/...
3
votes
1answer
4k 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
1answer
590 views

rpi3 distro optimized for linuxsampler

I am going to have a stroke trying to compile a rt-kernel and I'm just not proficient enough to accomplish this task in a timely fashion. Can someone please direct me to a rpi3 distro that will run ...
0
votes
0answers
31 views

Is it possible to control echo hardware with a raspberry pi

I'm in the process of building some voice-activated features in my Raspberry Pi. I've been looking at off-the-shelf microphones and speakers, and using my Amazon Echo as reference. It has occurred to ...
3
votes
0answers
23 views

raspi MIDI in audio out

I have a MIDI controller keyboard, that I want to take with me to a vacation. For some reason I cannot bring a tablet/laptop with me. I still have a Raspberry Pi 2B lying around so I thought it might ...
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 ...
0
votes
2answers
2k views

Alsa volume control without amixer

Is there a way to control Alsa volume through software if I2S Dac (e.g. old Hifiberry) doesn't support software volume control (amixer is empty and if you add mixer it won't affect anything)? While ...
2
votes
1answer
56 views

Can I control the volume from my phone when using shairplay with optical output?

I've recently bought a Raspberry Pi to use as an AirPlay device, using Shairplay. However, I've realized that the audio quality from the 3.5 mm plug on the Raspberry Pi is quite bad, meaning that I'm ...
1
vote
1answer
21 views

Host MP3 stewing website on raspberry pi

I (as I am sure most people do) have loads of MP3s and CDs from pre Spotify days (other services are available). In particular I have quite a few that aren't on Spotify. So I have decided that I would ...
0
votes
0answers
33 views

how can I use an external GPIO sound card and set it as default?

I've bought a seeed voice card as an external GPIO sound card and as a input audio device to use pocket sphinx.After it was installed successfully, i typed "cat /proc/asound/cards" to see my card ...
1
vote
2answers
327 views

Reliable way to play sound (ogg, mp3) in Python, on Pi Zero W

I have been trying to find a reliable method to play sound on my Pi Zero W, in Python. By default, Zero does not have audio output, but I have set up an I2S amp and speaker, following this guide: http:...
3
votes
3answers
6k 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 ...
1
vote
0answers
1k views

Pi 3B+ jack audio inputs

Related: Raspberry Pi 3 audio input? I need to be able to input several jack microphones (minimum 2, more could prove useful) to my raspberry, to do some audio processing (between all inputs), and ...
2
votes
1answer
102 views

Looking for multi-room streaming audio solution that plays well with wifi

I set up MPD+PulseAudio streaming as described in Streaming Audio to Multiple Wireless Speakers. It worked perfectly with 2 remote wireless speakers, but then my wifi network was brought to its knees. ...
1
vote
3answers
1k views

No audio output using raspberry pi and pygame.midi

I have a Raspberry Pi 2 and a set of speakers connected to the 3.5mm headphone jack. I've got most audio coming out of my speakers by running amixer set name='PCM Playback Route' 1. pygame.mixer ...
1
vote
1answer
44 views

Bluetooth Audio to Raspberry Pi Zero W as USB Mass Storage

My car audio system has only a USB Memory input (it does not have Bluetooth). The audio system is able to read the content of the USB memory, find the folders (MP3 files) and show them on the screen. ...
0
votes
1answer
111 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 ...
0
votes
1answer
29 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
0answers
15 views

Separately python audio output and osmc output

So I'm doing a project .I am using raspberry pi 3 as a media player using osmc and is connected to my projector. I have written a python file so that it uses voice recognition (pocket Sphinx) to use ...
0
votes
1answer
27 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
3k views

How to enable sound on Raspberry Pi 3 running Ubuntu 16

How do enable sound on a Raspberry Pi 3 running Ubuntu 16? I've tried the solutions outlined for Pi2, like this question, but nothing seems to work. Running sudo aplay /usr/share/sounds/alsa/...
3
votes
4answers
9k views

How to make PCM5102 DAC work on Raspberry Pi ZeroW?

I purchased a PCM5102 for my PiZeroW, but having problems finding complete driver software information voltage information wiring information. I chose this particular unit because they seemed very ...
0
votes
0answers
78 views

Playing Audio flies in python with speaker

I bought a speaker with a usb connecter. I want to play the audio file with the speaker. Is there a specific code for that? Edit: I have 3 audio files to play so I'm not sure how to play multiple ...