Page 1 of 1

Record mono

Posted: 2024-06-27 22:35
by freetoair
Hi,

How do I set the audio codec so that I can record mono sound in a .wav file. On every command arecord with option -c 1 I get "arecord: set_params:1358: Channels count not available" ?

Re: Record mono

Posted: 2024-06-29 2:41
by Eng38
Hello, execute the command in the figure below and try to set the -c parameter to 1, that is, set the number of channels to 1. Note that you should use the official image for testing. If it fails, you can provide a running screenshot.
企业微信截图_17196286239636.png

Re: Record mono

Posted: 2024-06-29 13:54
by freetoair
This is a screen shots:Image

Re: Record mono

Posted: 2024-06-29 14:37
by freetoair
Screenshot from 2024-06-29 16-22-26.png

Re: Record mono

Posted: 2024-06-29 18:31
by freetoair
The development board is: Luckyfox Pico Max. Outputs for CODEC_Line_out, CODEC_Mic0P and CODEC_Mic0N are soldered on the board.
OS is Ubuntu.