1
0
mirror of https://github.com/sjlongland/atinysynth.git synced 2025-09-27 02:43:29 +10:00

attiny861: Bump amplitude up.

Since the number of notes possible with this device is small… in fact,
it seems to only want to do monophonics, not sure why, we can bump the
amplitude up a bit more without risk of saturation.
This commit is contained in:
Stuart Longland 2017-05-28 11:08:18 +10:00
parent cf587e3fd8
commit f982e0c31f
Signed by: stuartl
GPG Key ID: F954BBBB7948D546

View File

@ -141,7 +141,7 @@ static void trigger_button(uint8_t b) {
adsr_config(&voice->adsr,
100, 0, 10, 10,
ADSR_INFINITE, 10, 255, 192);
voice_wf_set_triangle(&voice->wf, freq, 63);
voice_wf_set_triangle(&voice->wf, freq, 127);
synth.enable |= vm;
}