This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
resources:tools-software:sigmastudio:toolbox:mixerssplitters:audiosignalrouter [10 Mar 2017 11:02] – Ashwin Radhakrishnan | resources:tools-software:sigmastudio:toolbox:mixerssplitters:audiosignalrouter [23 Jan 2023 11:21] (current) – ananthakalyani Sankar | ||
---|---|---|---|
Line 28: | Line 28: | ||
- <fc # | - <fc # | ||
- | If the input/ | + | If the input/ |
- | {{ : | + | {{ : |
Labels for each of the input/ | Labels for each of the input/ | ||
Line 38: | Line 39: | ||
{{ : | {{ : | ||
+ | ===== Audio Signal Router Script support ===== | ||
+ | User can able to access this module from script. | ||
+ | |||
+ | The following sample code shows how to read parameters from a file using Sigma studio script. | ||
+ | <code csharp> | ||
+ | // #LANGUAGE# C# | ||
+ | // Get Cell object | ||
+ | |||
+ | object obj = ss.GetCellObject(" | ||
+ | System.Collections.ArrayList arr = null; | ||
+ | System.Reflection.MethodInfo[] memberInfos = ss.ObjectGetMethods(obj); | ||
+ | /*foreach (System.Reflection.MethodInfo memberInfo in memberInfos) | ||
+ | { | ||
+ | | ||
+ | }*/ | ||
+ | |||
+ | //OPEN the SETTINGWINDOW | ||
+ | System.Reflection.MethodInfo methodInfo = ss.ObjectGetMethod(obj, | ||
+ | ss.PrintLine(methodInfo.Name); | ||
+ | methodInfo.Invoke(obj, | ||
+ | |||
+ | //CHANGE the Table INDEX | ||
+ | //and set the values | ||
+ | // chage the tabindex count based on need and will get the tabindex value.which is used here. | ||
+ | // | ||
+ | for (int idx =0; idx <= 1; idx++) | ||
+ | { | ||
+ | System.Reflection.MethodInfo methodInfo1 = ss.ObjectGetMethod(obj, | ||
+ | ss.PrintLine(methodInfo1.Name); | ||
+ | methodInfo1.Invoke(obj, | ||
+ | ss.ObjectSetProperties(" | ||
+ | ss.ObjectSetProperties(" | ||
+ | ss.ObjectSetProperties(" | ||
+ | ss.ObjectSetProperties(" | ||
+ | ss.ObjectSetProperties(" | ||
+ | ss.ObjectSetProperties(" | ||
+ | ss.ObjectSetProperties(" | ||
+ | ss.ObjectSetProperties(" | ||
+ | } | ||
+ | |||
+ | |||
+ | //CLOSE the SETTINGWINDOW | ||
+ | System.Reflection.MethodInfo methodInfo2 = ss.ObjectGetMethod(obj, | ||
+ | ss.PrintLine(methodInfo2.Name); | ||
+ | methodInfo2.Invoke(obj, | ||
+ | |||
+ | // | ||
+ | |||
+ | </ | ||