How to operate the microphone ?

Started by Faruk, February 05, 2019, 03:57:35 PM

Previous topic - Next topic

Faruk

Hello

I struggle for work the microphone. My purpose record voice. I searched on google. Installed alsa-utils, I tried amixer -c 0 cset numid=23 0 command but I took amixer: Cannot find the given element from control hw:0. I tired arecord but My research did not give result. When I tried arecord output.wav command, I took arecord: main:682: audio open error: No such file or directory error How can I work the mic?

Faruk

Edit: I tried new asound.state file in this site:ftp://staging.olimex.com/Lub-clients/asound.state . Also I use arecord -l command in console result just return this ****List of CAPTURE Hardware Devices ****. I think olinuxino can not find microphone device. Is there any advice?

Gerrit


arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: sunxicodec [sunxi-CODEC], device 0: M1 PCM [sunxi PCM]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


this is what you should get, check for this block in script.fex


[audio_para]
audio_used = 1
capture_used = 1
playback_used = 1
audio_lr_change = 0


for more info http://linux-sunxi.org/Fex_Guide#audio_configuration

Faruk

Thanks for reply. arecord -l command work now. I heard something from mic but I should work for clear sound. :)