Change the initial order of spectral modules to make the compressor be the last module. This is way too messy like this...But maybe this was the last time this needed to be done...

This commit is contained in:
xenakios
2018-03-21 13:43:03 +02:00
parent 6256997f6b
commit 6b09d11d49
2 changed files with 6 additions and 6 deletions

View File

@ -118,9 +118,9 @@ void ProcessedStretch::process_spectrum(REALTYPE *freq)
spectrum_spread(nfreq,samplerate,m_tmpfreq1,m_infreq.data(), freq, pars.spread.bandwidth);
if (e.m_index == 6 && *e.m_enabled == true)
spectrum_do_filter(pars,nfreq,samplerate,m_infreq.data(), freq);
if (e.m_index == 7 && *e.m_enabled == true)
spectrum_do_compressor(pars,nfreq, m_infreq.data(), freq);
if (e.m_index == 8 && *e.m_enabled == true)
spectrum_do_compressor(pars,nfreq, m_infreq.data(), freq);
if (e.m_index == 7 && *e.m_enabled == true)
spectrum_do_free_filter(m_free_filter_envelope, nfreq, samplerate, m_infreq.data(), freq);
}
};