Skip to content

AI-Thinker ES8388 as MP3 player with enabled microphones in RXTX_MODE, confusion with stereo / mono playback and recording #1711

Answered by pschatzmann
mirkosertic asked this question in Q&A
Discussion options

You must be logged in to vote

Yes the I2S is usually notified by audio format changes from the decoder. see this Wiki

As far as I understand,with your configuration both microphones are enabled. However you can force the system to use mono by setting channels = 1; Or you can leave them to stereo and at the output stage mix them down to 1 with a FormatConverterStream or better a ChannelFormatConverterStream.

The ES8388 driver supports to set the microphone gain with the setInputVolume() method.

Finally: since the input and output are using the same I2S interface, the data format settings are shared betwen them.

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
1 reply
@mirkosertic
Comment options

Answer selected by pschatzmann
Comment options

You must be logged in to vote
7 replies
@pschatzmann
Comment options

@mirkosertic
Comment options

@pschatzmann
Comment options

@mirkosertic
Comment options

@pschatzmann
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants