Page 1 of 1

stream fft call from ruby component

Posted: Sat May 17, 2014 12:54 am
by Dimmak01
I have no problems with "static" dll call.
But when I'm trying to do that in real time with dynamic buffers I begin to panic...
The trouble is: Need stream fft call size 8192. Frame Synch component send trigger each 256 samples.
So:
1) 8192/256= 32 buffers need to collect to make fft call.
2) 2 buffers 8192 size each( When first buffer collect data, second used for dll call and playback and vice versa ).
3) data delay 8192 samples before output...
If you're have any ideas how to solve that problem please help. :shock:

Re: stream fft call from ruby component

Posted: Sat May 17, 2014 9:44 am
by Nubeat7
there is also a mono to frame primitiver where you can set the samples per frame, maybe this helps?

Re: stream fft call from ruby component

Posted: Sat May 17, 2014 3:28 pm
by Dimmak01
Thanks Nubeat7. With that component is much better. But maximum allowable size for mono to frame primitive is 4096 samples or am I wrong? :geek: