8 lines
249 B
C
8 lines
249 B
C
// RENDER PARAMETERS: sample_rate = 44100, custom_return_code
|
|
|
|
// 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;
|