From 8ca166a662b0cedd5855f412848252181cf82dce Mon Sep 17 00:00:00 2001 From: Gordon JC Pearce Date: Thu, 8 Jan 2026 15:27:14 +0000 Subject: [PATCH 1/2] fix level --- plugin/chorus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/chorus.cpp b/plugin/chorus.cpp index d181c6c..e3511e7 100644 --- a/plugin/chorus.cpp +++ b/plugin/chorus.cpp @@ -140,7 +140,7 @@ void Chorus::setHpf(uint8_t mode) { break; case 0x18: hpCut = 1 - exp(-6.283 * 85 / sampleRate); - hpGain = 1.707; + hpGain = 1.0; break; } } From e3c54e3ef19e1b0e784ef553f60aaf93dbe61e3f Mon Sep 17 00:00:00 2001 From: Gordon JC Pearce Date: Thu, 8 Jan 2026 15:29:10 +0000 Subject: [PATCH 2/2] noise level --- plugin/module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/module.cpp b/plugin/module.cpp index c174ec9..17d7c88 100644 --- a/plugin/module.cpp +++ b/plugin/module.cpp @@ -46,7 +46,7 @@ void Module::genNoise() { for (uint32_t i = 0; i < bufferSize; i++) { noiseRNG *= 0x8088405; noiseRNG++; - noiseBuf[i] = 2 - (noiseRNG & 0xffff) / 16384.0f; + noiseBuf[i] = 1 - (noiseRNG & 0xffff) / 32768.0f; } }