Setting biquad coeffs via script
Hi, can anyone share an example of setting biquad coefficients via a c# script?
double x
x=1.000
sigmastudio.ObjectSetProperties("setControlValue","R2", 0, 0, "B0", x);
does not throw an error, but has no effect. In this case, my filter is called "R2." I suspect the problem has to do with the type of the parameter, and have tried a few things to no avail. Can't find in docs anywhere.
Win 10 x64, SS 4.1, for an ADAU1772
Thanks,
Jeff
adau1772
Integrated/Special Purpose A/D Converters
Audio CODECs
Found it! The biquad coefficients are called "Coefficients.B0" etc. So
ss.ObjectSetProperties( "setControlValue", "TestFilter", 0, 0, "Coefficients.B0" , 1.0 );
works just fine. Found it here after some deep googling:
https://ez.analog.com/message/110956?commentID=110956#comment-110956
Thanks,
Jeff
Please log in to reply.