Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting up mic for recording #5

Open
hystrix1 opened this issue Nov 4, 2018 · 3 comments
Open

Setting up mic for recording #5

hystrix1 opened this issue Nov 4, 2018 · 3 comments

Comments

@hystrix1
Copy link

hystrix1 commented Nov 4, 2018

The sound card seems to default to Line In for recording. This can easily be changed to use the on-board mics by using the following commands:

amixer cset name='ADC Mux' 0
amixer cset name='PGA Volume' 44

...and record using:

arecord -r 192000 -f S16_LE -c 2 -d 5 /tmp/test.wav

A nice ultrasound spectrogram can be found in my post on the audio injector forum:
http://forum.audioinjector.net/viewtopic.php?f=11&t=5678#p8339

Nice sound card :-)

@flyDlight
Copy link

Thanks for this informations.
I'm trying to build a bat detector, but I can not find an instruction manual for the sound card. Where did you find this commands?

@flyDlight
Copy link

I answer myself. I asked a stupid question. They are the standard ALSA commands, which I did not know.

@flatmax
Copy link
Contributor

flatmax commented Feb 28, 2019

Yes, that is right !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants