Page 1 of 1

The Save Song

Posted: Mon Apr 05, 2021 6:52 pm
by pgimeno
I don't know if I'm the first one who has done this. I'd like to think so.

:D
 

Re: The Save Song

Posted: Sun Apr 18, 2021 11:42 am
by pgimeno
I've received some PMs about how it was made. I wrote a love2d program to investigate how different bit patterns sounded. As I was finding suitable ones, I hardcoded them into the program. Then I wrote a Lua program to generate the song out of a score using these bit patterns.

Run with:
love savepatterns.zip
unzip gen.zip and run: lua gen.lua output.bin

Re: The Save Song

Posted: Mon Apr 19, 2021 12:34 am
by ash2fpga
Neat! I had not heard of love2d. I am a big fan of lua since I started using it a few years ago.