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
3
votes
1answer
381 views

Stream rasberry pi audio to my windows pc

On my Raspberry Pi Zero I'm using an HDMI to VGA adapter. So I have no audio output for my RPIZ. I'm wondering how hard would it be to stream audio from my RPIZ to my windows 7 PC.
3
votes
1answer
2k views

How to create a virtual microphone that reads from a file?

TL;DR: I want to create a virtual mic on my pi to stream wav data to it from a named pipe, so apps that look for input from a mic instead of a file can receive it. Background I'm running ...
3
votes
1answer
516 views

Loud click when playing sound files

With Windows IOT before and after playing a sound file on the Raspberry (both 2 and 3) a loud click can be heard thru the speakers; is there a way to make it so no click is heard? Here is the code I ...
3
votes
1answer
560 views

Sound Quality: Does the choice of operating system or software affect quality of sound?

Has anyone done a sound quality comparison between Audiophile and Media Centre operating systems? On a simple Pi-for-stereo that uses only the onboard sound card, will I get better sound if I use ...
3
votes
2answers
5k views

RPi Streaming Audio Server

I'm trying to build a system similar to the following diagram: My plan is to configure my Raspberry Pi, depicted as the Mixxx Block in the diagram, to stream audio from a file or a microphone ...
3
votes
1answer
807 views

Why is there no sound while playing audio from a SSH session?

I've been banging my head for several dozens of minutes against the wall until I realized my Pi (B+) did play audio indeed. The only thing is it seems to only play from a TTY (i.e. an interactive text ...
3
votes
1answer
203 views

Can I use the HiFiBerry DAC+ to create constant output voltages?

