antialiased saw

This commit is contained in:
Gordon JC Pearce 2024-09-03 15:33:48 +01:00
parent d2c6657594
commit e094a4011b

View File

@ -66,6 +66,6 @@ void Voice::run(float *buffer, uint32_t samples) {
y = (2*phase)-1;
y-=blep(phase,omega);
buffer[i] += y * env;
buffer[i] += 0.5*y * env;
}
}