blah
This commit is contained in:
parent
d32d855e64
commit
3c79a097c5
@ -224,6 +224,15 @@ void PaulstretchpluginAudioProcessor::processBlock (AudioSampleBuffer& buffer, M
|
|||||||
m_rec_pos = (m_rec_pos + buffer.getNumSamples()) % recbuflenframes;
|
m_rec_pos = (m_rec_pos + buffer.getNumSamples()) % recbuflenframes;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
|
for (int i=0;i<buffer.getNumSamples();++i)
|
||||||
|
{
|
||||||
|
buffer.setSample(0, i, 0.1*sin(2*3.141592/44100*m_phase*440));
|
||||||
|
buffer.setSample(1, i, 0.1*sin(2*3.141592/44100*m_phase*440));
|
||||||
|
m_phase+=1.0;
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
*/
|
||||||
m_control->getStretchAudioSource()->val_MainVolume = (float)*getFloatParameter(0);
|
m_control->getStretchAudioSource()->val_MainVolume = (float)*getFloatParameter(0);
|
||||||
m_control->getStretchAudioSource()->setRate(*getFloatParameter(1));
|
m_control->getStretchAudioSource()->setRate(*getFloatParameter(1));
|
||||||
m_control->getStretchAudioSource()->val_XFadeLen = 0.1;
|
m_control->getStretchAudioSource()->val_XFadeLen = 0.1;
|
||||||
|
@ -79,7 +79,7 @@ private:
|
|||||||
int m_cur_num_out_chans = 2;
|
int m_cur_num_out_chans = 2;
|
||||||
std::mutex m_mutex;
|
std::mutex m_mutex;
|
||||||
File m_current_file;
|
File m_current_file;
|
||||||
|
double m_phase = 0.0;
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (PaulstretchpluginAudioProcessor)
|
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (PaulstretchpluginAudioProcessor)
|
||||||
};
|
};
|
||||||
|
@ -57,7 +57,7 @@
|
|||||||
<CONFIGURATION name="Debug" enablePluginBinaryCopyStep="1" isDebug="1" optimisation="1"
|
<CONFIGURATION name="Debug" enablePluginBinaryCopyStep="1" isDebug="1" optimisation="1"
|
||||||
linkTimeOptimisation="0" targetName="paulstretchplugin" headerPath="Source/PS_Source Source/WDL "
|
linkTimeOptimisation="0" targetName="paulstretchplugin" headerPath="Source/PS_Source Source/WDL "
|
||||||
libraryPath="/usr/local/Cellar/fftw/3.3.6-pl2/lib" cppLibType="libc++"
|
libraryPath="/usr/local/Cellar/fftw/3.3.6-pl2/lib" cppLibType="libc++"
|
||||||
osxArchitecture="64BitIntel" osxCompatibility="10.9 SDK"/>
|
osxArchitecture="64BitIntel" osxCompatibility="10.12 SDK"/>
|
||||||
<CONFIGURATION name="Release" enablePluginBinaryCopyStep="1" isDebug="0" optimisation="3"
|
<CONFIGURATION name="Release" enablePluginBinaryCopyStep="1" isDebug="0" optimisation="3"
|
||||||
linkTimeOptimisation="1" targetName="paulstretchplugin" headerPath="Source/PS_Source Source/WDL "
|
linkTimeOptimisation="1" targetName="paulstretchplugin" headerPath="Source/PS_Source Source/WDL "
|
||||||
osxCompatibility="10.9 SDK" osxArchitecture="64BitIntel" cppLibType="libc++"
|
osxCompatibility="10.9 SDK" osxArchitecture="64BitIntel" cppLibType="libc++"
|
||||||
|
Loading…
Reference in New Issue
Block a user