Fixes for Tal Reverb 3 paramteres

pull/764/head
jnonis 7 months ago
parent 002c2b985c
commit 509155573c
  1. 6
      src/effect_chorus.cpp
  2. 6
      src/effect_chorus.h
  3. 14
      src/effect_talreverb3.cpp
  4. 6
      src/effect_talreverb3.h
  5. 4
      src/uimenu.cpp

@ -1,3 +1,9 @@
/*
* YK Chorus Port
* Ported from https://github.com/SpotlightKid/ykchorus
*
* Javier Nonis (https://github.com/jnonis) - 2024
*/
#include <circle/logger.h>
#include "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

@ -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 <circle/logger.h>
#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;

@ -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

@ -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

Loading…
Cancel
Save