FFT Software - Page 1
Forum section: electronics / projects

author: yramgu
author_rank: Contributor
timestamp: May 09, 2015, 05:34:16 pm
content: Hi everyone,I’m opening this topic to share a piece of PC software I wrote recently: an FFT tracer.I designed it originally to help myself at work, where I wanted to analyze the frequency content of the output signal of an accelerometer. I first began to look for asimple(that part is important) software on the internet but couldn’t find anything I deemed suitable (either too complex/ not adapted to my needs) so I decided to design my own. I started by looking for a simple C FFT library and stumbled upon KISS FFT, which looked nice. I developed my own code under codeblocks and was doing all the tracing “manually” under Excel. When I got to a working code I decided to develop an interface to it, under Visual C++. I understand it may not be the best option, but I’m not a professional programmer so I didn’t want to spend too much time on it.I could also have developed under linux but I don’t like LinuxAnyway as this is my own personal work (I developed it entirely at home), I decided I would share, may it be useful for somebody else.Here are two links:1 - The software :https://mega.co.nz/#!Ocl1kTLT!UWJPnSbFlhzuKuqJxD2BpKcpZ5hGxOR6kV5ZEzV6C1Q2 - The english "manual", with screenshots and description of the software :https://mega.co.nz/#!6VcgHJTT!RGGWD4s1kuatzBRojYJt6ERFU5n0Q0wp9LbMRHlo-68I tested it under XP/7/8 and it works fine.Let me know what you think

author: dom0
author_rank: Super Contributor
timestamp: May 09, 2015, 06:55:51 pm
content: - You might want to adhere to the LGPL license that comes with ZedGraph (that is, you need to put a notice somewhere in your program and/or the README that you're using ZedGraph and that it's LGPL'd)- You're distributing a debug build (~500 kB download overhead)- No source code, so I won't run it

author: Alex Eisenhut
author_rank: Super Contributor
timestamp: May 09, 2015, 07:46:40 pm
content: LTSpiceopen waveformdo fft?

author: yramgu
author_rank: Contributor
timestamp: May 09, 2015, 08:21:53 pm
content: QuoteYou're right, I'll add a readme for zedgraph and KISS FFTQuoteNope, it's the release buildQuoteFair enough. At the beginning I wanted to release the source code but quite frankly it's such a mess (I developped for myself so I didn't put any effort on writing "clean" code) I don't think it would be of any help. I can publish it if people want it though.QuoteI'm not a user of LTSpice, didn't know you could do that^^. Then again I didn't tell the whole story: I was also looking to implement an FFT algorithm in a microcontroller for a future project and that's why I began working with KISS FFT. Then along the way I decided to write my own PC software based on it. Just a pretext to work with the library

author: dom0
author_rank: Super Contributor
timestamp: May 09, 2015, 08:39:58 pm
content: Quote from: yramgu on May 09, 2015, 08:21:53 pmWell, you're shipping the .pdb file, that effectively turns it into a debug build.

author: yramgu
author_rank: Contributor
timestamp: May 09, 2015, 09:05:14 pm
content: Yep, don't know why but it keeps generating the .pdb file even when configured in Release mode. Deleting it doesn't seem to change anything, the program still works.

author: T3sl4co1l
author_rank: Super Contributor
timestamp: May 10, 2015, 04:01:51 am
content: For audio (WAV) use, I've used AnalFreq ("The Unfortunately Named Spectrum Analyzer Tool"). NO idea if that's free, or too special-purpose, or...anything.A more heavy-weight but general-purpose solution might also be, open the source (WAV or otherwise) in Octave/MATLAB/Python/etc. as an array, then use the dft function.Tim

author: dom0
author_rank: Super Contributor
timestamp: May 10, 2015, 09:38:07 am
content: For basic analysis audacity is ok. It handles unreasonably high sample rats and float audio w/o complaining.