Page 1 of 1

recording two mono files instead of a single stereo file

Posted: Fri 2020-12-25 14:58
by sw41hw@gmail.com
Hi Guys,
we are a team producing IP network based audio solutions for our customers. We have been using mp3 encoder feature of VS1063a for this purpose. VS1063 is used as a slave and a microcontroller as a host. VS101063a is configured for dual stereo mp3 encoding and data is read from HDATA0. We alread have ~200 pcs of VS1063a. Everything works fine, and we appreciate your great efforts on the VS1063a, thanks.
Here is the question :)
It is needed to convert stereo mp3 encoded file to two mono channels (seperate left and right channels) . Seperation can be done using multimedia tools like ffmpeg,gstreamer,vlc etc..
It could be a better way to do it while reading from HDATA0. For I2S output, one 8bit frame for Left and one 8Bit frame for right channel. Is it similiar while reading from HDATA0 ? How can we record two seperate mp3 files instead of a stereo one file by reading from HDATA0

It is mentioned that
"Dual-channel audio like multilingual transmissions using one stereo stream is neither
supported nor recommended."
in VS1063PG page:22 but I couldn't get the idea.

thanks.

Re: recording two mono files instead of a single stereo file

Posted: Mon 2020-12-28 10:15
by pasi
The mp3 encoder in vs1063a is not equipped to encode two separate mp3 streams at the same time.

Encoding in dual-channel mode would not produce two separate mp3 streams. When the channels are independent, it might provide more consistent quality though.

Re: recording two mono files instead of a single stereo file

Posted: Mon 2020-12-28 17:22
by sw41hw@gmail.com
Thanks for the reply.
So does that mean it can not be done by during recording. And recorded file is to be decoded to two seperate wav files and re-encode for seperate
single channel mp3 files ?

thanks.