MCUdude / SigmaDSP

A versatile Arduino library for interfacing with the ADAU1401, ADAU1701 and ADAU1702 audio DSPs
GNU Lesser General Public License v3.0
165 stars 33 forks source link

Use 2 output ADAU1701 #31

Closed Thread09 closed 2 years ago

Thread09 commented 2 years ago

Hi,

I'm using an ADAU1701 and I can't find how to set different parameters on output 1 and output 2.

Do I need to use writeRegister or something is already develop ?

Thanks

MCUdude commented 2 years ago

I'm using an ADAU1701 and I can't find how to set different parameters on output 1 and output 2.

What are you trying to achieve? What parameters do you want to set? You can do all permanent settings in SigmaStudio, and it will be present when you export the project.

Thread09 commented 2 years ago

I have a custom board wich have an ADAU1701. A subwoofer is connected on output 1 from dsp1 (dac0 & dac1), a medium speaker is connected on output 2 (dac2 & dac3). I want to set differnets parameters (like band pass, volume, ..) for output 1 and output 2. I can't find a way to say that a parameter is for a specific output ou dac.

MCUdude commented 2 years ago

I want to set different parameters (like band pass, volume, ..) for output 1 and output 2.

See the screenshot below. You don't make any changes to the output blocks themselves. You connect various blocks to them.

The screenshot below is for an amplifier that takes a mono signal as input. Output 0 and 1 are for a speaker amplifier, and output 3 and 4 are for a headphone amplifier.

You should play around with SigmaStudio and get familiar with it. This library is designed to tweak the parameters of the blocks you've pulled into your SigmaStudio program.

image