#include #include #include #include #define PI 3.14159 #define SAMPLE_RATE 44100 #define N_CHANNELS 8 int main() { float sin1[SAMPLE_RATE]; const int f1 = 440; float sin2[SAMPLE_RATE]; const int f2 = 512; for (long i=0; i