Grok Bot Builds Game Boy-Style Music System for Browser Game

A developer with no music production experience used Grok Bot to create a video explaining a browser game's music system. The system synthesizes Game Boy-style audio live in an AudioWorklet, with hand-written step-sequenced melodies at 128 BPM and a two-deck DJ mixer that crossfades and layers stems between songs.
Event version 1.
Key insights
Vocabulary gap bridged with AI skills
The developer lacked music vocabulary and told Grok Bot so directly. The /sharpen skill deepened the requirement, and /in-your-own-words had the agent restate the goal to confirm mutual understanding.
Live synthesis in AudioWorklet
Music is synthesized live in a browser AudioWorklet using a Game Boy-style synth with two pulse voices, a 4-bit wave voice, a noise voice and two sound-effect voices over a stereo synthwave bed. The main thread turns game events into music cues and posts them to the worklet.
Hand-written sequences, not runtime generation
Melodies are written by hand as step-sequenced pattern lines played in an order list. Every song runs at 128 BPM, and biome songs and the first boss song are versions of one main theme. Nothing generates or transposes notes at runtime.
Two-deck DJ mixing rules
Music plays on two decks. A plain song change is a two-bar crossfade starting on a bar line. During a run, a DJ holds each song for at least sixteen bars, starts mixes only on an eight-bar phrase, and overlaps decks for four bars while stems trade decks.
Mix types by song similarity
Two versions of the same theme blend by layering both songs' lead, arp and pad while bass and counter swap. Songs sharing a bar grid duet with both leads playing across the overlap. Other pairs get a melody mix keeping the outgoing lead over incoming backing.