diff --git a/src/effect_chorus.cpp b/src/effect_chorus.cpp index fd670b8..aa6f13f 100644 --- a/src/effect_chorus.cpp +++ b/src/effect_chorus.cpp @@ -1,3 +1,9 @@ +/* + * YK Chorus Port + * Ported from https://github.com/SpotlightKid/ykchorus + * + * Javier Nonis (https://github.com/jnonis) - 2024 + */ #include #include "effect_chorus.h" diff --git a/src/effect_chorus.h b/src/effect_chorus.h index 371efd0..e29b9d8 100644 --- a/src/effect_chorus.h +++ b/src/effect_chorus.h @@ -1,3 +1,9 @@ +/* + * YK Chorus Port + * Ported from https://github.com/SpotlightKid/ykchorus + * + * Javier Nonis (https://github.com/jnonis) - 2024 + */ #ifndef _EFFECT_CHORUS_H #define _EFFECT_CHORUS_H diff --git a/src/effect_talreverb3.cpp b/src/effect_talreverb3.cpp index 846f14d..49c25ac 100644 --- a/src/effect_talreverb3.cpp +++ b/src/effect_talreverb3.cpp @@ -1,3 +1,9 @@ +/* + * Tal Reverb 3 Port + * Ported from https://github.com/DISTRHO/DISTRHO-Ports/tree/master/ports-juce5/tal-reverb-3 + * + * Javier Nonis (https://github.com/jnonis) - 2024 + */ #include #include "effect_talreverb3.h" @@ -15,8 +21,8 @@ AudioEffectTalReverb3::AudioEffectTalReverb3(float32_t samplerate) : AudioEffect this->setParameter(AudioEffectTalReverb3::Param::LOWSHELFGAIN, 89); this->setParameter(AudioEffectTalReverb3::Param::HIGHSHELFGAIN, 33); this->setParameter(AudioEffectTalReverb3::Param::STEREO, 100); - this->setParameter(AudioEffectTalReverb3::Param::REALSTEREOMODE, 100); - this->setParameter(AudioEffectTalReverb3::Param::POWER, 100); + this->setParameter(AudioEffectTalReverb3::Param::REALSTEREOMODE, 1); + this->setParameter(AudioEffectTalReverb3::Param::POWER, 1); } AudioEffectTalReverb3::~AudioEffectTalReverb3() @@ -55,10 +61,10 @@ void AudioEffectTalReverb3::setParameter(unsigned param, unsigned value) this->engine->setStereoWidth((float) value / 100.0f); break; case AudioEffectTalReverb3::Param::REALSTEREOMODE: - this->engine->setStereoMode((float) value / 100.0f); + this->engine->setStereoMode((float) value); break; case AudioEffectTalReverb3::Param::POWER: - this->engine->setPower((float) value / 100.0f); + this->engine->setPower((float) value); break; default: break; diff --git a/src/effect_talreverb3.h b/src/effect_talreverb3.h index 8399d3c..63f7799 100644 --- a/src/effect_talreverb3.h +++ b/src/effect_talreverb3.h @@ -1,3 +1,9 @@ +/* + * Tal Reverb 3 Port + * Ported from https://github.com/DISTRHO/DISTRHO-Ports/tree/master/ports-juce5/tal-reverb-3 + * + * Javier Nonis (https://github.com/jnonis) - 2024 + */ #ifndef _EFFECT_TALREVERB3_H #define _EFFECT_TALREVERB3_H diff --git a/src/uimenu.cpp b/src/uimenu.cpp index 3276e99..8e11d78 100644 --- a/src/uimenu.cpp +++ b/src/uimenu.cpp @@ -393,8 +393,8 @@ const CUIMenu::TParameter CUIMenu::s_TGFXTalReverb3Param[AudioEffectTalReverb3:: {0, 100, 1}, // LOWSHELFGAIN {0, 100, 1}, // HIGHSHELFGAIN {0, 100, 1}, // STEREO - {0, 100, 1}, // REALSTEREOMODE - {0, 100, 1} // POWER + {0, 1, 1, ToOnOff}, // REALSTEREOMODE + {0, 1, 1, ToOnOff} // POWER }; // must match DexedVoiceParameters in Synth_Dexed