left and right balance issues
Dear members,
i want to know adau1401 how to created the left/right channel balance as pan function as below graphs, i tried below schematic, but no used, or we can use the volume table to find the lookup table to define the balance issues?thanks a lot.
software
sigmaStudio 4.7
processors and dsp
Processors and Microcontrollers
Hello Anmin,
This is actually a little tricky to do! I do not have an example project to send over. I will hack at this to see what I can come up with.
Your idea of doing the subtraction is what I thought about first but there are some little details that were not great plus the summed signals need to be equal in level. So if you have a 0dB signal into both channels Then if you set it to the middle, the result needs to be two 0dB signals each being a sum of the two channels so this means L=-6dB and R=-6db so the sum would equal 0dB.
I will think about this more...
If anyone else on the forum wants to chime in please do!!!
Thanks!
Dave T
Dear Dave T,
Thanks for you help, and looking forward your ideas.
Hello Anmin & Dave,
Placing a Linear Interpolator before each multiplier allows for a variety of curves to give your balance control a smooth feel.
The Left channel's interpolation table is based upon (Cosine (x))^2 from 0 to 90 degrees. The Right channel is the same curve, flipped right to left. The two curves add to 1.0 everywhere.
The entire project uses 69 instructions as shown. I needed the gain block because my audio source has low level -- you can eliminate it or else build gain into the interpolator tables. And the lowpass filter may not be needed as well. Linear Interpolators are highly efficient while featuring smooth transitions between points -- eliminating "zipper noise."
Best regards,
Bob
Balance-control.zip
Dear KJBob,
Perfect, this is what i want, thanks a lot.
Hi Bob
Can you please tell me how to achive Cathedral Reverb using ADAU1466
Thank you
Hi Beder,
Assuming that the stock reverb from the -1466 Toolbox is inadaquate, there's several possibilities. Perhaps the simplest is to use two or more stock reverbs, a basic example is shown below:
There's other ways as well, yet your subject deserves its own thread. Ask about it as a brand new question, then perhaps others experienced with reverb may help. Although I've helped with some reverb questions on EZ, I'm not an authority with it.
Best regards,
Bob
Thanks, Bob
I'll try your feedback hack
I've posted a new question already but still had no replies
Hi Beder,
Sorry, I neglected to include -24 dB (multiply by 0.063) pads in series with each feedback loop. Please see the modified version above. As originally shown, the thing screams as there's too much feedback. In any event, I've got another circuit which works better -- I'm waiting for you to post your question in this forum (your present question is in Precision Microcontrollers, a forum whose inhabitants have little use for SigmaStudio.
Best regards,
Bob
Please log in to reply.



