stream fft call from ruby component

For general discussion related FlowStone
Post Reply
Dimmak01
Posts: 12
Joined: Mon Oct 19, 2009 11:38 am

stream fft call from ruby component

Post 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:
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

Re: stream fft call from ruby component

Post by Nubeat7 »

there is also a mono to frame primitiver where you can set the samples per frame, maybe this helps?
Dimmak01
Posts: 12
Joined: Mon Oct 19, 2009 11:38 am

Re: stream fft call from ruby component

Post 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:
Post Reply