Skip to content

Instantly share code, notes, and snippets.

View Neurogami's full-sized avatar

Neurogami Neurogami

View GitHub Profile
@laserbat
laserbat / flow3.c
Last active February 29, 2020 04:24
pulses (2) / flow (3)
// 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.