View Single Post
Old 03-27-2017, 12:55 PM   #4
MSK
Human being with feelings
 
Join Date: Jan 2017
Posts: 43
Default

Quote:
Originally Posted by Tale View Post
Are you using the complex (WDL_fft) or real version (WDL_real_fft)? Because these require different scaling.

Anyway, as to your more general question: Input is normalized to [-1.0, +1.0], and so should output I guess, but this is not very strict. Do note that anything beyond 1.0 will be clipped when it is converted to integer (e.g. because it is sent to an audio interface, or rendered to an integer file format).
I'm currently using the complex FFT, but I don't see a reason not to use the real one, since it's faster for real input. I'll make the switch. How would you scale the output of the real transform?

Thanks!

Edit: Actually, I'll probably want to use some phase information, and as I understand it, that requires the complex transform... So any info about WDL_fft would also be appreciated.

Last edited by MSK; 03-27-2017 at 01:01 PM.
MSK is offline   Reply With Quote