Idea · Jun 24, 2026
Execution Sound Map
A tool that converts Python or JavaScript execution traces into generative music — loops pulse rhythmically, recursion stacks harmonics, errors buzz — making program behavior audible and memorable for any learner.
What it would do
A learning tool that turns Python or JavaScript execution traces into generative music: loops pulse at their iteration frequency, function calls ring distinct tones, recursion stacks harmonics on top of each other, and errors buzz a harsh chord. Students write code they can literally hear running, developing an auditory intuition for control flow and performance. The tool is also a genuine accessibility aid for visually impaired CS learners.
Key features
- Execution tracer that captures loop iterations, function calls, variable mutations, and exceptions
- Configurable sound palette: each construct type maps to a MIDI instrument and pitch range
- Side-by-side view: code on the left, a live piano-roll visualization on the right as it executes
- Compose mode: students write code with the goal of producing a specific musical phrase, reinforcing structured programming