Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
resources:tools-software:sigmastudio:toolbox:mixerssplitters:audiosignalrouter [10 Mar 2017 11:02] Ashwin Radhakrishnanresources:tools-software:sigmastudio:toolbox:mixerssplitters:audiosignalrouter [23 Jan 2023 11:21] (current) ananthakalyani Sankar
Line 28: Line 28:
     - <fc #0000FF>Out1</fc> = //Og1// * ( G01 * //Ig0// * <fc #008000>In0</fc> + G11 * //Ig1// * <fc #008000>In1</fc>)     - <fc #0000FF>Out1</fc> = //Og1// * ( G01 * //Ig0// * <fc #008000>In0</fc> + G11 * //Ig1// * <fc #008000>In1</fc>)
  
-If the input/output channels are more than 17, then the mixer window is split for 17 input/output channels to improve GUI performance.  +If the input/output channels are more than 16, then the mixer window is split for 16 input/output channels to improve GUI performance.  
-{{ :resources:tools-software:sigmastudio:toolbox:mixerssplitters:audio_router_morethan17.png?nolink |}}+{{ :resources:tools-software:sigmastudio:toolbox:mixerssplitters:audiorouter_morethan16.jpg?nolink |}} 
 Labels for each of the input/output channels can be edited. This updated channel name will pear on the each of the Pin's tooltip as show below.  Labels for each of the input/output channels can be edited. This updated channel name will pear on the each of the Pin's tooltip as show below. 
  
Line 38: Line 39:
 {{ :resources:tools-software:sigmastudio:toolbox:mixerssplitters:audiosignalrouterext.png?nolink |}} {{ :resources:tools-software:sigmastudio:toolbox:mixerssplitters:audiosignalrouterext.png?nolink |}}
  
 +===== 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("Router1");
 +System.Collections.ArrayList arr = null;
 +System.Reflection.MethodInfo[] memberInfos = ss.ObjectGetMethods(obj);
 +/*foreach (System.Reflection.MethodInfo memberInfo in memberInfos) 
 +{
 +   ss.PrintLine(memberInfo.Name);
 +}*/
 +
 +//OPEN the SETTINGWINDOW
 +System.Reflection.MethodInfo methodInfo = ss.ObjectGetMethod(obj, "settingswindowopen");
 +ss.PrintLine(methodInfo.Name);
 +methodInfo.Invoke(obj, new object[]{});
 +
 +//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.
 +//setTabIndex should be 0 to 3.
 +for (int idx =0; idx <= 1; idx++)
 +{
 +System.Reflection.MethodInfo methodInfo1 = ss.ObjectGetMethod(obj, "setTabIndex");
 +ss.PrintLine(methodInfo1.Name);
 +methodInfo1.Invoke(obj, new object[]{idx,2});
 +ss.ObjectSetProperties("setControlValue", "Router1", 0, 0, "InputGain_0" , 6.0);
 +ss.ObjectSetProperties("setControlValue", "Router1", 0, 0, "InputGain_10" , 2);
 +ss.ObjectSetProperties("setControlValue", "Router1", 0, 0, "InputGain_12" , 3);
 +ss.ObjectSetProperties("setControlValue", "Router1", 0, 0, "OutputGain_10" , 0.3);
 +ss.ObjectSetProperties("setControlValue", "Router1", 0, 0, "OutputGain_12" , 0.3);
 +ss.ObjectSetProperties("setControlValue", "Router1", 0, 0, "OutputGain_9" , 0.3);
 +ss.ObjectSetProperties("setControlValue", "Router1", 0, 0, "CrossGain_0_1" , 0.5);
 +ss.ObjectSetProperties("setControlValue", "Router1", 0, 0, "CrossGain_0_0" ,0.6);
 +}
 +
 +
 +//CLOSE the SETTINGWINDOW
 +System.Reflection.MethodInfo methodInfo2 = ss.ObjectGetMethod(obj, "settingswindowclose");
 +ss.PrintLine(methodInfo2.Name);
 +methodInfo2.Invoke(obj, new object[]{});
 +
 +// 
 +
 +</code>
    
resources/tools-software/sigmastudio/toolbox/mixerssplitters/audiosignalrouter.1489140121.txt.gz · Last modified: 10 Mar 2017 11:02 by Ashwin Radhakrishnan