mirror of
https://codeberg.org/armin/wavetable.git
synced 2026-09-01 05:50:46 +02:00
Pink noise
This commit is contained in:
parent
bc20b38624
commit
95aac485c7
6 changed files with 20 additions and 5 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue