ΣSigmaStudio Ask AI Русский Log in

ADAU1772 Sigma Studio script tool not working

SigmaDSP & SigmaStudio salggarcia Jun 30, 2016 00:00 0 replies Original on forum ↗
Subscribe
salggarcia Question
Jun 30, 2016 00:00

I am trying to use the script tool to control a dB Volume Slider value for the 1772. Here is the schematic and script I'm using:

When I run this script, the slider value does not change. I ran the same thing in another project with a 1701 device with no problems at all and the slider updates when I run the same exact script:

I also ran a script of:

ss.ObjectSetProperties("setName", "Single 1", "Single 2");

and was able to change the name of the volume slider on the 1772, but I cannot get setControlValue to work. My guess is that for the 1772 volume slider, "Gain" may not be the correct control value name for this algorithm, but I can't seem to find what the correct one is. I did find the following excerpt from the sigma studios script manual:

NOTE: Control value names are not exposed in the user interface and vary among toolbox blocks. The following is a list of standard names; please contact ADI for additional information and assistance.

Gain, LevelL, LevelH, TimeConstant, HoldTime, DecayTime, Damping, OnOff, SoftKnee, PostGain, RMSvalue, Threshold, DelaySamples, MaxDelaySamples

Boost, Step, A1, A2, B0, B1, B2.

I tried every one of those commands with no luck.

adau1772

Integrated/Special Purpose A/D Converters

Audio CODECs

1635439c13e7ba3db4140bfa99dd43b1.png
1635439c13e7ba3db4140bfa99dd43b1.png
1635439c13e7ba3db4140bfa99dd43b1.png-620x252.png
1635439c13e7ba3db4140bfa99dd43b1.png-620x252.png
3f103d15487a1c76e0024ac36ed697f8.png
3f103d15487a1c76e0024ac36ed697f8.png
3f103d15487a1c76e0024ac36ed697f8.png-620x294.png
3f103d15487a1c76e0024ac36ed697f8.png-620x294.png