Use standalone functions for all spectral processors. Readme change.

This commit is contained in:
xenakios 2017-12-23 21:46:37 +02:00
parent 9ee8aa6ade
commit 9630daba15
2 changed files with 8 additions and 8 deletions

View File

@ -108,19 +108,19 @@ void ProcessedStretch::process_spectrum(REALTYPE *freq)
if (e == 0 && pars.harmonics.enabled)
spectrum_do_harmonics(pars, tmpfreq1, nfreq, samplerate, infreq.data(), freq);
if (e == 1 && pars.tonal_vs_noise.enabled)
do_tonal_vs_noise(infreq.data(), freq);
spectrum_do_tonal_vs_noise(pars,nfreq,samplerate,tmpfreq1, infreq.data(), freq);
if (e == 2 && pars.freq_shift.enabled)
do_freq_shift(infreq.data(), freq);
spectrum_do_freq_shift(pars,nfreq,samplerate,infreq.data(), freq);
if (e == 3 && pars.pitch_shift.enabled)
do_pitch_shift(infreq.data(), freq, pow(2.0f, pars.pitch_shift.cents / 1200.0f));
spectrum_do_pitch_shift(pars,nfreq,infreq.data(), freq, pow(2.0f, pars.pitch_shift.cents / 1200.0f));
if (e == 4 && pars.octave.enabled)
do_octave(infreq.data(), freq);
spectrum_do_octave(pars,nfreq,samplerate, sumfreq, tmpfreq1, infreq.data(), freq);
if (e == 5 && pars.spread.enabled)
do_spread(infreq.data(), freq);
spectrum_spread(nfreq,samplerate,tmpfreq1,infreq.data(), freq, pars.spread.bandwidth);
if (e == 6 && pars.filter.enabled)
do_filter(infreq.data(), freq);
spectrum_do_filter(pars,nfreq,samplerate,infreq.data(), freq);
if (e == 7 && pars.compressor.enabled)
do_compressor(infreq.data(), freq);
spectrum_do_compressor(pars,nfreq, infreq.data(), freq);
}
#ifdef USE_OLD_SPEC_PROC

View File

@ -32,5 +32,5 @@ History :
-Allow setting background prebuffering amount in settings, including none.
(None is mostly useful in case the plugin doesn't detect the host is offline rendering.
For real time playback none is likely only going to work with small FFT sizes.)
-Slightly better GUI layout but still just 2 columns of parameters
-Slightly better GUI layout but still mostly just 2 columns of parameters
-Remember last file import folder