Questions tagged [microphone]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5 votes
2 answers
7k views

Connect a Microphone to Raspberry Pi Pico ADC Pins

I’d like to try using my voice as an input to my Pico. I think I should be able to define a pair of one-word voice commands, and train a Tensor Flow Lite Micro for Pico model on them. What I can’t ...
BitFlow's user avatar
  • 225
4 votes
2 answers
4k 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 ...
amir na's user avatar
  • 141
4 votes
1 answer
558 views

is it possible to connect a USB microphone to Pi Pico

I am attempting to do some real-time audio processing using the Pi Pico. I know that a MEMS microphone can be connected and used for this purpose (see here and here). However, I need to use an analog ...
fishfinder's user avatar
3 votes
1 answer
3k views

Reducing sound noise when recording with Pi

I am sure everyone trying to record sound with a Raspberry Pi has experienced a lot of issues with noise pollution. Although there is any number threads on various forum adressing this I have yet to ...
Carl-Fredrik von Essen's user avatar
3 votes
1 answer
100 views

Raspberry to capture cetaceans sounds

I am looking to create a raspberry pi able to use a hydrophone such as the H2d. I am not sure whether XLR or 3.5mm is better to record cetaceans' sounds. Does anyone know if the microphone can connect ...
Matteo P.'s user avatar
3 votes
0 answers
111 views

I2S MEMS Microphone pop sound at the beginning of the recording

I am using Adafruit I2S MEMS Microphone in Raspberry Pi 4 running raspbian buster. I installed it successfully following adafruit guide. It is working well for recording using arecord. However, every ...
Imanol Gómez's user avatar
3 votes
0 answers
304 views

Microphone is not recording with HifiBerry and Raspberry Pi 3

I installed the HifiBerry driver as specified. The Board is recognized and the audio output works fine. Just the audio input seems to be not working. I checked if the microphone is muted but I can't ...
Samsky's user avatar
  • 131
2 votes
3 answers
2k views

How to command the raspberry pi to mute and unmute its microphone

I'm using a raspberry pi for a custom voice assistant I'm building. I need to mute and unmute the microphone for certain parts of the program I'm running. Is there a simple lx terminal command to do ...
UNKNOWN's user avatar
  • 79
2 votes
1 answer
604 views

Connecting 50 Microphones on a raspberry pi

I want to create a microphone array like in the image below... How can I do it for a raspberry device ? I want the input to be stored for a few seconds on the sd card, and not to have a live stream, ...
DeyaEldeen's user avatar
2 votes
1 answer
4k views

Using a bluetooth headset as both audio and mic on a raspberry pi

I am looking to purchase a Bluetooth headset for a project of mine and I would love it if I could use it with my raspberry pi The headset I am looking to get is this one: https://www.gearbest.com/...
Mihail Pernichev's user avatar
2 votes
0 answers
51 views

Error opening InputStream USB Microphone and Raspberry PI3B+

I am trying to use a USB microphone with python sound device and raspberry pi3B+. When I execute the script in the console typing $ python3 sound.py it runs and records all ok. But when I try to ...
Fabiana's user avatar
  • 21
2 votes
1 answer
3k 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-...
Dyde's user avatar
  • 21
2 votes
0 answers
48 views

Having issues with connecting mini elecret microphone to the Pi

We have set up the ADS1015 on the Pi 3B+. When typing in "i2cdetect -y 1" this seems to work just fine. However, we have looked up every single tutorial on the internet, and we can't find any proper ...
Cenobite's user avatar
1 vote
1 answer
8k views

How to increase mic input volume?

I recently bought a usb soundcard and a 3.5mm microphone for my raspberry pi 4 to use for a python project for speech recognition where I want the pi to be able to hear to conversational volume voices ...
Dan's user avatar
  • 11
1 vote
1 answer
367 views

Can I stack multiple different HATs on RaspberryPi4?

I want to use multiple different HATs on the same Raspberry Pi. These are the boards I want to use: https://www.sparkfun.com/products/16328 https://www.seeedstudio.com/ReSpeaker-4-Mic-Array-for-...
da_solo's user avatar
  • 13
1 vote
1 answer
1k views

Connecting 4 digital MEMS microphones with raspberry pi 4

I want to add 4 INMP441 digital MEMS microphones to the GPIO pins of Raspberry pi 4 to perform sound source localisation. Here's a reference link to the mic: https://robu.in/product/inmp441-mems-high-...
Thokachitchu Jai chandra Raju's user avatar
1 vote
1 answer
1k views

Rpi Webrtc echo cancellation - aec

I am using Rpi-Webrtc-streamer for webrtc on raspberry pi with usb sound card connected to audio amplifier for speakers and electret microphone. I am able to run webrtc correctly but with issue of mic ...
Akshit's user avatar
  • 11
1 vote
1 answer
208 views

Multiple microphone recording

