1
0

8 lines
249 B
C
Raw Normal View History

// RENDER PARAMETERS: sample_rate = 44100, custom_return_code
2024-05-27 08:07:42 +03:00
2024-09-23 01:15:31 +03:00
// FIXME: The sound disappears after a few cycles
static const long double array[] = {1, 1.25, 1.5, 2};
2024-05-27 08:07:42 +03:00
long double v = array[3 & (t >> 13)];
return (long double) t * v / 3.1415926535;