DLL Stream FFT (Finally some progress)

For general discussion related FlowStone
Youlean
Posts: 176
Joined: Mon Jun 09, 2014 2:49 pm

Re: Help with green FFT

Post by Youlean »

I made some progress. Here is the test example.
Now tell me how do you want to put out FFT for use in streams. Do you want mem out, or better mem address?

One thing is not clear to me yet. Let's say that we have audio that is 10240 sample long and I want to get 1024 window FFT, if I want to get stream FFT should I compute FFT on every sample which leads to 10240 computations, or every 1024 sample which leads to 10 computations?

BTW happy new year to everyone! :D
Attachments
Youlean FFT Test DLL 3.fsm
(112.52 KiB) Downloaded 1061 times
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: DLL Stream FFT (Finally some progress)

Post by RJHollins »

Found this thread ...

In researching a project idea, I'm understanding that FFT may be the ticket to capture a 'snapshot' of an audio source frequency response.

I'm just wading into this this and searching the forum for possible examples.

Wondering if this example has developed further ?
Youlean
Posts: 176
Joined: Mon Jun 09, 2014 2:49 pm

Re: DLL Stream FFT (Finally some progress)

Post by Youlean »

Yes, I had made: stream -> FFT -> iFFT-> stream in dll, but I had problem with FFT overlap, I couldn't get it working properly, so I was getting glitches, then I paused development as it was just fun project...
BTW CPU usage was 10 times less than stream FFT in Flowstone...
User avatar
martinvicanek
Posts: 1334
Joined: Sat Jun 22, 2013 8:28 pm

Re: DLL Stream FFT (Finally some progress)

Post by martinvicanek »

Very interesting, Youlean! I have to catch up on this when I am at my computer again.
User avatar
martinvicanek
Posts: 1334
Joined: Sat Jun 22, 2013 8:28 pm

Re: Help with green FFT

Post by martinvicanek »

Youlean wrote:I made some progress. Here is the test example.
Now tell me how do you want to put out FFT for use in streams. Do you want mem out, or better mem address?

One thing is not clear to me yet. Let's say that we have audio that is 10240 sample long and I want to get 1024 window FFT, if I want to get stream FFT should I compute FFT on every sample which leads to 10240 computations, or every 1024 sample which leads to 10 computations?

BTW happy new year to everyone! :D

You would typically process (adjacent, often overlapping) blocks of 1024 samples - or whatever FFT size.
I would be interested to see if mem could be passed without the notorious crashes in this case?
Youlean
Posts: 176
Joined: Mon Jun 09, 2014 2:49 pm

Re: DLL Stream FFT (Finally some progress)

Post by Youlean »

Thanks. I dont know how to do overlap... That is the problem... Can you make asm code that will take adress from array and to have one input to select position from array, and to have output that will display value from that position?
Post Reply