Browse Source

Init FFT windowing type

tags/v100_p5
xenakios 8 years ago
parent
commit
5f24356658
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      Source/PS_Source/StretchSource.cpp
  2. +1
    -0
      Source/PluginProcessor.cpp

+ 1
- 0
Source/PS_Source/StretchSource.cpp View File

@@ -563,6 +563,7 @@ void StretchAudioSource::setPlayRange(Range<double> playrange, bool isloop)
m_inputfile->seek(m_playrange.getStart());
m_seekpos = m_playrange.getStart();
++m_param_change_count;

}

bool StretchAudioSource::isLoopEnabled()


+ 1
- 0
Source/PluginProcessor.cpp View File

@@ -84,6 +84,7 @@ PaulstretchpluginAudioProcessor::PaulstretchpluginAudioProcessor()
m_ppar.freq_shift.enabled = true;
m_stretch_source->setOnsetDetection(0.0);
m_stretch_source->setLoopingEnabled(true);
m_stretch_source->setFFTWindowingType(1);
addParameter(new AudioParameterFloat("mainvolume0", "Main volume", -24.0f, 12.0f, -3.0f)); // 0
addParameter(new AudioParameterFloat("stretchamount0", "Stretch amount",
NormalisableRange<float>(0.1f, 128.0f, 0.01f, 0.5),1.0f)); // 1


Loading…
Cancel
Save