From 3c79a097c5d4bacc3c5518b232b42e6dbc49ed74 Mon Sep 17 00:00:00 2001 From: xenakios Date: Thu, 16 Nov 2017 00:53:44 +0200 Subject: [PATCH] blah --- Source/PluginProcessor.cpp | 9 +++++++++ Source/PluginProcessor.h | 2 +- paulstretchplugin.jucer | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) 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"/>