comparison fft.h @ 11:977f541d6683

GPL and cosmetic changes
author Wen X <xue.wen@elec.qmul.ac.uk>
date Wed, 10 Aug 2011 12:33:35 +0100
parents 5f3c32dc6e17
children
comparison
equal deleted inserted replaced
10:c6528c38b23c 11:977f541d6683
1 /*
2 Harmonic sinusoidal modelling and tools
3
4 C++ code package for harmonic sinusoidal modelling and relevant signal processing.
5 Centre for Digital Music, Queen Mary, University of London.
6 This file copyright 2011 Wen Xue.
7
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License as
10 published by the Free Software Foundation; either version 2 of the
11 License, or (at your option) any later version.
12 */
1 #ifndef fftH 13 #ifndef fftH
2 #define fftH 14 #define fftH
3 15
4 /** 16 /**
5 \file fft.h - fast Fourier and cosine transforms 17 \file fft.h - fast Fourier and cosine transforms
73 void RLCT(double** spec, double* data, int Count, int Order, int wid, double* g); //local cosine transform 85 void RLCT(double** spec, double* data, int Count, int Order, int wid, double* g); //local cosine transform
74 void RILCT(double* data, double** spec, int Fr, int Order, int wid, double* g); //inverse local cosine transform 86 void RILCT(double* data, double** spec, int Fr, int Order, int wid, double* g); //inverse local cosine transform
75 87
76 //--tools-------------------------------------------------------------------- 88 //--tools--------------------------------------------------------------------
77 double Atan2(double, double); 89 double Atan2(double, double);
90 int Log2(int);
78 int* CreateBitInvTable(int Order); //creates table of bit-inversed integers 91 int* CreateBitInvTable(int Order); //creates table of bit-inversed integers
79 void SetTwiddleFactors(int N, cdouble* w); //set twiddle factors 92 void SetTwiddleFactors(int N, cdouble* w); //set twiddle factors
80 93
81 94
82 #endif 95 #endif