From 97e79598aa3fbbf7e7b69894964ccb232dfc0347 Mon Sep 17 00:00:00 2001 From: quou Date: Sun, 7 May 2023 18:37:10 +1000 Subject: Add more sound effects. --- sound.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sound.c') diff --git a/sound.c b/sound.c index 611bca9..798e8c2 100644 --- a/sound.c +++ b/sound.c @@ -86,8 +86,7 @@ void sound_mix(unsigned char* stream, int len) { for (i = 0; i < len; i++) { /* stream[i] = sys.t % 50;*/ - stream[i] = 0; - stream[i] = f(sys.t) / 2; + stream[i] = f(sys.t) / 5; for (j = sys.beep_count - 1; j >= 0; j--) { beep = &sys.beeps[j]; stream[i] |= (sys.t % beep->pitch) * 5; -- cgit v1.2.3-54-g00ecf