Browse Source

Use standalone functions for all spectral processors. Readme change.

tags/v100_p5
xenakios 7 years ago
parent
commit
9630daba15
2 changed files with 8 additions and 8 deletions
  1. +7
    -7
      Source/PS_Source/ProcessedStretch.cpp
  2. +1
    -1
      readme.txt

+ 7
- 7
Source/PS_Source/ProcessedStretch.cpp View File

@@ -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


+ 1
- 1
readme.txt View File

@@ -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…
Cancel
Save