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
1
vote
1answer
74 views

Record 5.1 Surround Sound

I want to record audio for 5.1 Surround sound. My goal is to use 5 diy shotgun microphones with electret microphones being connected to a rpi that records and encodes to something like ac3 or at least ...
2
votes
0answers
34 views

Interfacing non bluetooth speaker with Raspberry Pi 3

I want a wired connection between speaker and Raspberry pi 3 Model B. Bluetooth or Wireless connection is not my requirement. Regarding my speaker - it should NOT simply output buzzer sounds but is ...
1
vote
1answer
67 views

RPi3 B+ Stretch. Config for external capture device & onboard headphone jack

I am planning to use an external Microphone "ReSpeaker 4Mic Hat" from Seeed-Studio on my RPi3 B+ Stretch OS. However, when I run alsamixer, my external Mic is not the default capture device. It seems ...
0
votes
1answer
87 views

2 separate audio outputs sample player

I'm looking to (hopefully) create a sample player that will be capable of playing 2 wav samples at once. One out of one stereo out and one out of another. (To send one to a stereo mix in a sound desk ...
3
votes
1answer
26 views

Terrible sound quality when recording over bluetooth

I have paired a Jabra Talk 15 headset with a Raspberry Pi 3B (and PulseAudio). I can play sound through the headset well. When I record using arecord though, I get almost completely garbled audio. ...
1
vote
1answer
4k views

Alsa lib error pyaudio on raspberry pi 3

I'm getting these ALSA lib errors when trying to use pyaudio. I know my mic works as I can live stream audio through gstreamer. Can anybody explain to me why i'm getting these issues: ALSA lib ...
0
votes
3answers
160 views

No audio output through 3.5mm jack but OK through HDMI

I'm having trouble with audio playing through 3.5mm jack. Audio is playing fine through HDMI, but when 3.5mm jack is selected using all 3 options (i.e. - terminal command, configuration tool or by ...
3
votes
1answer
52 views

How do I get send audio from Raspbian over a network?

I have a classroom set of RPi (4, running Raspbian Buster) that students will access via VNC through their Chromebooks. Eventually the school will allow that access from off campus as well. The ...
1
vote
2answers
3k views

This sound device does not have any capture controls

I have a USB microphone. $ arecord -l **** List of CAPTURE Hardware Devices **** card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 ...
2
votes
1answer
47 views

Detecting a musical tune to actuate a servo

I am planning to build a puzzle box for my son’s graduation. He is very musical so I want one part of the puzzle to require playing a specific tune on a piano, flute, whistling or whatever to cause a ...
1
vote
1answer
462 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 ...
2
votes
1answer
30 views

Muting speakers with a switch, and using the GPIO to detect if muted

I need to be able to have physical mute for a speaker via a switch, and I need to be able to detect the switch's position via GPIO inputs, so I can't just hook the switch up directly to the speaker. I ...
0
votes
1answer
3k views

arecord throw Input/Output error

When trying to run the following command, I am getting Input/Output error pi@raspberrypi:~ $ sudo arecord -Dhw:1,0 -d 10 -f cd -t wav test.wav Recording WAVE 'test.wav' : Signed 16 bit Little Endian,...
1
vote
0answers
19 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 ...
0
votes
1answer
321 views

Enable audio over HDMI on Raspbian Jessie with AV Receiver

I am attempting to connect a Raspberry Pi Zero W with HDMI to an AV Receiver (Pioneer VSX-820). My interest is exclusively in playing sound over the speakers connected to the receiver, although there ...
1
vote
1answer
2k views

OMXPlayer Audio Out of Sync with Video

I have a RPi and I'm trying to play a full 1080p HD video @ 60fps. The audio is a few seconds ahead of the video. Is there any way to get the video to maybe drop frames? And I'm using a 256MB model, ...
0
votes
1answer
258 views

Retroactive audio recording/continuously record audio, save last X minutes on command?

I'm trying to set up my Raspberry Pi to continuously record the last X minutes of audio until given the command to save it to a file. The only comparison I can make is an NVIDIA Shadowplay for audio. ...
1
vote
0answers
14 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 ...
0
votes
0answers
15 views

Increase analog volume on OSMC

I am running OSMC (November 2019 release) on a Pi 3. The Pi is connected to a TV via HDMI, but I would also like to be able to listen to music over my stereo without turning on the TV. Therefore I ...
1
vote
1answer
188 views

How to use Rpi python to control PCM1802 24-bit HiFi stereo ADC and MAX4466 microphone amplifier

I want to get Analog Audio Input using a PCM1802 ADC Module and MAX4466 microphone module using python. It is actually a project for a very basic and introductory course about Arduino and AVR assembly ...
1
vote
1answer
290 views

LineUnavailableException when loading audio clip with Java on RPi

My RPi is Zero W and using Raspbian Jessie 4.9.35 / Oracle JDK8 1.8.0_65. I'm having problem with loading audio clips on Java Program with RPi. I have two audio files named "piano_0.wav" and "piano_1....
1
vote
0answers
108 views

Detect when pi is outputting sound [closed]

Is there a way to detect if sound is playing on the pi, then turn on GPIO pin if it is? Thanks in advance
1
vote
1answer
487 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 ...
4
votes
1answer
7k 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
1answer
248 views

USB soundcard works for audio test but not for mp3

I've been struggling to get my USB sound card to work with my Raspberry Pi 3. After following some suggestions I have had limited success. On startup if I run speaker-test -c2 -twav this test ...
1
vote
0answers
50 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....
0
votes
1answer
476 views

Frequency bands from FFT (audio visualizer)

I'm currently working on an audio visualizer running on a 64x64 LED matrix, and some tests showed that the Pi1 is totally capable of doing that. I'm receiving raw PCM audio data using PortAudio, and I ...
0
votes
1answer
271 views

Sudo Alsactl Store Not Saving Capture Settings

I am working on a project with alsa on the Raspberry Pi, and whenever I reboot my capture settings are reset. I have tried saving them via sudo alsactl store but this only saves the playback ...
2
votes
1answer
35 views

Redirecting audio through RPi

I have an RPi with minimal Raspbian that's connected to a speaker, and have set up the sshd. How can I redirect all audio from my main machine, which runs Arch Linux, through the RPi to the speaker?
0
votes
1answer
286 views

How do I allow for multiple dtoverlays? (SX400 DAC and Tontec screen work alone, but not in conjunction)

I'm working on a particular musical project that requires both of these devices to be working, yet if both dtoverlay=mz61581 (the screen) and dtoverlay=iqaudio-dac-overlay (DAC) are uncommented in /...
1
vote
2answers
512 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
3answers
2k views

Using the ALSA dmix plugin on Raspbian Jessie

I'm trying to setup a loopback device so that I can record the audio as it is being outputted through the audio jack. I've got this working on my desktop PC, running Ubuntu 14.04, with the following ....
1
vote
1answer
98 views

No audio output to HDMI using MPV but using OMXplayer works fine?

I am trying to use MPV to play a video stream to my HDMI tv. Video works well, but there's no audio regardless of what I set the --audio-device= to. OMXplayer however works just fine both as default ...
1
vote
1answer
188 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
1answer
498 views

Raspberry pi 3 audio issue

I am having trouble with my Raspberry Pi audio. I have the same problem with two different Pis, using two different TVs, two different HDMI cables, and one set of analogue speakers. To test sound, I ...
0
votes
2answers
31 views

Generating Stereo Audio in PI programmatically

I want a stereo output form the PI. The sound being played will not be a recorded sound rather it would be generated using a code (preferably python). For example, the program's input will be (x,y,z) ...
0
votes
1answer
608 views

Using Raspberry Pi as audio filter

So I work with many devices that produce static or other undesired noise and I want to use my raspberry pi zero to filter the static from the incoming audio and play it out of the HDMI audio device. I ...
0
votes
1answer
107 views

I2S data stream format

While I'm working with RPi I2S and couple of DACs, I notice something which I like to verify in here. When I connect the scope to I2S interface I usually see waveforms similar to this: In here 1st ...
1
vote
0answers
125 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, ...
2
votes
1answer
94 views

bluealsa: Couldn't acquire D-Bus name: org.bluealsa

Trying to use my Raspberry Pi 4 as an A2DP Bluetooth sink using bluealsa. As reading the documentation of bluealsa: It will register org.bluealsa service in the D-Bus system bus, which can be used ...
1
vote
1answer
364 views

omxplayer - running from command line is much longer than voice's length

On my Raspberry Pi 3 I got omxplayer which I am using to run mp3 file: omxplayer -o alsa /home/voice/7.mp3 With -i option I get this output: Input #0, mp3, from '/home/voice/7.mp3': Metadata: ...
0
votes
0answers
49 views

Analog audio jack 3.5 mm on a raspberry pi 4

I am Amaury from « Observatoire de Meudon ». I succeeded in installing Mathematica 12.2. My application contains a command like Beep or Soundnote that produce sound! I have problems with VLC, I ...
1
vote
1answer
56 views

What are those ALSA Subdevices and what are they used for?

New to the community. I was curious about one specific part from the ALSA driver on Raspberry Pi 4 (or even on other Linux machines using ALSA). So $ aplay -l lists all current audio devices, but ...
1
vote
1answer
2k views

Raspberry Pi High-Quality Sound Recording

For a project, I need to be able to record at a sample-rate of at least 500 kHz. I want to use a Raspberry Pi, but I know that it has no interface with sound. I found the Wolfson Audio Card for the ...
1
vote
1answer
443 views

gmediarender configure output mono

I have configured gmediarender on the RPi 3. However I prefer only mono output. Following this guide to downmix to mono did not output mono from the gmediarender. /etc/asound.conf pcm.card0 { ...
0
votes
0answers
21 views

Sound control does not work when card 1 is selected

I have USB speakers connected to my Raspberry Pi 1 model B. Output of aplay -l: **** List of PLAYBACK Hardware Devices **** card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA] ...
3
votes
2answers
548 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?
1
vote
1answer
732 views

What is a good sound board to use for doing real time active noise reduction on a Raspberry Pi?

I'm doing a project that involves making a pair of headphones capable of active noise reduction. Specifically, I'm attempting to do impulse based noise reduction rather than blocking a constant ...
2
votes
1answer
561 views

USB audio from Pygame

I am running Raspbian Stretch. I've connected a USB sound device and selected it through the graphic interface. This sends the sound out fine from youtube in Chrome but is silent with a Python ...
0
votes
1answer
3k views

Raspberry Pi Live Streaming using Picam [Audio+Video]

I am currently using picam software to stream audio and video from Raspberry Pi using a NOIR camera and a microphone. One way audio and video is working fine. I need a two way audio connection but ...

1 2 3 4 5 18