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

315 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
787 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
71 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
374 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
1k 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
0answers
407 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
0answers
784 views

Can't get PyAudio working with Raspbian

I've been planning an audio project with my raspberry pi and have played with some ideas using PyAudio on my mac with no trouble. I just recently set up my RPi and am having some trouble running ...
2
votes
0answers
802 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
1answer
57 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
2answers
289 views

Stream music from PC (Win10) to pi (BIG NOOB)

Hi i have a problem that i would be extremly happy to solve: I want to make my sound (If possible only spotify sound) go from my pc go to the raspberry pi and from the pi to a jackstick to my stereo. ...
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
0answers
12 views

Play audio on two sound cards at the same time

I currently try to setup my raspberry pi 3 with a HiFiBerry DAC+ Pro XLR (using Raspian based on Debian 10). I installed the sound card and configured alsa to use device 1 as new default. Restarted ...
1
vote
0answers
42 views

Read Incoming Bluetooth Audio On Pi With Python

this is my first post on here! I am trying to make my raspberry pi 3 a bluetooth speaker which synchronizes beat of the music being played from a phone to an LED light strip. For the LED light ...
1
vote
0answers
35 views

How do I get a USB speaker working on a Pi 4 with Raspbian Buster?

I've found several candidate dupes for this - the one that seems to encompass them all (and more) being this one: How can I use an external USB sound-card and set it as default? But none of them have ...
1
vote
1answer
16 views

distorted & slow audio autput when booting with no HDMI on 3b+

If I boot my Pi 3b+ with the HDMI cord plugged in then my audio sounds fine. However, if I want to run it headless and I boot the device without the HDMI plug then the audio is very slow and ...
1
vote
0answers
27 views

Trying to create low-latency audio stream with USB input to ethernet output

I'm trying to route audio coming from a tv to my Sonos speaker using a USB audio capture card (tv aux to Raspberry Pi USB input). I'm planning on using the ethernet port on the Raspi to output the ...
1
vote
0answers
10 views

Losing first few seconds of audio

So on my Raspberry pi when I play audio through the headphone jack, the first few seconds of sound are lost. However, I if I immediately play the sound again, the audio works fine from the very ...
1
vote
0answers
19 views

Inject audio and broadcast/stream over internet

