I know this is perfectly valid, but when you call the ´´´getFFTSmooth()´´´ more than once, you should just save it to a local variable.