I would like to use a left/right balance adjustment with a potentiometer with an ADAU1701 but I don't find any balance tool in sigma studio.
Does anyone know how to do ?
Thank you for your help.
There is no balance function specifically written for the 1701. I suggest you use an auxiliary ADC (connected to your potentiometer), and connect it to both a volume control and do some logic to it (1-ADC) to feed into a different volume control. If you want specialy taper and xover curves for your balance then your ADC should feed 2 tables with the corresponding tapper OR you could use on of those adaptive mixers built as part of the library.
Let us know the results. I'm sure many people out there can share a schematic for doing balance control.
Here's a balance example for you. It's exactly as Miguel described except I added a lowpass filter at the Aux ADC, which allowed use of ordinary multipliers as the variable gain elements (instead of the usual slew volume controls). This saves a few instructions.
Thank you Miguel and Bob,
I test and share my comments soon.
Wow bob, that's effective and very optimized, thanks.
My feeling is that depending of the application a table might be needed. Now a days for example DJ mixers give users the options for doing the crossfades. I presume that stat of the art balance controls are also more complicated. GB, what's your application?
I tested your solution and it works perfectly for my application, a stereo speaker.
Thank you again,
Retrieving data ...