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
2answers
74 views

Analog Audio Output resets to 0 automatically

I have a RP 4 and I am trying to get sound out of the minijack socket.. The GUI loudpseaker icon offers analog & HDMI. When I select Analog or HDMI, push the volume to max and close the tab, the ...
1
vote
1answer
143 views

No Audio on Raspbian

I tried many answers on different websites. Raspberrypi.org, this site, linux.com, and others I cannot list. I tried Analogue with sudo raspi-config. I also tried amixer cset numid=3 1. I tried ...
2
votes
0answers
141 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 ...
3
votes
1answer
100 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. ...
3
votes
1answer
2k 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 ...
2
votes
1answer
52 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 ...
2
votes
1answer
76 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
0answers
28 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
44 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 ...
4
votes
1answer
2k 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
0answers
224 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....
2
votes
1answer
71 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?
3
votes
1answer
2k 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 ...
0
votes
0answers
72 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 ...
3
votes
1answer
498 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 ...
10
votes
4answers
2k views

How can I start an mp3 from the beginning every time a headphone is plugged in?

I'm doing an audio installation where multiple headphone jacks are on a wall and the user will plug into the jacks and each jack plays an mp3 that starts playing from the beginning when it gets ...
0
votes
0answers
91 views

How do I make my record player play through speakers with my raspberry pi b+ v1.2?

I recently got a record player, the AT-LP60-USB from Audio-Technica, and I want to make it play through a set of digital speakers I have. The turntable acts as an audio USB input. Basically, I need to ...
1
vote
0answers
63 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
317 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 ...
0
votes
0answers
2k views

Does the Raspberry Pi 4 speaks Bluetooth aptX-HD?

I'd like to use a RPi 4 as a bluetooth audio receiver. For optimal sound quality I'd like to transmit the audio using Bluetooth aptX-HD. Can the built-in bluetooth receiver from the RPi 4 receive that?...
0
votes
1answer
47 views

Duplicate Audio input from USB

I am trying to duplicate my Line In over USB Sound Card. I have RPi 3 B+ and USB Sound Card with Line In. Currently I have an application for stream over IP the Line In audio of USB sound card. Now ...
2
votes
1answer
64 views

Separate video audio output two Raspberry Pis

I own a projector which is obviously on the opposite site of the room than the audio system. I'd like to keep everything cableless, so one RPI is connected to the audio system, the other one to the ...
1
vote
0answers
644 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
votes
1answer
920 views

HDMI Audio not working with Raspberry 3 B and Raspbian Buster

Volume control says "No volume control on this device" When trying to force output to 3.5 or HDMI in raspi-config, it fails with error "There was an error running option..." When running update in ...
0
votes
0answers
61 views

pulseaudio server RP3 can't play audio from network client and local client at the same time

I have a Raspberry Pi 3 B connected to my speakers through a usb soundinterface. It's also connected via usb midi to a masterkeyboard which I use to play piano and doesn't have it's own speakers. On ...
0
votes
1answer
579 views

Raspberry Pi 4 - Adafruit MAX98357 - No Sound from speaker

We are following this: https://learn.adafruit.com/adafruit-max98357-i2s-class-d-mono-amp/overview tutorial to setup our Raspberry Pi 4 with an Adafruit MAX98357 I2S Class-D Mono Amp to a speaker (4 ...
1
vote
1answer
456 views

Installation of kernel module for I2S Mic fails

I have a I2S mems microphone from adafruit. Now I am following the guide at https://github.com/nejohnson2/rpi-i2s#compile-the-i2s-module Now after I have mounted the debugfs I attempt to look for the ...
0
votes
0answers
117 views

Multiroom audio from input source

