Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

DLL Stream FFT (Finally some progress)

For general discussion related FlowStone

Re: Help with green FFT

Postby Youlean » Thu Dec 31, 2015 3:34 pm

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 1007 times
Youlean
 
Posts: 176
Joined: Mon Jun 09, 2014 2:49 pm

Re: DLL Stream FFT (Finally some progress)

Postby RJHollins » Sun Feb 07, 2016 11:34 pm

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 ?
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: DLL Stream FFT (Finally some progress)

Postby Youlean » Sun Feb 07, 2016 11:41 pm

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...
Youlean
 
Posts: 176
Joined: Mon Jun 09, 2014 2:49 pm

Re: DLL Stream FFT (Finally some progress)

Postby martinvicanek » Mon Feb 08, 2016 2:53 am

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

Re: Help with green FFT

Postby martinvicanek » Mon Feb 08, 2016 4:51 pm

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?
User avatar
martinvicanek
 
Posts: 1328
Joined: Sat Jun 22, 2013 8:28 pm

Re: DLL Stream FFT (Finally some progress)

Postby Youlean » Mon Feb 08, 2016 7:06 pm

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?
Youlean
 
Posts: 176
Joined: Mon Jun 09, 2014 2:49 pm

Previous

Return to General

Who is online

Users browsing this forum: No registered users and 65 guests