more reasonable amplitude
This commit is contained in:
parent
e094a4011b
commit
39f0c79484
@ -66,6 +66,6 @@ void Voice::run(float *buffer, uint32_t samples) {
|
|||||||
y = (2*phase)-1;
|
y = (2*phase)-1;
|
||||||
y-=blep(phase,omega);
|
y-=blep(phase,omega);
|
||||||
|
|
||||||
buffer[i] += 0.5*y * env;
|
buffer[i] += 0.25*y * env;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user