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

ADAU1452 script question

SigmaDSP & SigmaStudio wuxiangzhi Aug 20, 2025 00:00 1 replies Original on forum ↗
Thread Summary

Thread Summary

The user encountered an issue with an empty schematic when using a C# script to configure a project in SigmaStudio. The solution involved assigning pins to the Input object using the ObjectSetProperties method for the ADAU1452. The final script correctly connects the USB Interface to IC 1 and the Input to the Output.
AI Generated Content
Subscribe
wuxiangzhi Question
Aug 20, 2025 00:00

Hello Support Team Guys,

I used the following script to run unfortuantely. The schematic is empty. Would you please have a look if I have missed anything?

// #LANGUAGE# C#
sigmastudio.ProjectNew();
sigmastudio.ObjectInsert( "USBi" );
sigmastudio.ObjectInsert( "ADAU1452" );
sigmastudio.ObjectConnect( "USB Interface", 0, "IC 1", 0 );
sigmastudio.ObjectInsert( "Input" );
sigmastudio.ObjectInsert( "Output" );
sigmastudio.ObjectConnect( "Input1", 0, "Output1", 0 );
sigmastudio.ProjectLinkCompileDownload();
sigmastudio.ProjectSaveAs( @"D:\test\SampleScript2.dspproj" );
sigmastudio.ProjectClose();

Audio Signal Processors

adau1452

software

4.7

script

SigmaDSP Audio Processors

Show More

pastedimage1755745975659v1.png
pastedimage1755745975659v1.png
pastedimage1755747294347v2.png
pastedimage1755747294347v2.png
ChristopherH Reply
Aug 21, 2025 00:00

Hello,

After you insert Input you need to assign the pins:

sigmastudio.ObjectInsert( "Input" );
sigmastudio.ObjectSetProperties("addAlgorithm","Input1","IC 1","ADAU145x Inputs 0-15");

pastedimage1755794480494v1.png
pastedimage1755794480494v1.png