I need two constant differential voltage signals in the range of [-10V,10V] as input for two galvanometer-mirrors and so far I have seen several possibilities (e.g. with SPI-connected DAC-breakout ...
3
votes
2answers
5k views

Use a USB MIDI controller as an input

I want to build a kind of a synthesizer, with a set of potentiometers connected to Pi via ADC, a set of momentary buttons that would toggle the modes and so on. I could create a row of buttons as ...
3
votes
1answer
3k views

Audio and microphone configuration of usb sound card on r-pi

To configure audio of soundcard I did the following settings: sudo nano /etc/modprobe.d/alsa-base.conf I commented options snd-usb-audio index=-2 and added options snd_bcm2835 index=1 so speaker ...
3
votes
1answer
2k views

Play video in full screen with USB Audio

I am using Rasbian... Is there any way I can play video in full screen with audio on my USB headphones? I can play fullscreen using omxplayer, but audio cannot be redirected to USB as omxplayer uses ...
3
votes
1answer
7k views

sox & alsa sound recording issue

I've installed sox and now this whole thing is freaking out :) I'm trying to get sox to record a flac file for me. aplay and arecord work ok: pi@raspberrypi /tmp $ arecord -d 3 test1.wav Recording ...
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 ...
3
votes
0answers
708 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 ...
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 ...
3
votes
0answers
773 views

Pi doesn't detect microphone but detects usb device

I had my Raspberry Pi configured to work with a USB microphone (C-Media microphone USB). I had made the following changes For /lib/modprobe.d/aliases I update the following lines options snd-usb-...
3
votes
0answers
53 views

Is this RPi DAC compatible to RPi 3?

I bought and used this DAC for a long time on my RPi 1 B+: https://www.audiophonics.fr/fr/dac-diy/audiophonics-dac-sabre-es9023-v22-i2s-vers-analogique-24bit192khz-p-8396.html Recently I bought a ...
3
votes
2answers
419 views

Is it possible to use more than one audio card on GPIO?

I want to use more than one HiFiBerry Dac+ on a single Raspberry PI. It's possbile? to connect more than one audio card?
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 ...
3
votes
0answers
1k views

Which GPIO pins are used for I2S audio I/O

I am trying to set up the ADAU1781 as an audio codec for the Pi 3 B, communicating with the Pi via the GPIO pins. Which pins would I use for I2S audio input and output? I have been doing a lot of ...
3
votes
0answers
2k views

Arecord not working with USB Microphone anymore

Before I start, I'd like to tell you that I've used arecord in the past with the Raspberry Pi 2 using the same USB Microphone and it has worked just fine. For some reason, it doesn't seem to work ...
3
votes
0answers
769 views

Using I2S microphone with Raspberry Pi [closed]

I have a microphone with I2S output and I am trying to record audio with it, using the Raspberry Pi (2 model B). I'm having trouble getting the microphone to work. Does anyone have working code for it?...
3
votes
0answers
2k views

Jack server not working on Raspbian

I wrote a little python app (using PyDub), that plays sound files. Everytime I run it, I get the these errors: ALSA lib pulse.c:243(pulse_connect) PulseAudio: Unable to connect: Connection refused ...
3
votes
0answers
110 views

crackling sound RPI2 analog output [duplicate]

I am using a RPI B 2 with OSMC as a media player for video and sound content. I have an amp connected via the analog 3.5mm jack output of the pi. When the audio volume of the pi is relatively low, ...
3
votes
0answers
895 views

Bluetooth Input Not Outputting High Quality Audio to FM

I have Raspian Wheezy running on my Raspberry Pi. I have set it up to run pifmplay and output the sound to HDMI - (Pin 4 on GPIO) so that the Pi is now working as an FM Transmitter. This part works ...
3
votes
0answers
2k views

Raspberry Pi Drum Module

I have an old electric drum set with a broken sound module (the brain that you plug each jack into). As a fun DIY project I'd like to resurrect this drum kit by replacing the sound module with the ...
3
votes
0answers
1k views

Dynamic compression / limiter of MP3 audio playback? [closed]

I often listen to audio plays (single or multiple MP3 files) before going to sleep but then wake up again when there is a much louder scene or the end theme. I can't just turn the volume down in ...
3
votes
0answers
431 views

Audacity crashes after recording 10s or so of sound

I'm experimenting with recording sound using the Pi and a USB microphone. I can record long samples using arecord from the command line but when I use Audacity I get frequent bus errors, usually ...
3
votes
0answers
1k views

Audio/Video out of sync with PCM2704 USB key. How should I proceed? [closed]

I recently bought a PCM2704 USB sound card, which is purported to work out-of-the-box with raspbmc. I've enabled the experimental audio drivers, but now I get pretty bad A/V sync issues. Of course, ...
3
votes
1answer
4k views

Using Android phone as microphone for R PI B+

I'm planning to use Jasper for voice control on my Raspberry Pi B+. However, there are no microphone sockets and I do not have a USB mic. I would like to know if there is any way I could use my ...
3
votes
2answers
387 views

Problems recording while playing audio

I am using a USB-soundcard to record on my raspberry pi and it records fine and the recorded sound is great, however if I am playing any other sound clip (through the audio output port on the ...
3
votes
1answer
3k views

Very bad sound with external microphone [closed]

I have a CAD Audio U9 Microphone external microphone with a clear sound on my laptop. I plugged it inside Rpi and the sound is very bad. I have glitches and noise. I tried to change the gain inside ...
2
votes
1answer
5k views

Setup output and input audio on different cards

I was trying to prepare my RPi for jasper and plugged the USB mic and the speakers in the 3.5 jack. Trying to configure it I found out that I could only chose that the whole audio IO is going through ...
2
votes
5answers
1k views

Powering an amp and a Pi from a single 12V lead?

I have a project in mind where I put a Pi into an old radio along a small amp (e.g.), or similar. The only problem is I'd like to only have one power lead to the whole thing. The amp takes a 12V ...
2
votes
2answers
3k views

How to feed 8 speakers 8 different signals using a Raspberry Pi?

How can I output 8 different audio channels to 8different speakers simultaneously using a Raspberry Pi 3 and its or any other accessories? I am using the Wolfram Language, so I have 8 different "...
2
votes
2answers
573 views

Driving an 8 Ohm, 0.25 W speaker using GPIO or audio output (RPi 1 Model B)

I'm trying to build a Raspberry Pi into an old toy phone and use the GPIO pins to read the numeric pad (this part is working) and attaching the RPi's output to the built-in speaker. The speaker says "...
2
votes
1answer
2k views

What would it need to create an audio A/D Converter for a Raspberry Pi

I'm trying to build a simple audio-recorder, that stores data from an audio input to either an sd-card or a connected usb-stick. The audio interface should initially just encode 2 channels, with the ...
2
votes
4answers
3k views

How to use Bluetooth to send audio on Windows IOT

I am new to Bluetooth and I want to transmit my sound to my Bluetooth receiver. How is this done in Windows IOT? My App gives out the sound via aux right now, and I want it to use the bluetooth dongle....
2
votes
1answer
4k views

How to setup Airplay on a headless Raspberry Pi using OSMC over ssh

I want to use my Raspberry Pi as an headless (no monitor, no keyboard) Airplay receiver to stream sound to my speakers. How can I set up OSMC over ssh to achieve this?
2
votes
1answer
4k views

How to enable sound on HDMI?

I have looked at all kinds of tutorials, I modified the /boot/config.txt by adding hdmi_drive=2 and sound just does not work or if it does it always is over analog out. I just want sound over HDMI ...
2
votes
1answer
68 views

What is the configuration of the 4-pole A/V jack on the Pi 4?

What is the configuration of the combined analogue audio and composite video 3.5mm jack on a Raspberry Pi 4?
2
votes
2answers
7k views

Raspi3 audio sounds like rubbish

I have been messing around with pi3 for a couple of days now and I made a project with java netbeans which would play the audio file etc. On my desktop everything works fine, project, sound etc. On ...
2
votes
2answers
18k views

Jessie: RPi 2 - USB audio input does not work (output works)

I am using a Plantronics USB Headset that also has a microphone. I have tried a lot of articles and finally managed to make the headphone work, but the microphone still doesn't work. Here are current ...
2
votes
1answer
443 views

How to stop Car Alternator audio noise / buzz?

I connected a Raspberry Pi 2 in the car to add OSMC media player capabilities. However, there seems to be a buzz / hum of background noise in the audio. The noise is correlated to the engine speed so ...
2
votes
2answers
866 views

Programming a non-audio headphone jack peripheral [closed]

I have been given a scentee which I would like to program to be usable with my Raspberry Pi. This device connects to smartphones via the headphone jack, and needs to be charged seperately, so I don't ...
2
votes
2answers
2k views

USB is not working properly (playback and record are too loud?)

I recently bought a cheap a USB Audio card and I have some issues with it. It records audio so awful. Apparently the volume of the mic in is so loud and distorts. I figured out this in alsamixer. The ...
2
votes
5answers
8k views

Mopidy and sound quality

My pi is plugged to my tv and I have installed mopidy. Everything is ok, the sound is played through my tv, except that the sound quality is terrible. I mean, it is not listenable at all. When I ...
2
votes
1answer
95 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. ...
2
votes
2answers
4k views

How to change audio output device for Python?

On a clean install of Raspbian Jessie I want to play mp3s via mplayer through my Sabrent USB Audio driver. On Raspbian itself this was plug n' play; I changed the default audio device to "USB Audio ...
2
votes
1answer
6k views

Perform a task upon a voice command

I would like to do on-board speech processing (Matching of a pre-recorded voice sample [1/2 secs] with a continuously playing sound) with a Pi 3. The Pi should give a real-time response to the ...
2
votes
1answer
2k views

Reliability issues with Raspberry Pi 3 as bluetooth speaker

I followed the tutorial to setup the Raspberry pi 3 running on Raspbian Jessie as a bluetooth speaker: https://raspberrypi.stackexchange.com/a/48055 After setting it up, it actually worked for a few ...