1
0
C-bytebeat-render/samples/melody.c

6 lines
189 B
C

// RENDER PARAMETERS: sample_rate = 44100, no_return
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;