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
3k views

How to work a Wireless Mic in Raspberry Pi 3 to make it a voice recorder? [closed]

We have been trying to connect Raspberry Pi 3 to Bluetooth headset with inbuilt mic. The audio out is working in the above scenario but not audio in. Does any body have any suggestions on how it can ...
2
votes
0answers
262 views

Choose Audio device for speech recognition

I got speech recognition working in a simple UWP app on my Raspberry PI3. I also wanted to add audio output - with the onboard audio jack the sound was horrible, so I used a USB-Audio adapter. This ...
2
votes
0answers
505 views

LED strip PWM on GPIO18 + mono audio output

On the RPi 3 I would like to control a WS2811 LED strip with PWM (GPIO18) by keeping the audio working. It looks like for the RPi Zero (I'm unsure for RPI 3 though) left and right channels of the ...
2
votes
0answers
5k views

Raspberry Pi 3 USB Microphone Issues

I have a Raspbery pi 3 and trying to use a usb microphone (C-Media microphone USB) but having no success. The "/etc/modprobe.d/alsa-base.conf" is not found on my Raspberry pi, does this mean that it ...
2
votes
0answers
625 views

How to create audio-video service using Avahi on RPi?

I have a RPi board Model B Version 1.2 running with Raspbian OS. I want to communicate with Apple devices. As I studied about it and have found that it uses Bonjour, which is an implementation of ...
2
votes
0answers
31 views

Usb sound inbuilt with camera not detected in raspbian jassie 2016-02-26

I am using an inbuilt mic with USB camera module & I just plug it to the usb port & use in my linux mint for recordings. When I typed in "cat /proc/asound/modules" in raspberry pi it gives ...
2
votes
0answers
460 views

Possible to Interface With ISA Sound Card?

Old ISA soundcards like the AdLib and Gravis UltraSound are popular with the retro gaming community and it would be interesting to tinker with them on a Pi. Questions of drivers aside (which are big ...
2
votes
0answers
534 views

How to Set Up Driver Support for I2S Audio Codec

I am building a I2S audio codec using an ADAU1781 chip, which will communicate with the Pi via the GPIO pins. In my research I have found that there is an ASoC driver built into the Raspberry Pi ...
2
votes
0answers
283 views

What changed in newest Raspbian to affect sound?

I updated to the latest version of Raspbian last night because of this and this morning when i tried to listen to anything it outputs so much static as to be utterly unintelligible. And I m talking ...
2
votes
0answers
3k views

No sound on Raspberry Pi Running Kali Linux

I'm running Kali Linux on my Raspberry Pi 3 Model B and I've had problems from the start. First, PulseAudio wouldn't connect to the server, so I removed it and installed a few packages with different ...
2
votes
0answers
26 views

Raspberry Pi 2 Audio vs Video Clash

So, I'm having an interesting issue. Those of you who have seen me around know that I don't usually use a GUI of any sort with my Pi. However, I recently got another one and decided to make an ...
2
votes
0answers
2k views

No audio out from Raspberry Pi Zero HDMI output

I am using an HDMI to HDMI plus audio converter at the HDMI output of a Raspberry Pi Zero. The video works fine, but I get no audio in headphones connected to the 3.5 mm jack output of the converter - ...
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 ...
2
votes
0answers
331 views

Are there any compact microphones compatible with RasPi that can fit inside a typical enclosure?

It is my understanding that the Raspberry Pi doesn't have a sound card and therefore isn't able to accept sound input without help. However, most USB microphone have such a "sound card" built in, and ...
2
votes
0answers
670 views

Raspberry Pi Model A+: I2S ADC and DAC connection

I want to connect raspberry pi A+ to external DAC/ADC(audio codec) via I2S interface. Is it possible? If not, what model can I use to perform audio recording/streaming?
2
votes
1answer
57 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 ...
2
votes
0answers
356 views

Music/Sound Visualizer. How to determine noise level?

I would like to make a music visualizer, but I need to know the intensity of the music playing. The music is playing from my Pi, so if this is possible without a mic that would be great but I'm ...
2
votes
0answers
981 views

Raspberry Pi 2 low volume on headphone socket

I'm using a Raspberry Pi 2 as an AirPlay receiver connected into an external amp via the headphone socket, and running shairport-sync. I am seeing a low volume on the headphone output socket, such ...
2
votes
3answers
13k views

How to force Rpi to use usb soundcard

I have RPi with usb soundcard I have follow this answer USB card as my default Audio Device But i still can't make it work the settings always changing itself and i can't set my default soundcard to ...
2
votes
0answers
390 views

The distorted audio issue if I set low volume

I bought Raspberry Pi 2 model B and tried to play the audio after rpi-update. amixer set PCM 100%; aplay sample.wav It is good quality. However, the audio is gradually distorted when I turn down the ...
2
votes
1answer
235 views

Installing a music server on raspbian, no stand alone

I would like to install a music server that can play music stored on a HDD, and that offers a Web GUI accessible from a smartphone. That sounds like Volumio, Raspify & co, but I would like this ...
2
votes
0answers
2k views

How to record sound in buffer using ALSA [closed]

I'm begining to learn linux and ALSA and I was wondering if there is a way to store the sound I record from a microphone a directly to the buffer. I read here how to make my recording program. But ...
2
votes
0answers
498 views

Stream Live audio TO raspberry pi [duplicate]

I want to stream live audio stream from my ubuntu running laptop to my pi, both of which are connected to the same network. I have read about ffmpeg and installed it too but can not get the mic output ...
2
votes
0answers
788 views

Audio over Bluetooth module via GPIO

I've worked with the HC-05 Bluetooth module which is a popular module having standard UART TX/RX lines that can be directly connected to the RPi's GPIO. You can use it to set up a Bluetooth terminal ...
2
votes
0answers
375 views

How to Airplay from a Raspberry Pi? [closed]

Is it possible for a RPi to stream AirPlay to another RPi? I have some RPi's connected to various speakers in different rooms. I easily can stream from my phone (or computer, or tablet) to any of ...
2
votes
0answers
653 views

Sugar OS on Raspberry Pi analog sound output [closed]

I'm able to get analog output working on official RPI distro raspbian, but the same procedure fails if using Sugar OS (OLPC). I'm also using berryboot to load the desired image. Kernel I'm using (I ...
2
votes
0answers
70 views

Does the BUSY flag work for the Clock Control Registers? [closed]

The docs suggest that certain registers shouldn't be messed with if the BUSY flag is set. I've tried disabling the General Purpose clocks, but the busy flag is always set. See page 107 of the BCM2835 ...
2
votes
1answer
46 views

How can I output my USB microphone through the jack port?

My Raspberry Pi 3 is going to be used like a music center, it will play various songs and videos but recently I want to implement a "voice amplifier" command or software, I tried to find on Google ...
2
votes
1answer
4k 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....
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 ...
2
votes
1answer
1k views

Record audio output

Is there any way to record the audio output on the raspberry pi from the command line? I have tried using arecord, but it says the Pi doesn't have any audio capture cards. I also want to be able to ...
1
vote
2answers
353 views

Access shell while music playing

I'm running the following python script to play playlists in my Music library on my ras-pi. import subprocess import random import sys from os import listdir files = [] for f in listdir("/home/pi/...
1
vote
3answers
14k 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.
1
vote
2answers
3k views

omxplayer doesn't play audio when streaming

When I pass a link to omxplayer with youtube-dl it won't play the audio only the video. Where as playing it locally works as expected. It doesn't show the usual Audio codec ac3 channels 6 samplerate ...
1
vote
6answers
11k views

Raspbian, no audio HDMI, have tried all the troubleshooting I can find

I know this is a noob question, so I apologise in advance! I've been googling for hours, have ran through all the steps for troubleshooting sound through HDMI; un-commenting the config file sound ...
1
vote
2answers
224 views

Testing my low frequency generator

I have my pi hooked up to a shaking device, and I'm looking to drive it at relatively low frequencies. My code looks like this: # Import the necessary header modules import RPi.GPIO as GPIO from time ...
1
vote
3answers
4k 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/...
1
vote
1answer
737 views

Play system mp3 through web request

I have a Raspberry, with a simple lighttpd and python as CGI. I try to play a MP3 to be played when I visit a web page. So I can visit http://ip_rasp/play.py and the mp3 sounds with the Raspberry ...
1
vote
2answers
3k views

Control Pi Audio via bluetooth from phone

Effectively, I'm attempting to replace an iPod for use in my car to play music with the Pi. But, the special thing here is I want to be able to control what's played over bluetooth with my phone (...
1
vote
2answers
869 views

Audio Output on RaspPI

I'm quite new to the DIY world but I wanna try to build a "smart clock". And I'm having trouble with making a choice on the audio output. So far, if I'm right i have 3 choice Use the on-board jack ...
1
vote
2answers
2k views

aux output with hdmi as video

I am new to the Pi, loving it. Just started using HDMI instead of composite pal ( obvious reasons) but I want to keep sound going through AUX so I can play with better speakers. I looked around but ...
1
vote
2answers
211 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
2answers
7k views

playing wav files with pygame bad quality with noise

I am trying to play a wav file in my raspberry-pi using pygame. I am able to play the music in the speaker.But the sound is very low and many noises are coming along with the sound. Is there some ...
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 ...
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 ...
1
vote
1answer
78 views

Bluetooth Audio does not seem to work on Raspbian Strech

After installing Raspbian Strech from NOOBS_v3_0_0 on my Raspberry 3B I have observed that setting up Bluetooth is not a completely easy matter. Most helpful was the installation of the BT manager as ...
1
vote
1answer
5k views

FFMPEG: Unknown input format: 'alsa'

I have a Raspberry Pi 3 and I keep trying to install FFMPEG, but whenever I try to record audio through my USB webcam's mic with sudo ffmpeg -f alsa -i hw:1 -t 30 out.wav I get the following error: ...
1
vote
1answer
2k views

Configuring jack into a microphone input

Is there any way that I can configure the jack on a Raspberry 2 into a microphone input ? The goal is to gather the sound data from a microphone that I would plug into the jack and save it to a file.
1
vote
2answers
3k views

HifiBerry DAC+ or Digi+?

Currently I have: Mac Mini (audio source) -> Cambridge Audio DAC -> Cambridge Audio Amp And I plan to do either: HifiBerry DAC+ -> Cambridge Audio Amp or: HifiBerry Digi+ -> Cambridge ...
1
vote
1answer
195 views

Is it possible to play audio though the aux. port without starting 'x'? (pi 2b)

Is it possible to play audio though the /3.5mm jack/ without startx? Seems like it would be a lot of trouble just to play some audio.