[SUGGESTION] FFT class

8 posts / 0 new
Last post
forart.eu
Offline
Last seen: 1 year 7 months ago
Joined: 16 Nov 2011 - 08:45
[SUGGESTION] FFT class

Well, FFTs are largely used both in audio and in video applications, so it could be interesting to have a "generic" class implementation.

FFT @ SF.net

TheVinn
Offline
Last seen: 3 months 1 week ago
Joined: 29 Aug 2009 - 11:31
Re: [SUGGESTION] FFT class

So, you are volunteering to write the module? I am behind this 100%!

forart.eu
Offline
Last seen: 1 year 7 months ago
Joined: 16 Nov 2011 - 08:45
Re: [SUGGESTION] FFT class

Unfortunally I'm not a developer...

BTW I can try to involve someone other (3rd-party FFT software dev. of course) if you want !

kraken
kraken's picture
Offline
Last seen: 1 day 22 hours ago
Joined: 9 Feb 2005 - 09:31
Re: [SUGGESTION] FFT class

mmmh unfortunately this a is a developer forum.

how would a fft class made in juce benefit you directly ?

aaronleese
Offline
Last seen: 1 week 2 days ago
Joined: 5 Feb 2009 - 17:52
Re: [SUGGESTION] FFT class

This is fairly easy to do using the accelerate (vDSP) frameworks on Mac, as in this example:
http://www.rawmaterialsoftware.com/viewtopic.php?f=2&t=8297

On PC there is FFTW (but this is not free for commercial products if I remember correctly).

There is also a third party called FFTReal that might be suitable.

I have also thought it would be groovy to have a generic FFT class, and will likely grow my own one of these days if Jules doesn't get there first.

Until then, it's fairly easy to use the frameworks listed above and get them working with Juce.

Aaron Leese
StagecraftSoftware.com

dave96
Offline
Last seen: 56 min 37 sec ago
Joined: 27 Dec 2008 - 20:29
Re: [SUGGESTION] FFT class

I actually did a cross platform FFT implementation using vDSP on Mac and FFTReal on Windows (and others). It's in my module with some info here: and wiki here.

The Spectroscope and Sonogram classes use them internally so check those out for an example usage.

aaronleese
Offline
Last seen: 1 week 2 days ago
Joined: 5 Feb 2009 - 17:52
Re: [SUGGESTION] FFT class

nice work Dave!

I haven't looked at the code yet, but am excited to check it out. I wouldn't mind checking out the FFTReal code.

How much are you selling the commercial licenses for?

Also - is FFTReal is free to use, what about integrating some of this into the Juce libs? A generic FFT class gets requested alot!

Aaron Leese
StagecraftSoftware.com

dave96
Offline
Last seen: 56 min 37 sec ago
Joined: 27 Dec 2008 - 20:29
Re: [SUGGESTION] FFT class

Yes, FFTReal is licensed under "WTFPL" which basically means you can do what you want with the code, no restrictions or requirements.

I haven't got a set price for the comercial licence yet but if you (or anyone) is interested contact me and I'm sure we can sort something out.