blob: 9eaa2ddc2634be9092d8b334db481051f3ac0320 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// This file is part of the 64k demo project.
// It implements the 512-point Forward Discrete Cosine Transform.
// Used for analyzing audio files into spectrograms.
#include "dct.h"
#include "fft.h"
// Fast O(N log N) implementation using FFT
void fdct_512(const float* input, float* output) {
dct_fft(input, output, DCT_SIZE);
}
|