F-03

Chip Music

A four-channel chip band synthesized in the browser: two pulse leads with duty cycle, a stepped triangle bass and a noise drum kit, playing pattern data as seamless loops. Jingles pause the loop and bring it back on the beat. The scene below drives the music from its game state; every note you hear is drawn in the piano roll.

LOOP
-
-
1bar
1beat
120bpm
 

The game picks the music

Jukebox mode: you pick the tracks on the right, the scene waits.
The scene calls play(track) every step from its state (title, field, battle) and jingle() once at each event (slime defeated, chest opened). A switch waits for the next beat; after a jingle the field loop resumes on a beat, not from its start.