Skip to main content

Questions tagged [microphone]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
26 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 Utensil's user avatar
0 votes
0 answers
24 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
150 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
1 vote
0 answers
193 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
3 votes
1 answer
116 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
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
0 answers
82 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
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
4 votes
1 answer
629 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
1 vote
0 answers
366 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
0 votes
1 answer
250 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
1 answer
527 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
-1 votes
1 answer
159 views

Can 2 different wires be connected to the same GPIO pin?

I am trying to make a voice assistant with the Raspberry Pi and ReSpeaker 4-mic array. ReSpeaker 4-mic array requires 40 pins to be connected to Raspberry Pi. But besides that, I want to connect the ...
arm's user avatar
  • 9
0 votes
0 answers
400 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
1 vote
0 answers
305 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
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
613 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
72 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
-1 votes
1 answer
522 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
5 votes
2 answers
8k 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
0 votes
1 answer
35 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
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
0 votes
2 answers
3k 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
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
0 votes
0 answers
55 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
0 votes
2 answers
517 views

Raspberry Pi Zero MI-305 Mini USB Microphone with horrible background noise

I have been trying to use a mini USB microphone, mode MI-305 with my Raspberry Pi Zero W. However, when I try to play audio recorded from it, it has this very loud background noise like a square wave ...
Anvay's user avatar
  • 111
1 vote
0 answers
115 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
0 votes
0 answers
81 views

Aux Mic to Micro USB Converter

I have a mic for an aux input that I want to plug into my Pi Zero W. I tried using a micro-USB to aux cable, but it couldn't get the pi to recognize it. Do I need a (micro) USB sound card to record ...
octothorpe's user avatar
0 votes
0 answers
589 views

how do I set the recording volume using alsa

Is there a guide somewhere on how to use the pi sound system? It would be good to have something definitive as there is lots of stuff out there that contradicts, and it is not like I want to do ...
Petr's user avatar
  • 117
0 votes
0 answers
54 views

Why is my microphone crackly on Raspberry Pi OS and not Windows

I recently bought a usb microphone (omnidirectional) from amazon (branded 'italk-02') for use with speech recognition. When used on Windows the sound is clear and can be used with Cortana and voice ...
Stalemate's user avatar
3 votes
0 answers
120 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
0 votes
0 answers
639 views

Constant noise while recording with Zoom H1 through USB

I'm trying to build up a recording station using a Raspberry pi 3B. I soldered four mics (two per channel) to a stereo jack and plugged it into the "external mic" audio input of the Zoom H1. ...
plaf2000'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
1 answer
386 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
0 votes
0 answers
1k views

Cannot increase gain on USB Microphone

I got myself one of those cheap USB microphones and it basically works out of the box with arecord, it's just way too quiet. The level on the virtual UV meter never passes 1%. Here's what I got, ...
mefiX's user avatar
  • 101
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
1 vote
0 answers
527 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
2 votes
0 answers
55 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
4 votes
2 answers
5k 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
0 votes
0 answers
3k views

USB Microphone Not Working

I am trying to create a magic mirror with my Raspberry Pi 4 (buster) that has voice recognition so I am using a usb sound card with a 3.5 mm microphone. The problem is that I have configured my alsa ...
Dan's user avatar
  • 11
1 vote
1 answer
9k 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
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
0 answers
41 views

Mini usb 2.0 microphone not detected

I googled but didnt find an answer. I bought usb microphone like this: https://www.ebay.com/itm/USB-2-0-Mini-Mikrofon-Stecker-f-r-Windows-PC-Mac-Linux-Raspberry-Pi-Mikrophon/112352215940?pageci=...
PostarLakogSna's user avatar
2 votes
1 answer
4k 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
0 votes
0 answers
880 views

How to make wireless or bluetooth microphone work on raspberry 4

I'm running raspbian-buster on raspberry 4. I need to make wireless or Bluetooth microphone work. It's a production base project. I've tried with common headset which used for cellphones.But it's ...
behruz montazeri's user avatar
0 votes
0 answers
205 views

USB mic input + 3.5mm jack output

I'm trying to set up my Rpi using a USB mic and output through the 3.5mm jack. If I select the USB mic in alsamixer, I don't have any sound at all. If I use the 3.5mm I get sound but cannot record ...
berne's user avatar
  • 11
1 vote
0 answers
215 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) ...
emonigma's user avatar
  • 273
1 vote
0 answers
481 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
229 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
3 votes
0 answers
305 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