1
0

samples: melody.c: add a FIXME

This commit is contained in:
Intel A80486DX2-66 2024-09-23 01:15:31 +03:00
parent 7e2347d8e7
commit 301ad4292b
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -1,5 +1,7 @@
// RENDER PARAMETERS: sample_rate = 44100, no_return
// FIXME: The sound disappears after a few cycles
static const long double array[] = {1, 1.25, 1.5, 2};
long double v = array[3 & (t >> 13)];
return (long double) t * v / 3.1415926535;