Sound Design Toolkit 075 Physically informed sound synthesis for everyday sounds

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

SDTFFT.h
Go to the documentation of this file.
1
11 #ifndef SDT_FFT_H
12 #define SDT_FFT_H
13
15 typedef struct SDTFFT SDTFFT;
16
20 extern SDTFFT *SDTFFT_new(unsigned int n);
21
24 extern void SDTFFT_free(SDTFFT *x);
25
31 extern void SDTFFT_fft(SDTFFT *x, int inverse, SDTComplex *in, SDTComplex *out);
32
36 extern void SDTFFT_fftr(SDTFFT *x, double *in, SDTComplex *out);
37
42 extern void SDTFFT_ifftr(SDTFFT *x, SDTComplex *in, double *out);
43
44 #endif
45
SDTFFT_new
SDTFFT * SDTFFT_new(unsigned int n)
Object constructor.
SDTComplex
Data structure containing the real and imaginary part of a complex number.
Definition: SDTComplex.h:11
SDTFFT_ifftr
void SDTFFT_ifftr(SDTFFT *x, SDTComplex *in, double *out)
Performs an inverse FFT of a signal known to be real-valued.
SDTFFT_free
void SDTFFT_free(SDTFFT *x)
Object destructor.
SDTFFT
struct SDTFFT SDTFFT
Opaque data structure, representing a FFT object.
Definition: SDTFFT.h:15
SDTFFT_fftr
void SDTFFT_fftr(SDTFFT *x, double *in, SDTComplex *out)
Performs a direct FFT of a real-valued signal.
SDTFFT_fft
void SDTFFT_fft(SDTFFT *x, int inverse, SDTComplex *in, SDTComplex *out)
Performs a direct or inverse FFT of a complex-valued signal.