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
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 "...
36
votes
7answers
100k views

Using Pi to stream all audio output from my pc to my stereo

My problem is quite simple but I have been unable to find a satisfying solution. Basically, I want my Raspberry Pi to be connected to my stereo and then play any audio output from my computer via ...
4
votes
0answers
269 views

I2s DAC audio out but USB audio in

I was wondering if anyone could help me. I am trying to set up my Pi 3 to be an assistant (Google or Alexa, etc). I had it set up working fine with the USB mic and the 3.5mm audio out, but I wanted ...
2
votes
0answers
491 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 ...
0
votes
0answers
283 views

DAC Sound Card For Raspberry Pi 3b Won't Work

I just bought a raspberry pi 3b and the Kuman PIFI Digital DAC+ HIFI DAC Audio Sound Card Module I2S interface for Raspberry pi 3 2 Model B B+ SC08. When I plugged it in to my raspberry pi and hooked ...
1
vote
1answer
62 views

Is there a way to detect if the AUX port of the Raspberry Pi 3 Model B+ is in use?

We are trying to detect if the AUX (3.5mm) port of the Raspberry Pi is in use so we can automatically swap the output sound to either that or HDMI. If there is no straight answer, are there any ...
1
vote
1answer
459 views

Real time Sound output over USB

I want to be able to record my guitar onto my Macbook pro. since my Macbook pro model doesn't have a sound input jack, i want to do it through USB using Raspberry Pi. There are many USB Audio ...
5
votes
1answer
790 views

Use different sound card for microphone vs audio output

I recently bought a USB sound card to improve the audio output on my pi while continuing to use my USB microphone for audio input. The problem is that I do not know how to configure the pi to use the ...
1
vote
2answers
263 views

Real time sound level through usb audio card?

I am wondering if there is an easy way to measure the amplitude/sound level of an audio signal being input to the rasbperry pi via usb sound card. I would like to play music into the sound card input ...
1
vote
1answer
10k views

How can I stream my audio to my Sonos speakers?

I would like to listen to good quality audio while watching a video, but my Sonos does not have a line in. My idea is to stream it from the Raspberry Pi and listen to it on the Sonos by tuning in to ...
6
votes
2answers
3k views

Playing sound through /dev/dsp?

I have a USB soundcard attached to my RPi. I used the command sudo modprobe snd_pcm_oss which created /dev/dsp and /dev/dsp1. /dsp corresponds to the internal soundcard whereas /dsp1 corresponds to ...
0
votes
1answer
53 views

How to run ssh without needing as password? [duplicate]

Want to send audio from one RPI to another over my network using sox. therefore need to run ssh without password. How to do this on a simple way?
0
votes
2answers
399 views

USB hub/c-media combo - audio device not recognised - hub won't allow allow other usb audio either

I have an mBeat Hayman USB hub with integrated C-Media audio. Under Raspbian, the hub is recognised as a 4 port hub, but the C-Media audio device (which is uses one of the ports) isn't recognised. ...
1
vote
2answers
386 views

Output sound over USB and into a computer (no 3.5mm jack)

I am trying to make a soundboard for my computer using my raspberry pi and a touchscreen. In order to mix the pi's sound out with my mic, I need it as a separate input to my computer (my mic uses the ...
24
votes
4answers
102k views

Raspberry Pi 3 audio input?

Did Raspberry Pi 3 add audio input? I'm new to RPi and interested in doing speech recognition but noticed input has been missing for previous versions. If it hasn't, what is the best way for me to go ...
0
votes
2answers
2k views

Linux ALSA one sound card for input one sound card for output

I have a raspberry pi 3 model B+ with raspbian jessy lite from July. cat /proc/asound/version Advanced Linux Sound Architecture Driver Version k4.4.50-v7+. I have a USB soundcard that has two 3.5 ...
0
votes
1answer
123 views

Voice recognition of just 1 word

New to Raspberry Pi - I want to create a device which upon hearing a particular word it will activate/deactivate something. E.g. if I say the word "light", it will turn on/off an LED light. The ...
1
vote
3answers
3k views

Noise from pam8403 output connected to Raspberry pi

I've got this cheap pam8403 modules and tried it with the raspberry pi 3 and there is a huge noise on the output. The power source is the same for both as you can see in the picture. Why there is this ...
3
votes
2answers
4k views

No Audio Output on 3.5mm Jack

I have a Raspberry Pi B running Arch ARM. I have setup NFS with my media server. I'm trying to stream music from it and play it with mdp through ncmpcpp (with alsamixer). I have tried turning up the ...
0
votes
1answer
568 views

Use Raspberry Pi as audio sink

Is there a solution to use the Raspberry Pi as low latency, cross device audio sink? I have a Linux/Windows PC (and an Android phone) and I would like to use the Pi as an audio sink. The Pi is ...
1
vote
1answer
250 views

USB speaker … ALSA error “rate doesn't match”

I've connected a USB speaker to my Raspberry Pi Zero, and modified /boot/config.txt to set dtparam=audio=off. Running speaker-test now sends test audio to the speaker. But, when I attempt to run a ...
4
votes
1answer
3k views

Raspberry pi 3 analogue (headphone jack) audio output and usb microphone as input

How can I use the default audio analogue (headphone jack) output and as input a usb microphone together for voice recognition? I want to use the onboard audio output and record from a usb microphone, ...
1
vote
1answer
92 views

Can I use PWM with hardware audio input?

I know that i cannot use pwm and audio output at the same time, can I use the audio input? I want to move some servos based on an audio trigger signal.
0
votes
0answers
31 views

