# Tasks Work in order. Finish a task's check before starting the next. 1. **Set up.** Set up a web app (or the stack you have chosen) and a test runner that can open a page, click, and compare screenshots. Read `spekkr.inputs.json` first. Check: a blank or heading page loads, and an empty test run passes. 2. **Offline render and envelopes (R1).** Build what `R1. Offline render and envelopes` asks for, to the numbers in `design.md`. In particular: A patch file lists modules, parameters, and cables. The engine renders it to a mono or stereo buffer at `sample_rate`, with no AudioContext hardware output required. Check: the `R1. Offline render and envelopes` acceptance checks pass. 3. **Notes (R2).** Build what `R2. Notes` asks for, to the numbers in `design.md`. In particular: A note-on at t = 0.5 s, mid-C, velocity 100, on the starting `voice` rack, starts a tone whose onset (first sample above -40 dBFS) is within 5 ms of 0.5 s. Check: the `R2. Notes` acceptance checks pass. 4. **Frames and files (R3).** Build what `R3. Frames and files` asks for, to the numbers in `design.md`. In particular: Goldens of the rack, a patched bay, a scope after patch A, and the keyboard. Check: the `R3. Frames and files` acceptance checks pass. 5. **Inputs (R4).** Build what `R4. Inputs` asks for, to the numbers in `design.md`. In particular: The build reads `spekkr.inputs.json`. Settings label the UI, options turn features on or off, and a swap must be one of its choices. Check: the `R4. Inputs` acceptance checks pass. 6. **Goldens.** Capture the frames named in `design.md` at the defaults, with motion frozen where the file says so. Compare them within the stated tolerance. Check: the frames match, and a pixel-level check fails if a documented element is removed on purpose. 7. **Finish.** Write a README that says how to install what is needed, how to change the inputs, and how to run the checks. Run the one command from a clean folder. Check: every item under Definition of done in `spec.md` is true.