Mono driver AUOMono

Designing hardware and software for systems that use the VS1010 MP3 Audio DSP Microcontroller.
Post Reply
Hannu
Senior User
Posts: 158
Joined: Mon 2016-05-30 11:54

Mono driver AUOMono

Post by Hannu »

Dear VS1010 users,

Here is audiodriver for monofying the DAC output of VS1010.

This driver can select left or right or calculate sum of the channels and send it to dac in phase or right channel inverted.
The differential output can be useful when driving single channel amplifier with both left and right DAC channels.

Unfortunately this code isn't the easiest to read, but it has a small memory footprint.

Code: Select all

auomono: [-r][-l][-rd][-ld][-d][-s]

-r	Select right channel and copy it to left (RIGHT_TO_MONO)
-l	Select left channel and copy it to right (LEFT_TO_MONO)
-rd	Select right channel and copy it to left and invert right output (RIGHT_TO_DIFF)
-ld	Select left channel and copy it to right inverted (LEFT_TO_DIFF)
-d	Sum left and right and invert right output (SUM_TO_DIFF)
-s	Sum left and right and copy to output (SUM_TO_MONO)
Probably the -d and -s parameters are the ones which have most use.

As always, if you have problems with this program, feel free to ask help.
Attachments
auomono.dlx
auomono driver
(2.13 KiB) Downloaded 20 times
auomono.zip
Solution of auomono
(24.92 KiB) Downloaded 22 times
README.txt
Documentation for auomono
(1.53 KiB) Downloaded 21 times
Post Reply