Pink noise

This commit is contained in:
Roland Rabien 2023-08-31 19:19:28 -07:00
commit 95aac485c7
6 changed files with 20 additions and 5 deletions

View file

@ -243,7 +243,7 @@ void WavetableVoice::updateParams (int blockSize)
if (proc.noiseParams.enable->isOn())
{
noiseParams.wave = gin::Wave::noise;
noiseParams.wave = gin::Wave::whiteNoise;
noiseParams.leftGain = getValue (proc.noiseParams.level) * (1.0f - getValue (proc.noiseParams.pan));
noiseParams.rightGain = getValue (proc.noiseParams.level) * (1.0f + getValue (proc.noiseParams.pan));