Ok, one last engine release...
Day 7: nanobeep
- 2 channels of PFM sound
- ~3 octaves range
- 8-bit frequency resolution
- 1 interrupting click drum
- player size 86 bytes
example tune
download (includes XM converter, surprise surprise)
source
Not the most useful engine on the planet, but hey, I had to fill up the 7 days of the week somehow This is my attempt at making an engine with a size below 100 bytes. As the counters are 8-bit, there are of course detuning issues, but unlike with Huby, they occur at both ends of the note range. Notes from the middle of the first octave onwards to mid-4th should be reasonably stable though. Also, a few bass notes (C, D, G) are safe to use.
The keyhandler doesn't check the whole keyboard (only Space,A,Q, and 1), if you find this to be unacceptable it'll cost you 2 additional bytes to fix that.
And thus ends the "7 days, 7 engines" project. Thanks everybody for checking it out