Use standalone functions for all spectral processors. Readme change.
This commit is contained in:
parent
9ee8aa6ade
commit
9630daba15
@ -108,19 +108,19 @@ void ProcessedStretch::process_spectrum(REALTYPE *freq)
|
|||||||
if (e == 0 && pars.harmonics.enabled)
|
if (e == 0 && pars.harmonics.enabled)
|
||||||
spectrum_do_harmonics(pars, tmpfreq1, nfreq, samplerate, infreq.data(), freq);
|
spectrum_do_harmonics(pars, tmpfreq1, nfreq, samplerate, infreq.data(), freq);
|
||||||
if (e == 1 && pars.tonal_vs_noise.enabled)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
if (e == 7 && pars.compressor.enabled)
|
||||||
do_compressor(infreq.data(), freq);
|
spectrum_do_compressor(pars,nfreq, infreq.data(), freq);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef USE_OLD_SPEC_PROC
|
#ifdef USE_OLD_SPEC_PROC
|
||||||
|
@ -32,5 +32,5 @@ History :
|
|||||||
-Allow setting background prebuffering amount in settings, including none.
|
-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.
|
(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.)
|
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
|
-Remember last file import folder
|
||||||
|
Loading…
Reference in New Issue
Block a user