#include #include "ritmo.h" char score[] = "~ . " "~ " "~. ." "~ . "; int main(int argc, char **argv) { int t = 0; //init_wavetable(); /* note(0, 32, 255); */ /* note(1, 64, 255); */ /* note(2, 192, 255); */ /* note(3, 256, 255); */ for (;;) { t++; if ((t & 1024) == 0) { char c = score[t / 1024 & 15]; if (c != ' ') note(0, 256, c); } printf("%c", next_sample()); } }