Enable compressor as needed. Apply harmonics bandwidth and Gauss mode
This commit is contained in:
parent
76880a8d5f
commit
a3c2a07e5b
@ -83,6 +83,7 @@ PaulstretchpluginAudioProcessor::PaulstretchpluginAudioProcessor()
|
|||||||
m_ppar.pitch_shift.enabled = true;
|
m_ppar.pitch_shift.enabled = true;
|
||||||
m_ppar.freq_shift.enabled = true;
|
m_ppar.freq_shift.enabled = true;
|
||||||
m_ppar.filter.enabled = true;
|
m_ppar.filter.enabled = true;
|
||||||
|
m_ppar.compressor.enabled = true;
|
||||||
m_stretch_source->setOnsetDetection(0.0);
|
m_stretch_source->setOnsetDetection(0.0);
|
||||||
m_stretch_source->setLoopingEnabled(true);
|
m_stretch_source->setLoopingEnabled(true);
|
||||||
m_stretch_source->setFFTWindowingType(1);
|
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.freq_shift.Hz = *getFloatParameter(cpi_frequencyshift);
|
||||||
m_ppar.spread.enabled = *getFloatParameter(cpi_spreadamount) > 0.0f;
|
m_ppar.spread.enabled = *getFloatParameter(cpi_spreadamount) > 0.0f;
|
||||||
m_ppar.spread.bandwidth = *getFloatParameter(cpi_spreadamount);
|
m_ppar.spread.bandwidth = *getFloatParameter(cpi_spreadamount);
|
||||||
|
m_ppar.compressor.enabled = *getFloatParameter(cpi_compress)>0.0f;
|
||||||
m_ppar.compressor.power = *getFloatParameter(cpi_compress);
|
m_ppar.compressor.power = *getFloatParameter(cpi_compress);
|
||||||
m_ppar.harmonics.enabled = *getFloatParameter(cpi_numharmonics)>=1.0;
|
m_ppar.harmonics.enabled = *getFloatParameter(cpi_numharmonics)>=1.0;
|
||||||
m_ppar.harmonics.nharmonics = *getFloatParameter(cpi_numharmonics);
|
m_ppar.harmonics.nharmonics = *getFloatParameter(cpi_numharmonics);
|
||||||
m_ppar.harmonics.freq = *getFloatParameter(cpi_harmonicsfreq);
|
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.om2 = *getFloatParameter(cpi_octavesm2);
|
||||||
m_ppar.octave.om1 = *getFloatParameter(cpi_octavesm1);
|
m_ppar.octave.om1 = *getFloatParameter(cpi_octavesm1);
|
||||||
m_ppar.octave.o0 = *getFloatParameter(cpi_octaves0);
|
m_ppar.octave.o0 = *getFloatParameter(cpi_octaves0);
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
linkTimeOptimisation="0" targetName="paulstretchplugin" headerPath="Source/PS_Source Source/WDL "
|
linkTimeOptimisation="0" targetName="paulstretchplugin" headerPath="Source/PS_Source Source/WDL "
|
||||||
osxCompatibility="10.9 SDK" osxArchitecture="64BitIntel" cppLibType="libc++"
|
osxCompatibility="10.9 SDK" osxArchitecture="64BitIntel" cppLibType="libc++"
|
||||||
libraryPath="/usr/local/Cellar/fftw/3.3.6-pl2/lib" defines="JUCE_NO_DEPRECATION_WARNINGS"
|
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>
|
</CONFIGURATIONS>
|
||||||
<MODULEPATHS>
|
<MODULEPATHS>
|
||||||
<MODULEPATH id="juce_core" path="../JUCE/modules"/>
|
<MODULEPATH id="juce_core" path="../JUCE/modules"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user