I like to attach an FM tuner like Si4703 to raspberry pi 3 and want to rebroadcast particular frequency (FM) over the internet (I want to listen to local FM when I'm in my office since I don't get a ...
1
vote
0answers
27 views

Change Default Microphone

I am having trouble changing my default mic on raspbian buster lite (kernel 4.19.36 on the 3B+). I know that the mic is fully functional because when I run: arecord -D plughw:1,0 --duration=3 test.wav ...
1
vote
0answers
37 views

Can I use A2DP profile as audio input in a phone call for higher quality audio? I am aware this would remove the option for using microphone

I've been able to connect my raspberry pi 4 to my phone as a bluetooth HSP/HFP profile. I used PulseAudio and ofono for that, following this tutorial: https://scribles.net/enabling-hands-free-profile-...
1
vote
0answers
25 views

Decrease audio volume below 1% without muting

The output volume of my USB headphones ("Microsoft Lifechat LX-3000", ID: "LX3000") is too loud. This happens on Windows too, so I suspect its a problem with the headphones themselves. Is there a way ...
1
vote
0answers
24 views

If I want to program I2S by bit-setting the PCM registers manually, do I need to disable any kernel settings (eg snd_bcm2835)?

(I'm not with my board at the moment - if I need to share my code, I'll have to edit this post or post a new one at a later time) I didn't realize how complicated I2S setup on the Pi is. I've been ...
1
vote
0answers
23 views

Suptronics X400 DAC - sound cutting out over certain volume

I am using a Suptronics/Geekworm X400 DAC with a Pi4. I have an intermittent issue where the sound will cut out over a certain volume. After a couple of reboots, the system will work correctly and ...
1
vote
0answers
135 views

PyTTSX3 Error for RPI4

I tried installing pyttsx3 using the terminal, however when I run the following program, import pyttsx3 engine = pyttsx3.init() text = input("What Do You Want Me To Say? ") engine.say(text) engine....
1
vote
0answers
49 views

How to produce audio for tensorflow object detection on the raspberry pi?

I'm trying to add audio output for Tensorflow object detection on the raspberry pi. For example, if it detects a person from the picamera, I'm trying to get the program to say "person". When I use the ...
1
vote
0answers
140 views

No audio from built-in speakers in Recalbox - 1UP Pi-Boy XL

I recently picked up a 1UP Pi-Boy XL, which runs Recalbox (v6.1.1-Dragonblaze). The built-in speakers only make sound during the Recalbox loading screen, but then refuse to play audio. Within ...
1
vote
0answers
296 views

Audio Jack Issue PI 3

I have connected my external speaker to the audio jack that only is powered by an adapter. The audio seems not to be working for some reason. It tells me that there is no soundcards found. Whenever ...
1
vote
0answers
278 views

UV4L huge CPU load on streaming audio

I'm building a little baby monitor using RaspberryPi ZeroW and UV4L and run into a little problem. I'm using WebRTC to cast video and audio to my browser from RPI camera (used facedetect demo, ...
1
vote
1answer
334 views

WaveShare WM8960 Audio Sound Card / HAT Installation on Rpi Zero W Problem

I recently bought the WaveShare WM8960 Audio HAT said compatible with Raspberry Pi Zero W. The install complete without trouble, I can see that the soundcard is installed by typing sudo dkms status ...
1
vote
1answer
237 views

Identify which microphone is on which audio card using arecord

I'm using a Raspberry PI and on it I plugged two same USB microphones. I would like to be able to identify which USB microphone is on which audio card when I list devices with arecord: arecord --list-...
1
vote
0answers
89 views

Sound/song recognition?

I'm new to Raspberry Pi with essentially zero knowledge. I'm wondering if, with machine learning or similar, it is possible to identify a specific sound (say the first few seconds of a song). I've ...
1
vote
1answer
78 views

Audio Injector stereo soundcard is preventing boot

I recently bought a Audioinjector stereo soundcard HAT to stream sound on my raspberry pi running Raspbian. I went to their website and installed the .deb installer file and ran it with audioInjector-...
1
vote
0answers
842 views

What does amixer cset numid=3 3 do?

In order to solve missing audio via HDMI with Raspberry Pi 4B (Raspian Buster) I came across amixer cset numid=3 2 which didn't do the trick for me. But randomly I checked numbers from 0 to 4 and ...
1
vote
0answers
638 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
0answers
51 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 ...
1
vote
0answers
121 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 ...
1
vote
0answers
27 views

Is it possible to route audio via different software?

I use my rpi3 for a bunch of things, probably too many things. At the moment I use it for kodi, which plays audio through the HDMI output, and it's great. I would like to add some mopidy audio support,...
1
vote
0answers
33 views

Pi-topCEED / Bluetooth áudio question

I’ve a Raspberry Pi 3B+ along with a Pi-topCeed and pi-top SPEAKER ver 2. Using Raspbian Stretch not pi-top OS. It works ok but for better quality I want to try using a Bluetooth speaker to play ...
1
vote
0answers
211 views

Best way to sync OMXPlayer video with audio stream?

I am having issues getting OMXPlayer video played on a TV via HDMI to sync with audio streamed over the network. My thought was delay the video output by ~500 ms then use pavucontrol to fine tune the ...
1
vote
0answers
165 views

Constant beep when recording sound

I am using an external sound card with my Raspberry Pi 3 Model B+. I have already disabled the default bcm2835 sound card. I have checked that the my external sound card is active. I have turned up ...
1
vote
0answers
36 views

Aux and HDMI audio options missing

Background (To give some perspective on the issue): I am using mopidy and mopify as an audio server on a Raspberry Pi 3 B+. WHen setting this up, I found that it would not output through a USB audio ...
1
vote
0answers
315 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 ...
1
vote
1answer
254 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 ...
1
vote
0answers
58 views

Need to play two audio streams at the same time

I set up a darkice server using raspberry pis in my kid's rooms as baby monitors. They steam to a website m3u file so VLC and to be the answer. I'm trying to accomplish 1 of 2 things. A.) Play both ...
1
vote
0answers
125 views

Raspberry Pi Audio Bridge

I would like to connect audio from a TV to be received into a Raspberry PI and then be transmitted via Bluetooth to a wireless Bluetooth speaker, is that possible? If so, how? Audio card?
1
vote
0answers
2k views

Simple intercom with rPi

I saw someone had a question a couple of years ago about connecting his intercom (which used a phone line) to a rPi and none of the answers were realistic. I also would like to do some simple project ...
1
vote
1answer
579 views

Connecting Hifiberry Digi+ clone (PiFi Digi+ V1.0) to an Raspberry Pi 1 B (26Pin Header)

Hi I wanted to make use of an older Raspberry Pi and build an Volumio Music Player. I ordered Hifiberry Digi+ clone (PiFi Digi+ V1.0), unfortunately I forgot I own an older Raspberry Pi 1 B with the ...
1
vote
0answers
135 views

Multiple USB-audio dongles in raspberry pi

I need to record multiple microphones independently based on external events. I wonder if having a USB hub and multiple USB-audio dongles will allow me to do so. So my questions are: How are these ...
1
vote
1answer
688 views

Need advice on how to record video and audio using my RasPi

As an experiment and learning project, I want to create an action cam using my RasPi Zero W, the latest version of the RasPi camera module and an i2S microphone. I have found some RasPi action cam ...
1
vote
0answers
334 views

Raspberry Pi as bluetooth Microphone

I would like to use the raspberry pi as a bluetooth microphone for my iphone. Not the speaker, ONLY the microphone. My vision is to have a microphone plugged into the raspberry pi that could connect ...
1
vote
1answer
584 views

Bluetooth Connecting two devices

I am trying to set up bluetooth so that I can play music from both my phone and my computer in alternation (ie, if I want to go in the other room on a call where the phone stops playing, i can switch ...

1
2
3 4 5
7