noise level

This commit is contained in:
Gordon JC Pearce 2026-01-08 15:29:10 +00:00
parent 8ca166a662
commit e3c54e3ef1
1 changed files with 1 additions and 1 deletions

View File

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