129249
hmm pretty cool song I'm actually writing this as the compiled program does the music stuff!
edit: the output has some crackles in the sound
edit: the output has some crackles in the sound
Cute piece of music if I do say so myself, have fun reading the code.
Compliling:
It's written in C, simply: gcc whateveritscalled.c -o whateveryouwantthebinarytobe -lm
you gotta include the math library. The -lm is important!
The data is sent to stdout for redirection wherever you want be that aplay or to a file or even to LAME (ooh)
Sample rate: 44100hz
Channels: 2
Format: S16 little endian
Link to score (yes I wrote a score): https://cdn.discordapp.com/attachments/427411388269461504/770534595115483146/Sonata-Allegro.pdf
For tuning nerds:
It's in 5-limit just intonation and I can control that with my tool very very easily :)