recording two mono files instead of a single stereo file

Writing software for systems that use VLSI Solution's devices as slave codecs to a host microcontroller.
Post Reply
sw41hw@gmail.com
User
Posts: 2
Joined: Fri 2020-12-25 14:23

recording two mono files instead of a single stereo file

Post 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.
User avatar
pasi
VLSI Staff
Posts: 2122
Joined: Thu 2010-07-15 16:04

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

Post 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.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook
sw41hw@gmail.com
User
Posts: 2
Joined: Fri 2020-12-25 14:23

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

Post 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.
Post Reply