GERLA.CC

← Devlog

· HTML5

Chiptune in WebAudio: a soundtrack with no files

No mp3s, no assets: all of FIDATI.'s music is synthesized in real time with WebAudio. Square and triangle waves for the voices, filtered noise for percussion, a forty-line sequencer reading patterns written as strings. Each world has its theme: Geometric Space is almost cheerful (it's the tutorial, it has to fool you), Mars is in a minor key, Inferno is a bassline rising a semitone every bar, like the lava. The practical win: the game stays a single HTML file under 50KB. What WebAudio gave me in simplicity, the SID is now making me pay back with interest. But that's another story, further up this devlog.

All of the devlog