Hi I'm Will from China.
I'm trying to realize some MATLAB algorithms in Audio Weaver Designer. Here is the trouble I met. I now have the 512 blocksize , 48000Hz signals. What I plan to do is that I want to multiply a 512 sample block to 512*512 format coefficient matrix to build up a new signal. Is this possible to use existing modules to build up the function? Would you please give me some advices?
Best Regards,
Will Wang
6:27pm
Hey Will,
Unfortunately there aren't any built in matrix arithmetic modules in Designer, but the Mixer module can be used to achieve matrix multiplication on your signal. The trick is that you need to swap the numChannels and the blockSize of your audio signal using the SetWireProperties module. Then just set the output of the Mixer module to have 512 channels, fill in the gain array (hopefully using an imported file ;) ), and then swap the numChannels and blockSize again to return to your audio signal.
Note that a 512x512 matrix is very ambitious to be multiplying with a 48 KHz signal. On my PC, running just this multiplication with dummy coefficients causes CPU overflow and I dropped audio packets, and it also eats up almost all of the heap space allocated for Audio Weaver.
Hope this helps!
-Axel