Compare commits
No commits in common. "38ddbf91b1c8f54cd20bb10d1a38add15ad5d047" and "7d60cac40738992a8f4577665f60db36a2c75212" have entirely different histories.
38ddbf91b1
...
7d60cac407
|
|
@ -139,8 +139,8 @@ void Chorus::setHpf(uint8_t mode) {
|
|||
hpGain = 0;
|
||||
break;
|
||||
case 0x18:
|
||||
hpCut = 1 - exp(-6.283 * 85 / sampleRate);
|
||||
hpGain = 1.0;
|
||||
hpCut = 1 - exp(-M_PI * 85 / sampleRate);
|
||||
hpGain = 1.707;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ void Module::genNoise() {
|
|||
for (uint32_t i = 0; i < bufferSize; i++) {
|
||||
noiseRNG *= 0x8088405;
|
||||
noiseRNG++;
|
||||
noiseBuf[i] = 1 - (noiseRNG & 0xffff) / 32768.0f;
|
||||
noiseBuf[i] = 2 - (noiseRNG & 0xffff) / 16384.0f;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue