In order to properly answer, I need you to provide a little more information. Is this module the mixer_v3 module? (Should say under the module name in the canvas when you drag it out) The v3 version of this module is optimized for sparse mixing to save multiplies, and so the user must set the variable maxNonZero to the proper (or maximum) size based on the matrix dimensions.
Also, are you creating the custom module in matlab or in c?
For matlab, the gain data is an array inside the mixer. The input channels are the rows, where the output channels are the columns.
The help files for the fract32 mixers are located in the install directory as such:
I am creating a custom module in Matlab using existing modules. The module that I am trying to use has this constructor, mixer_fract32_module. The name of the module is stated in the subject line of the original post, MixerFract32.
The problem I have is this: The module determines the size if the mix matrix from the number of input channels. Therefore I cannot initialize the gain matrix. I am assuming I will need to initialize it using constructor code. I am hoping that you can give an example of how to do this.
The help file for MixerFract32 seems a cryptic -
"The number of input channels is determined by the upstream audio module. However, you must specify the number of output channels at construction time."
Also in the help file under Discussion it refers to the matrix as an array called coeffs. Under properties it refers to the matrix as gain.
1:54pm
Hi Darrel,
In order to properly answer, I need you to provide a little more information. Is this module the mixer_v3 module? (Should say under the module name in the canvas when you drag it out) The v3 version of this module is optimized for sparse mixing to save multiplies, and so the user must set the variable maxNonZero to the proper (or maximum) size based on the matrix dimensions.
Also, are you creating the custom module in matlab or in c?
For matlab, the gain data is an array inside the mixer. The input channels are the rows, where the output channels are the columns.
The help files for the fract32 mixers are located in the install directory as such:
C:\DSP Concepts\Audio Weaver 5.16.B02 Evaluation\Modules\BasicAudioFract32\Doc
Let me know if I can help you further.
4:29pm
I am creating a custom module in Matlab using existing modules. The module that I am trying to use has this constructor, mixer_fract32_module. The name of the module is stated in the subject line of the original post, MixerFract32.
The problem I have is this: The module determines the size if the mix matrix from the number of input channels. Therefore I cannot initialize the gain matrix. I am assuming I will need to initialize it using constructor code. I am hoping that you can give an example of how to do this.
The help file for MixerFract32 seems a cryptic -
"The number of input channels is determined by the upstream audio module. However, you must specify the number of output channels at construction time."
Also in the help file under Discussion it refers to the matrix as an array called coeffs. Under properties it refers to the matrix as gain.