I want to record from multiple microphones into separate USB microphones on a Raspberry Pi. Is this possible? Do I need to buy some sort of USB sound card?
stevenmc's user avatar
  • 111
1 vote
0 answers
158 views

Connect an XLR mic to a raspberry pi [closed]

I am looking to connect an XLR microphone to my raspberry pi 4. The microphone needs a preamp, do you have any suggestions regarding what components should I buy? (both preamp and something to connect ...
Matteo P.'s user avatar
1 vote
0 answers
75 views

Microphone volume seems to increase via PulseAudio but arecord does not see any increase

I am still trying to understand how the audio input/output stuff works over PCM on the Pi its new to me as I've never dealt with it before. All of the testing below was on the latest Raspberry Pi OS ...
HelloWorld's user avatar
1 vote
0 answers
318 views

Connecting 8 PDM microphones via SPI/I2S

I'm working on a project where I need to connect 8 PDM microphones to a Raspberry Pi. My current plan is to use a PCMD3180 to connect to either I2S or SPI input on the Raspberry Pi. The problem is, I ...
Connor Davey's user avatar
1 vote
0 answers
285 views

How to config default input/output devices in ALSA config file(~/.asoundrc)?

I am trying to configure microphone and speaker for raspberry pi 4. I edited "~/.asoundrc" file like that: pcm.!default { type asym playback.pcm "plughw:0" capture.pcm &...
arm's user avatar
  • 9
1 vote
0 answers
60 views

Can you use the speaker and microphone on a laptop for the raspberry pi 4b

I was planning to build a voice assistant with my raspberry pi 4b but since google's AIY voice kit v1 doesn't ship to Australia, I was looking for other solutions. Can you use the speaker and the ...
Aditya Bavigadda's user avatar
1 vote
0 answers
113 views

Can keyes Sound sensor be used as a Microphone in Raspberry pi?

I am trying to make a speech recognition system on a Raspberry Pi 3 model B+ using Python. It needs a microphone. I have the keyes Sound sensor which looks like this(https://cutt.ly/Jjp9jWP). Can this ...
user14890196's user avatar
1 vote
0 answers
4k views

speaker and mic with Raspberry pi 4

I'm making a project, a surveillance camera with audio. Live feed from my localhost webpage. the live camera part is now okay and working, my problem is the "intercom" part. I don't really ...
Johannes Remotigue's user avatar
1 vote
0 answers
505 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 ...
marc.soda's user avatar
  • 111
1 vote
0 answers
208 views

Error in configuration for I2S microphone

I follow these directions to set up the Raspberry Pi for an Adafruit I2S microphone. The line to compile the module fails with a missing script: $ make -C /lib/modules/$(uname -r )/build M=$(pwd) ...
miguelmorin's user avatar
1 vote
0 answers
480 views

Raspberry Pi, USB Audio Card and 3.5mm Microphone

I've been trying to use this USB Audio card: https://http2.mlstatic.com/tarjeta-de-sonido-usb-71-con-control-de-volumen-D_NQ_NP_904044-MCO31004989404_062019-F.webp as sound output and input. I ...
Bejuco's user avatar
  • 11
1 vote
0 answers
226 views

USB Microphone quiet

I have been trying anything that I can to get the recording volume from a USB Microphone to increase. You can talk beside it and it won't pick up your voice unless you speak very close to the mic. The ...
Alexander Osborne's user avatar
1 vote
0 answers
75 views

Can't get bluetooth headphone mic working with pi

I am trying to get my Bluetooth headphone mic working with pi b+, my headphone gets connected and audio output is also working but its mic isn't working with pi. I had gone through several online ...
pranshu ranjan's user avatar
1 vote
0 answers
452 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 ...
Abrar Hossain's user avatar
1 vote
0 answers
570 views

USB Microphone gives error 'Device or Resource Busy'

I've recently purchased this microphone for use with my Pi 3, but I can't seem to get it to work. I run arecord -l and the Pi can see my device: **** List of CAPTURE Hardware Devices **** card 1: ...
Pezholio's user avatar
  • 675
0 votes
1 answer
1k views

How can Rpi Pico W control a GPIO pin connected, I2C digital MEMS microphone?

Using the Raspberry Pico Pi, how can micropython be used to get the values from a MEMS microphone such as the Adafruit Silicon MEMS Microphone Breakout - SPW2430 link to ada fruit Product ID: 2716. ...
Vass's user avatar
  • 133
0 votes
1 answer
1k views

How can I amplify my voice in real time just like a microphone does?

I am planning to make a microphone and speaker system to amplify my voice just like a normal microphone does. I have a sound sensor and a speaker... is there any Python code that I can use?
freemint's user avatar
0 votes
1 answer
464 views

How to connect four analog microphones to Raspberry Pi GPIO?

I have four microphones that has pins: VCC, GND and Analog Data. I need to connect it to Raspberry Pi (I need it for detection direction to source of sound). As I know, GPIO doesn't have analog inputs,...
Robotex's user avatar
  • 135
0 votes
1 answer
71 views

Truly All-in-One computer based on RPi [closed]

Let's say that I want to build a mobile phone or a truly AIO (All-in-One) PC based on RPi. Is this possible? If yes, then, please, guide me through the audio issuse, as I am failing on this. In my ...
trejder's user avatar
  • 141
0 votes
1 answer
32 views

Minimum possible resolution for instrumentation

I am working on a project where an array with multiple microphones will be deployed to calculate (via triangulation) the origin point of a burst of sound. As you can imagine, with sound traveling at ...
Alex Heebs's user avatar
0 votes
2 answers
2k views

Connecting the pi to a phone using a RJ11 cable to send and receive audio

I'm trying to connect the pi 4 model B to a phone that I bought off Amazon (https://www.amazon.ca/Wild-Wood-Phone-Retro-Design/dp/B00H20B2GM). This phone is not connected to a landline or anything as ...
afern001's user avatar
0 votes
1 answer
88 views

Voice conferencing between Pi 4 and laptop

I need to do live voice conferencing between a PI 4 and a laptop wirelessly. So far I've gotten a usb mic and aux speaker connected to it and can store the voice locally on the Pi.
tejs_54's user avatar
0 votes
1 answer
634 views

Using Earphones/Headphones with mic to give voice commands in DIY alexa on raspberryPi zero/3b/3b+

Can I use Using Earphones/Headphones with a mic to give voice commands in DIY Alexa on raspberryPi zero/3b/3b+ by connecting the 3.5mm male jack to the board via a USB type c/ micro USB adapter as the ...
Satyam Srivastava's user avatar
0 votes
1 answer
15 views

FFMPEG hangs intermittently before audio recording starts

I'm trying to get FFMPEG to pull both audio from my webcam. It works fantastically, when it does, but is intermittent. I am using the following command: ffmpeg -report -y -f alsa -channels 1 -ar ...
LazySpoon's user avatar
0 votes
0 answers
21 views

How use microphone sound level to start arecord and or aplay

I start a simple project which use 2 raspberry. Both have microphon and speaker, and a button. The button starts the aplay and arecord commands for both of raspberry. And the full duplex communication ...
wanwan's user avatar
  • 1
0 votes
0 answers
100 views

ALSA issue with Raspberry Pi 4b and voice recognition

I get the following error, and it does not return the speech_recognition information: Expression 'GetExactSampleRate( hwParams, &defaultSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: ...
Vector776's user avatar
0 votes
0 answers
54 views

Raspberry Pi 4 , Video Calling Mic Issue Android 13

I am using an Raspberry Pi 4 ,8GB board and have installed lineage-20.0-20230321-UNOFFICIAL-KonstaKANG (Android-13) . All thing are working fine but stuck in Video Calling via IMO, Jitsi, Zoom and ...
sandeep mantoo's user avatar
0 votes
1 answer
227 views

How to change bit depth to 16 of I2S MEMS Microphone?

I have successfully setup adafruit I2S mem microphone on my RPi3 running buster by following this guide . It records audio well using arecord : arecord -D 'plughw:2,0' -c1 -r 48000 -f S32_LE -t wav -V ...
jonny789's user avatar
  • 211
0 votes
0 answers
372 views

I2S boot overlays configurations for RPI CM4

I am trying to install a mono or stereo I2S microphones to a Raspberry Pi CM4 Board. I am getting some reference links for configurations but they are suggested to work on the older version of the RPI ...
shiv patil's user avatar
0 votes
0 answers
31 views

Access Phone Hardware via Raspberry pi

I want to access my Android Phone's Speaker, microphone, and camera via Raspberry pi. Here are the Functions I want to perform : 1. Play specific audio based on the Raspberry pi command. 2. Capture ...
Octane 663's user avatar
0 votes
1 answer
608 views

Not able to select join by computer audio in zoom

I was using zoom web version on rpi 4 for last 6 months. But for last 1 month am not able to select join by computer audio button, its kind of grayed. There is no currently opened thread on this issue ...
praveen kumar's user avatar
0 votes
1 answer
498 views

Raspberry pi 4 - recording with 4 mini usb microphones - arecord

Im using mini usb microphone for recording audio. The sound is not good so i trying connect 3 more (total 4) mini usb microphones. I tried arecord --device=hw:1,0 --format S16_LE --rate 44100 -V mono -...
JiriK's user avatar
  • 1
0 votes
0 answers
54 views

do i need another HAT for using K210_7 Mic_v1.1 6+1 microphone array for RPI?

sorry for the novice question. but i could'nt find any specific information on my issue. so... I got a cheap K210_7 Mic_v1.1 - 6+1 microphone circular array. and then i noticed that the respeaker ...
Asaf Chertkoff's user avatar