This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This file produces 44100 Hz, 2 channel, unsigned 8 bit raw PCM | |
// If you're on linux you can play it using aplay: | |
// $ ./flow3 | aplay -r44100 -c2 | |
#include <stdio.h> | |
#include <stdint.h> | |
// I highly recommend playing with these constants as different values | |
// produces different timbres and different musical development. |