3 #ifndef SPECTMORPH_NOISE_DECODER_HH 4 #define SPECTMORPH_NOISE_DECODER_HH 7 #include "smnoisebandpartition.hh" 27 void apply_window (
float *spectrum,
float *fft_buffer);
35 enum OutputMode { REPLACE, ADD, FFT_SPECTRUM, DEBUG_UNWINDOWED, DEBUG_NO_OUTPUT };
37 void set_seed (
int seed);
40 OutputMode output_mode = REPLACE);
42 static size_t preferred_block_size (
double mix_freq);
Block of audio data, encoded in SpectMorph parametric format.
Definition: smaudio.hh:26
Definition: smnoisebandpartition.hh:15
Definition: smrandom.hh:13
Definition: smaudio.hh:15
NoiseDecoder(double orig_mix_freq, double mix_freq, size_t block_size)
Definition: smnoisedecoder.cc:36
void process(const AudioBlock &audio_block, float *samples, OutputMode output_mode=REPLACE)
Definition: smnoisedecoder.cc:78
Decoder for the noise component (stochastic component) of the signal.
Definition: smnoisedecoder.hh:16