Idea · Oct 5, 2026

Build Your Own Multitrack Audio Editor

Students build a browser-based, non-destructive multitrack audio editor: waveform rendering, clip edit lists, undo/redo, a mixer with gain and pan, and WAV export.

What it would do

Inspired by Audionaut, an open-source cross-platform multitrack editor that hit the Hacker News front page, this multi-week assignment uses audio as a vehicle for core data structures and systems ideas. Milestone 1 decodes files with the Web Audio API and draws zoomable waveforms using precomputed min/max peak pyramids (a lesson in multi-resolution summaries). Milestone 2 adds non-destructive editing: each track is an edit list of clips pointing into immutable buffers, the audio analog of a piece table, so cut, split, trim and move never copy samples. Milestone 3 implements undo/redo with the command pattern and a playhead scheduler that stays sample-accurate across clip boundaries. Milestone 4 adds a mixer (gain, pan, mute, solo, simple fades) and offline rendering to a WAV file the students encode by hand from the RIFF header up. A grading harness feeds scripted edit sequences and compares rendered output against reference renders sample by sample, so correctness is objective.

Key features

  • Peak-pyramid waveform rendering that stays smooth from full song to single samples
  • Edit-list clips over immutable buffers (a piece table for audio) with split, trim and move
  • Command-pattern undo/redo and a sample-accurate playback scheduler
  • Mixer with gain, pan, mute/solo and crossfades, plus offline render to hand-encoded WAV
  • Autograder that replays edit scripts and diffs rendered samples against a reference

More in Music & Audio

Voice Journal with AI Weekly Synthesis

A progressive web app where users record 30-90 second daily audio notes. At week's end Claude synthesizes recurring themes, mood patterns, and standout moments into a personal narrative digest.

Music & AudioSide projectSmallSep 9, 2026

Dev Flow Soundtrack

A browser extension and dashboard that monitors your coding activity (git commits, tab switches, idle gaps) and curates a Spotify playlist matching your detected coding state. Detects focus, debug, and exploration modes to switch between playlist moods automatically.

Music & AudioSide projectSmallAug 19, 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.

Music & AudioClass assignmentLargeJun 24, 2026

AI Podcast Studio

Students build an app that turns any CS topic into a scripted two-voice podcast dialogue, synthesizes it with TTS, and delivers a downloadable MP3.

Music & AudioClass assignmentLargeJun 16, 2026

All 9 ideas in Music & Audio →