Hardware for Audio Resampling

I wanted to ask if anyone knows of a hardware that does PCM audio resampling which can be attached to the Pi. Also does anyone know of a hardware that can do some kind of audio compression (like the ...
0
votes
1answer
188 views

.asoundrc file is rewritten on each boot

i read all of the posts here and commentated on one of them but comment was deleted as it was a question i guess, so i mage my own now, sorry for that... Ok the problem: USB sound card mic is not ...
0
votes
0answers
14 views

How can I monitor the input levels on a usb sound card?

I need a script to monitor the levels on a usb sound card and when they drop below a certain level make a post request to an api. I know this is possible but I'm having a hard time figuring out the ...
3
votes
6answers
8k views

my asoundrc is modified every reboot

I have a raspberry pi 3 with usb dac for plug my microphone and I have a usb speacker too. I installed on my pi, mopidy and other litle project. I modified my ~/.asoundsrc for pcm.!default { type ...
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 ...
0
votes
1answer
1k views

No audio on Raspberry Pi 3 w/Kali

I know there's a similar question, however it hasn't yielded an answer because the OP never answered the questions of a member who replied. Specifically, I'm trying to get audio output through HDMI ...
-3
votes
2answers
99 views

How many speakers could I hook up to an RPi, and what additional hardware would I need?

I know there are addon/expansion boards for the Rpi, but excluding these, how many separate speakers/channels could I reasonably output to? I do not need audiophile-level sound quality, I don't even ...
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
1answer
345 views

Using hardware PWM and audio simultaneously

I am developing a project on a Raspberry Pi 3 B+. I am using the PWM0 channel to send a custom-made IR signal using PiGPIO waves. I gather it might then be possible to use PWM1 for mono audio; is that ...
0
votes
0answers
113 views

Raspberry Pi 3 Bluetooth connection with headset and with mobile phone through soundcard

I want to connect wirelessly a headset with Raspberry Pi 3 and then connect my mobile phone with raspberry pi through audio jack pin/sound card. *) I have successfully established connection wireless ...
1
vote
1answer
445 views

Speaker for Pi Zero W

I'm looking for speaker without battery. I mean I need a speaker whose power can be supplied by raspberry pi zero w. I think I can use USB 2.0 simple speaker. I can cut its usb cable and connect its ...
1
vote
0answers
243 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 ...
2
votes
2answers
648 views

Full duplex audio over i2s (Adafruit MEMS + DAC)

I have setup a pi-zero with digital mems mics from Adafruit, and also the digital DAC. I can use arecord to record stereo audio, and then aplay to playback the audio over the DAC. Interestingly, the ...
1
vote
1answer
537 views

Command aplay does not work without sudo

The command aplay only works if preceded by sudo. omxplayer test.wav will play the audio I recorded with arecord just fine. aplay text.wav does not, but sudo aplay test.wav does. The suggestions from ...
0
votes
0answers
66 views

Inconsistent USB Audio performance

I have been working on using a RPI to run a SIP client for a simple call centre. Last week I installed from scratch the latest Raspbian build, installed Ekiga, connected my Senheiser SC60 headset and ...
2
votes
1answer
955 views

Need audio recorder + audio player for my Pi Zero

I am currently building a light-weighted audio system using my rasperry Pi zero. I am looking to enable my Pi to have the following 2 functionalities: 1) be able to record from a microphone 2) ...
1
vote
1answer
1k views

pygame.error: No available audio device

I'm using Raspberry Pi 3b, usb mic and 3.5mm audio jack as speaker. mic is hw:1,0; speaker is hw:0,0 Everything works fine except that I'm unable to get pygame.mixer.Sound.play() in a python script ...
0
votes
0answers
150 views

Internet Radio Device with batteries

I have a project that I will make a connection with the Internet and listen to a stream (in my case IP:port or .ogg, .m3u URL online radio station) then decode the music and transmit it to speakers ...
0
votes
1answer
336 views

Combine/Merge different Raspberry Pi Images

I tried to find something about it, but I didn't found anything. I want to run the two images of Picroft and Pi MusicBox or Volumio on the same Raspberry Pi. Is there a way of merging/combining two ...
0
votes
2answers
2k views

Music Visualizer

I use my Raspberry Pi currently as a music station with Volumio. I would like to have an audio visualizer, which outputs the signal via the composite video jack. Does someone know how to realize ...
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
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 ...
4
votes
1answer
590 views

HDMI passthrough with Raspbian

I have my RPI3 connected to a pair of Edifier S1000 speakers through a device that extracts the audio from the HDMI signal and sends it to the speakers through an optical cable. The sound is clearly ...
1
vote
2answers
211 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 ...
0
votes
1answer
531 views

How to connect speakers onRaspberry Pi WH through PWM?

Let's say I am trying to embed a Pi WH in my motorcycle helmet. I need thin speakers just by the ear to hear sounds (so, I don't need them to be too loud). * by the way, piezo speakers won't do it ...
0
votes
0answers
1k views

Video Chat App for Raspberry Pi?

I am searching for an app through which I can send my voice and video feed to another user on laptop using picam and mic module and recieve voice from him. I am gonna use Raspberry Zero W with picam. ...
0
votes
1answer
245 views

Switch audio output not working

I'm using Raspbian Stretch Desktop for my Raspberry Pi 3B. I'm using a VGA screen with an HDMI to VGA adapter, so I want the jack to work as my main audio output. If I unplug the HDMI and reboot, the ...