Interfacing

Usage of built in Microphone

7 9402
Ivan  
There is a MIC placed between "AV Video Out" and "Audio Out" connectors.

How is possible to use this Microphone? (RaspberryPi_For_BananaPi)
Post Last Edited by tony_zhang at 2014-5-7 23:00

Use the command
  1. raspi-config
Copy the Code
And select the:
Advanced Options

And then
Audio.

Dliloch  
I did that and there is nothing about a microphone under audio..please clarify. Thanks

Dliloch  
Post Last Edited by Dliloch at 2014-7-2 14:42

Post Last Edited by Dliloch at 2014-7-2 14:38

Post Last Edited by Dliloch at 2014-7-2 14:38

Post Last Edited by Dliloch at 2014-7-2 14:35

Post Last Edited by Dliloch at 2014-7-2 14:34

Like so,
Under audio there are three options.
1- automatic
2-force audio jack
3-force hdmi
I found automatic to work fine.
Then use alsamixer from a Lxterm window
Un mute the mic
Start up another Lxterm window
Sudo apt-get install sox
sox -t alsa default output.wav
Ctrl-c to stop recording
Sox can do other file formats .. Like mp3 once you recompile it with a converter .ogg supported asis
Info on sox from sox.sourceforge.net
To play back I used mplayer which I had to install you can also use sox to play back but mplayer easier for me
Sudo apt-get install mplayer
Mplayer output.wav

I was amazed that all these packages installed without a problem.. Very nice hardware board .. But
To make this message forum perform you will need to clone a Liz Upton.

VMMF  
Edited by VMMF at Sat May 30, 2015 09:11

Hi, i would like to get information about the built-in microphone. What's its maximum sampling frequency? Is there a frequency response chart available? Thanks

felix  
请问在lemedia里面怎么设置microphone去录音?

yafm  
Dliloch replied at Jul 02, 2014 14:02
Post Last Edited by Dliloch at 2014-7-2 14:42

Post Last Edited by Dliloch at 2014-7-2 14:38

I'm using bananian on the banana pi and I tried following your procedure, but without success. alsamixer is a part of package alsa-utils which I installed, and when I invoke alsamixer, there are no obvious indications of a microphone. I modified the /etc/asound.conf per another article on this forum (not sure that was the right configuration for an regular banana pi). After that alsamixer appears to have some settings that look like the microphone settings, but still not obvious which is the on-board mic.
Anyhow, when trying to record, using this, I get an error:

sox -t alsa default test.wav
sox FAIL formats: can't open input  `default': snd_pcm_open error: No such file or directory


Anything I missed?

PiTom  
ahaa......any update on the buildin microfone support ?....to show up on the alsa mixer.
bananian BPI.

You have to log in before you can reply Login | Sign Up

Points Rules