diff --git a/Source/PS_Source/ProcessedStretch.h b/Source/PS_Source/ProcessedStretch.h index f15736d..0a91167 100644 --- a/Source/PS_Source/ProcessedStretch.h +++ b/Source/PS_Source/ProcessedStretch.h @@ -19,7 +19,6 @@ #pragma once -//#include "FreeEdit.h" #include "Stretch.h" #include "../jcdp_envelope.h" @@ -426,7 +425,7 @@ inline void spectrum_do_free_filter(shared_envelope& env, int nfreq, double samp if (binhz >= 30.0) { double norm = 0.150542*log(0.0333333*binhz); - double db = jmap(env->getTransformedValue(norm), 0.0, 1.0, -36.0, 12.0); + double db = jmap(env->getTransformedValue(norm), 0.0, 1.0, -48.0, 12.0); freq2[i] = freq1[i] * Decibels::decibelsToGain(db); } else diff --git a/Source/PluginEditor.cpp b/Source/PluginEditor.cpp index 81d74b3..df37cf4 100644 --- a/Source/PluginEditor.cpp +++ b/Source/PluginEditor.cpp @@ -41,7 +41,7 @@ PaulstretchpluginAudioProcessorEditor::PaulstretchpluginAudioProcessorEditor(Pau }; m_free_filter_component.ValueFromNormalized = [this](double x) { - return jmap(x, 0.0, 1.0, -36.0, 12.0); + return jmap(x, 0.0, 1.0, -48.0, 12.0); }; m_wavefilter_tab.setTabBarDepth(20);