finally good audio
This commit is contained in:
@@ -63,7 +63,7 @@ void Synth::process(float* out, size_t nFrames) {
|
||||
mix += voices_[j].process(temp);
|
||||
if(j == lowestVoice) triggered = temp;
|
||||
}
|
||||
mix = tanh(mix/4.0f); // prevent clipping
|
||||
mix = tanh(mix); // prevent clipping
|
||||
|
||||
sampleOut = filter_.biquadProcess(mix);
|
||||
out[2*i] = sampleOut;
|
||||
|
||||
Reference in New Issue
Block a user