Browse Source

Enable compressor as needed. Apply harmonics bandwidth and Gauss mode

tags/v100_p5
xenakios 7 years ago
parent
commit
a3c2a07e5b
2 changed files with 6 additions and 2 deletions
  1. +5
    -1
      Source/PluginProcessor.cpp
  2. +1
    -1
      paulstretchplugin.jucer

+ 5
- 1
Source/PluginProcessor.cpp View File

@@ -83,6 +83,7 @@ PaulstretchpluginAudioProcessor::PaulstretchpluginAudioProcessor()
m_ppar.pitch_shift.enabled = true;
m_ppar.freq_shift.enabled = true;
m_ppar.filter.enabled = true;
m_ppar.compressor.enabled = true;
m_stretch_source->setOnsetDetection(0.0);
m_stretch_source->setLoopingEnabled(true);
m_stretch_source->setFFTWindowingType(1);
@@ -341,10 +342,13 @@ void PaulstretchpluginAudioProcessor::processBlock (AudioSampleBuffer& buffer, M
m_ppar.freq_shift.Hz = *getFloatParameter(cpi_frequencyshift);
m_ppar.spread.enabled = *getFloatParameter(cpi_spreadamount) > 0.0f;
m_ppar.spread.bandwidth = *getFloatParameter(cpi_spreadamount);
m_ppar.compressor.power = *getFloatParameter(cpi_compress);
m_ppar.compressor.enabled = *getFloatParameter(cpi_compress)>0.0f;
m_ppar.compressor.power = *getFloatParameter(cpi_compress);
m_ppar.harmonics.enabled = *getFloatParameter(cpi_numharmonics)>=1.0;
m_ppar.harmonics.nharmonics = *getFloatParameter(cpi_numharmonics);
m_ppar.harmonics.freq = *getFloatParameter(cpi_harmonicsfreq);
m_ppar.harmonics.bandwidth = *getFloatParameter(cpi_harmonicsbw);
m_ppar.harmonics.gauss = getParameter(cpi_harmonicsgauss);
m_ppar.octave.om2 = *getFloatParameter(cpi_octavesm2);
m_ppar.octave.om1 = *getFloatParameter(cpi_octavesm1);
m_ppar.octave.o0 = *getFloatParameter(cpi_octaves0);


+ 1
- 1
paulstretchplugin.jucer View File

@@ -59,7 +59,7 @@
linkTimeOptimisation="0" targetName="paulstretchplugin" headerPath="Source/PS_Source
Source/WDL
"
osxCompatibility="10.9 SDK" osxArchitecture="64BitIntel" cppLibType="libc++"
libraryPath="/usr/local/Cellar/fftw/3.3.6-pl2/lib" defines="JUCE_NO_DEPRECATION_WARNINGS"
auBinaryLocation="/Library/Audio/Plug-Ins/Components"/>
auBinaryLocation="$(HOME)/Library/Audio/Plug-Ins/Components"/>
</CONFIGURATIONS>
<MODULEPATHS>
<MODULEPATH id="juce_core" path="../JUCE/modules"/>


Loading…
Cancel
Save