|
|
|
|
|
by exDM69
4396 days ago
|
|
Writing sound/music-generating applications is one of the most fun things you can do with your computer! Here's a simple synth I wrote some years ago.
https://github.com/rikusalminen/jamtoysynth/blob/master/src/... It was originally intended for a 4k intro (ie. demoscene) which I never finished. The synth was written in x86 assembler using 16.16 fixed point algebra because the instruction encoding for grabbing the lower 16 bit part (AX) of a 32 bit register (EAX) uses very short instruction encoding. The old assembler synth was under 1k in size, uncompressed. This version is written with floats and is written in easy-to-read C code, but it's essentially the same logic. I also enjoy using the keyboard as a piano-like control device, like tracker software back in the day. Here's an excellent example of playing music using the qwerty keyboard:
https://www.youtube.com/watch?v=3JQkW6BgUYU |
|
he was right. I had a delay bug.