Half-band transition floor/ceiling reset

This commit is contained in:
Charles J. Cliffe 2015-12-31 22:18:53 -05:00
parent 01c10efeff
commit 4fe7e87e17

View File

@ -432,6 +432,8 @@ void SpectrumVisualProcessor::process() {
for (int i = 0, iMax = fftSizeInternal; i < iMax; i++) { for (int i = 0, iMax = fftSizeInternal; i < iMax; i++) {
fft_result_peak[i] = fft_floor_maa; fft_result_peak[i] = fft_floor_maa;
} }
fft_ceil_peak = fft_floor_maa;
fft_floor_peak = fft_ceil_maa;
} }
for (int i = 0, iMax = fftSizeInternal; i < iMax; i++) { for (int i = 0, iMax = fftSizeInternal; i < iMax; i++) {