READER EDITION / ISSUE 001 / Revised 2026-11-15
Creative Agentic Computing
CodeFarmer / Issue 001
PROMPT WORKSHOP / POCKET SEQUENCER / READ

Words set
the clock and the shape.

One loop needs timed sounds and a matching visible step. A scheduler is code that arranges when notes will play. The audio clock measures playback time; the highlight should follow it rather than the browser’s irregular screen redraws.

Prompt clause
Each step is an eighth note.

BPM counts quarter-note beats per minute. Two eighth notes fit each beat, so one step lasts 30/BPM seconds. At 120 BPM that is 0.25 seconds; the eight-step loop lasts two seconds.

Prompt clause
Schedule ahead using the audio clock

Send each note and its future play time to the audio system slightly before it is due. Move the visible highlight when that time arrives. This connects what you hear to the column you see.

Prompt clause
four arrays of eight booleans

An array is a list; a boolean is true or false. Four lists of eight on/off values store the four note rows. A validator checks every value and row length before restoring a saved pattern.