stream fft call from ruby component
Posted: Sat May 17, 2014 12:54 am
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.
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.