I want to build a multiroom audio solution based on Rpi and Snapcast (the best solution I've seen up to now). I found lot of articles, tutorials, samples how to build such a system to play audio from ...
1
vote
0answers
507 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
2answers
918 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
837 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-...
0
votes
1answer
217 views

Using pigpios waves and audio output

I am using a Raspberry Pi 3 B+. I want to play audio through the 3.5mm jack and use PWM at the same time or successively to simulate a IR-Remote. I know that you can't use the hardware PWM while ...
1
vote
0answers
238 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
0answers
16 views

Sounds in a Python Program [closed]

I have a simple program to find a number in a number guessing game. I would like to insert some sound like "your number is too high" into the program. I can record the phase but what do I insert into ...
1
vote
0answers
62 views

Software/Framework Recommendations [closed]

I'm prototyping a device using a raspberry pi 3b+. Here are some of the requirements I'm hoping to fulfill. *When I say "device" I'm referring to the raspberry pi. Device Requirements Stream ...
1
vote
1answer
264 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-...
0
votes
1answer
267 views

Setup respeaker pi-hat 2 on RPI ZW

I am trying to run snips on my rpi0w, and has mounted the respeaker pi hat on to it. Installed the driver using git clone https://github.com/respeaker/seeed-voicecard cd seeed-voicecard sudo ./...
1
vote
0answers
3k 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 ...
0
votes
0answers
173 views

Audio Output for RPi 3 Mobel+

Very simple question. If I do this: Navigate to your screen. Select "Manage Screen". Select "Advanced". Set "Audio Output" to "3.5mm jack". Press "Save". Would I be able to listen to music via USB ...
0
votes
1answer
1k views

Toslink input for Raspberry Pi

I am looking for optical Toslink input for Raspberry pi (any model). If I just connect a DLR-1140 receiver to PCM_DIN, would that work? My goal is to build a sound server. I have a TV that outputs ...
0
votes
1answer
55 views

Is it okay to leave the AV jack plugged in the 3.5 mm port all day long?

Raspberry Pi 4 casing is not available here. So I have to plug in and plug out my earphone very carefully. Today I made a cord. One end of the cord is always in the Pi and other end is for using the 3....
-1
votes
1answer
73 views

Can I safely connect audio output from USB soundcard to TRRS input of Raspberry Pi [closed]

I am piping audio from my MacBook into my Raspberry Pi 3B. MacBook -> Headphone output of USB soundcard -> TRRS cable -> RasberryPi jack input I am then running it through a DSP algorithm ...
0
votes
0answers
524 views

VLC player can't play larger media files on raspbian

I am using Pi 4 for an week. I tried some media players available on repository like vlc,kodi,mpv etc. I have noticed none of them can play a media file(mp4,avi,mkv) smoothly. So I am stuck with vlc. ...
1
vote
1answer
106 views

aplay/arecord device order changes every reboot

I have a couple of different applications running that rely on knowing the audio or recording device at startup, but every time I restart my raspi, the order of the devices changes. Looking for a way ...
0
votes
1answer
320 views

Usb sound device to 3.5mm output real time

I have a raspberry with a usb mic. I want to stream realtime the mic input to the 3.5mm output. Is this possible?
0
votes
0answers
331 views

Audio output not working

I bought a raspberry pi3b+ for my son that is connected to the TV, I installed both raspian and lakka and i configure it, but there is no sound coming from the TV via the HDMI port. After several ...
3
votes
1answer
5k views

How to select audio output in Raspberry 4

I have a youtube video playing in Chromium and I can hear the sound that comes from HDMI, to the built-in monitor speakers. How can I select where the audio goes? I'd like to hear the sound in the ...
0
votes
1answer
530 views

No sound trying to play a Python sound on Raspberry Pi [closed]

Just wondering if anyone can help me get the sound to work on a Raspberry Pi? I keep getting an error message: Sound = pygame.mixer.Sound('/home/pi/gpio-music-box/samples/drum_tom_mid_hard.wav') ...
4
votes
0answers
2k views

Raspberry Pi 4 - Dual Audio with Dual HDMI

I have a Raspberry Pi 4. The thing is, I want to play 2 videos at the same time, since the RPi-4 has 2 HDMI outputs. BUT I also want to have split audio. The audio from video 1 should go out over the ...
0
votes
0answers
44 views

Get audio samples sent to Output Device

I want to get in real-time the audio samples that are sent to the output device (i.e. analog audio or HDMI). Is there any way to read those samples? I'm running the latest Raspian Lite on an RPi4. ...

1 2 3
4
5
21