diff --git a/Source/PluginProcessor.cpp b/Source/PluginProcessor.cpp index 5bab348..ceea94a 100644 --- a/Source/PluginProcessor.cpp +++ b/Source/PluginProcessor.cpp @@ -224,6 +224,15 @@ void PaulstretchpluginAudioProcessor::processBlock (AudioSampleBuffer& buffer, M m_rec_pos = (m_rec_pos + buffer.getNumSamples()) % recbuflenframes; return; } + /* + for (int i=0;igetStretchAudioSource()->val_MainVolume = (float)*getFloatParameter(0); m_control->getStretchAudioSource()->setRate(*getFloatParameter(1)); m_control->getStretchAudioSource()->val_XFadeLen = 0.1; diff --git a/Source/PluginProcessor.h b/Source/PluginProcessor.h index 85f6a90..3042a5a 100644 --- a/Source/PluginProcessor.h +++ b/Source/PluginProcessor.h @@ -79,7 +79,7 @@ private: int m_cur_num_out_chans = 2; std::mutex m_mutex; File m_current_file; - + double m_phase = 0.0; //============================================================================== JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (PaulstretchpluginAudioProcessor) }; diff --git a/paulstretchplugin.jucer b/paulstretchplugin.jucer index 933885a..902ea94 100644 --- a/paulstretchplugin.jucer +++ b/paulstretchplugin.jucer @@ -57,7 +57,7 @@ + osxArchitecture="64BitIntel" osxCompatibility="10.12 SDK"/>