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
0
votes
1answer
556 views

Is there an easy way to switch from hdmi to bluetooth audio seemlessly in raspberry pi?

I'm on raspbian stretch, I had an android tv box that broke down so I used a raspberry pi 3 I had around for uni to replace it. In the android tv box, if I connected a bluetooth headset, it would ...
0
votes
0answers
22 views

Streaming mic audio from Linux PC client to Pi host and sending result back to PC

I have a task that I'm trying to achieve that seems incredibly over complicated to do. So I have a raspberry pi at a remote location I cannot access. Then I have access to an Ubuntu laptop. What I ...
0
votes
1answer
1k views

IOError: [Errno -9981] Input overflowed

I'm getting an input overflow error using pyaudio with sample rate of 16000 and frame per buffer of 1024. I'm also using a USB microphone and a raspberry pi 3 (raspbian). I'm using pyaudio for ...
0
votes
2answers
1k views

Cannot install pyaudio

I've been trying to install/build pyaudio with little success. When I try to build it from the source, I get this: pi@pi:~/pyaudio $ sudo python setup.py install running install running bdist_egg ...
0
votes
1answer
2k views

Help reading audio data from I2S microphones

Using the Adafruit I2S MEMS microphone breakout board and the Raspberry Pi 2B, I am trying to read in stereo input using PyAudio and pass the data through a FFT to analyse. However I am not able to ...
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
0answers
92 views

Multiple channel and multiple sound card

I need to do the following (if possible in Python): output at the same time on multiple USB sound card (cheap one you can find on Amazon) on the main audio file, I need to output temporary sound if ...
2
votes
3answers
522 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
82 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
18 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
121 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
752 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("...
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 ...
1
vote
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
671 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
943 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
516 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
927 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
764 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
51 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
499 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
3k 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
74 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
753 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
49 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
198 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
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 ...
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
42 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 ...
1
vote
1answer
25 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
73 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
847 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:...
2
votes
1answer
122 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 ...
2
votes
1answer
91 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
0answers
20 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
0answers
206 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 ...
0
votes
0answers
25 views

Reusing old laptop speakers [duplicate]

The speakers are salvaged from an old Toshiba mini nb520 laptop. How could I go forward to use these speakers? Will I have to write my own drivers? Will it be worth the work? What electronic ...
0
votes
0answers
50 views

getting Zoom UAC2 usb audio to work

I'm trying to get a USB audio device working on a raspberry pi 3. It is listed when I do aplay -L as default:CARD=UAC2 Default Audio Device sysdefault:CARD=UAC2 Default Audio Device No ...
1
vote
3answers
13k views

How to connect a Raspberry Pi to an RCA based display with sound?

I have a Raspberry Pi 3 and a display that has only RCA as inputs. Please help me connecting the Raspberry Pi to the display so that I get both sound and visual.
0
votes
0answers
36 views

Using rasberry pi to transmit audio from Laptop to mixing board

I want to send audio from my pc (connected to a private LAN) to a Rasberry pi device that I connect the audio input connection on my mixing console. This needs to be done over a wired LAN. Here’s ...