Post Go back to editing

SigmaStudio Algorithm disgner custom module

Category: Software
Software Version: SigmaStudio for SHARC 4.7

Hello,

I want to create a custom sigmastudio module using the SigmaStudio Algorithm desinger. This module should be similar to the 'Audio Signal Router' already available in sigmastudio. However, there does not seem to be a way to create a similar module, as there is no way to create parameters based on the number of inputs/outputs when 2D growth is enabled. I can only have a fixed list of parameters.

When not using 2D growth this is possible, as each stacking parameter is replicated when growing the module. But when using 2D growth, i want to replicate a parameter for each added input and each added output. But this does not work.

Is this not possible?

  • Hi,
    We hope you have referred the section "7.6.2.2 Two Dimensional Growth Settings" in following document.
    "C:\Analog Devices\SoftwareModules\SigmaStudioForSHARC-SH-Rel4.7.0\Docs\AE_42_SS4G_AlgorithmDesignerGuide.pdf".

    Could you please share your sample design to check whether we can help on this requirement?

  • Yes, I have read the document front to back and back to front.

    There is not much to share. Basically what I want to make is a module which implements an NxM audio router where each node in the NxM has it's own delay buffer.

    So in the XML I have added following module

    	<module name="GainDelayMatrix" block="TRUE">
    		<dlb name="plugins.dlb" target="ADSP-SC58x" embed="FALSE" path=".\"/>
    		<parameter name="cross_gain" isbuffer="NO" format="FLOAT"/>
    		<parameter name="samples" isbuffer="NO" format="INT"/>
    		<pin type="DATA" direction="INPUT" />
    		<pin type="DATA" direction="OUTPUT" />
    	</module

    So for each input/output that I gro the module, I want  the 2 parameters "cross_gain" and "samples" to be replecated. This does not work, i always get only 2 parameters no matter how much I grow the inputs/outputs.

    If i do it in 1D it works as expected, but is useless in my usecase.

  • Can you check with Multi control vertical option to grow control parameters? 

  • Yes. Like I said. This works, but is not usefull to me as i need to be able to grow the inputs and the outputs individually. As i need to be able to dimension M and N of the MxN matrix.

    So I need the 2D growth.

  • Hi, It looks like in SigmaStudio the parameter growth not possible based on 2D pin growth, so I may recommend having multiple modules based on number of I/O pins requirements. The module library can be same for all modules which will process based on number of I/O pins. We will forward this requirement to SigmaStudio+ development team if this requirement can be addressed in future SigmaStudio+ release.