Skip to content
Photo of Greg RickabyGreg Rickaby: Alabama-based software engineer, self-taught photographer, and published author.

9 min readCode

Cool Edit Pro in the browser, rebuilt in four days

Over Thanksgiving weekend, I rebuilt Cool Edit Pro 2.1. It runs in a browser tab, with nothing to install and no account to make. It took about four days. Claude did most of the typing, and I mostly typed "keep going."

If you edited audio around 2001, you'll know the gray toolbar and the green waveform on black. Your hands probably still know where Normalize lives. When the app crunches a long selection, the cursor even turns into a Windows XP hourglass. I sent Claude a GIF of the real one until it matched.

The Cool Edit Pro web app in Edit View, with a stereo voice-over waveform open

Why Cool Edit, of all things?

I spent 15 years in radio, and I still haven't fully left. These days I build websites for a living, but I still do voice-overs and production for Bluewater Broadcasting on the side.

Every one of those voice-overs goes through two presets named for 104.9 The Gump. "Rickaby (Gump - FFT)" is an EQ curve that makes me sound like I'm on the phone. "Rickaby (Gump - Comp)" is my tweak on a standard vocal compressor. I made both in Cool Edit Pro back in the day. When it became Adobe Audition, I moved them over. To use them today, I pay for Creative Cloud.

For voice-overs and radio production, Cool Edit Pro was the best tool I ever used. My own licensed copy of Cool Edit Pro 2.1 doesn't run on modern Windows, and I'm on a Mac anyway.

So on the Wednesday night before Thanksgiving (day one), I asked Claude for something small: a web page that records my voice, lets me cut and paste, runs my presets, and exports a 32-bit float WAV. About 30 minutes later I typed this:

could we redesign it (with a custom design system) to look like cool edit pro? I miss this app, I used it back in the 90's and it was the best.

The Full Reverb dialog in the web app, with sliders and a preset list that includes "In the Shower" and "Who Is That?"

Every dialog has its factory presets, too. Yes, "In the Shower" and "Who Is That?" are both still there.

Making it sound the same

Looking like Cool Edit only got me halfway. If my Gump presets sound different in the browser, the app is useless to me.

On day three I got my old copy of Cool Edit Pro 2.1 running under Wine on my Mac, and it became the answer key. Claude could screenshot the real window and put it side by side with its own. I could run a test file through the original and hand over the result. Every effect is tested against that output: same input, same settings, compared sample by sample.

Claude kept saying "make me a test case." I kept saying "OK, I made another one."

Then came the test that mattered to me. My presets live in Audition now, so that's what I compared against. I recorded one raw take and ran it through both Gump presets, once in Audition and once in the browser. Across the whole spectrum, from 20 Hz to 20 kHz, they're within 0.31 dB of each other. Flip one upside down and add them together, and what's left is about 30 dB quieter than my voice.

Hear for yourself. First, the raw take:

Through the Gump presets in Audition:

And through the same presets in the browser:

Why not just run the original in Wine?

Because it's terribly slow.

My Mac has an M1 Max. Cool Edit Pro 2.1 is a Windows program written for Intel chips, back when that meant a Pentium. So every click goes through two translators: Wine turns Windows calls into Mac calls, and Rosetta 2 turns Intel instructions into Apple Silicon ones.

That's fine for an answer key. Claude needed a screenshot or a mixdown now and then, and waiting a bit for one didn't matter. It's not fine for a voice-over session, where I record, trim, preview, and run presets over and over. The browser version skips both translators.

Why TypeScript and not Rust?

Claude's very first version was a Python app. I didn't want that, so I asked "why not typescript?" Four minutes later I asked "what about rust?"

Claude talked me out of Rust. In a browser, Rust means WebAssembly, and WebAssembly would only cover the math. Recording, drawing the waveform, the menus, and saving files would still be TypeScript. That's two languages and two builds to speed up code that was already fast enough.

Later I asked again: "Are we crazy for doing this in Typescript?"

Not according to the tests. Some effects match the reference bit for bit. The Sweeping Phaser passes all 85 of its test cases with zero tolerance.

Speed was the real weak spot. Every effect ran on the page's one thread, so a long reverb froze the app for a few seconds. Moving the effects to a Web Worker, the browser's version of a background thread, fixed that without rewriting them.

TypeScript paid off in two places I didn't expect:

  • Node runs it directly. node --test runs the whole suite with no build step and no test framework to install.
  • The same code runs outside the browser. The MCP server (more on that below) is plain Node, so it uses the exact effect code the web app does.

Browsers can also do a lot more than most people think. (This site makes its own 8-bit sound effects.) The browser-2027 list on GitHub is a fun tour. The app uses a handful of them:

  • File System Access opens a WAV and saves it back in place, like a desktop app.
  • WebCodecs encodes Opus and AAC exports, with no encoder library.
  • Document Picture-in-Picture pops a dialog out into its own always-on-top window.
  • Screen Wake Lock keeps the screen awake while a long effect runs.
  • A service worker keeps the whole app working offline after your first visit.

File System Access and Document Picture-in-Picture only work in Chrome and Edge for now. I tested Safari too, and most things work there. Save As downloads a WAV instead of saving in place, and dialogs don't pop out.

Opus plans, Sonnet builds, Haiku commits

I ran a crew of three Claude models.

  • Opus 5.5 ran the show. It planned each piece, wrote the briefs, reviewed every diff, and checked the result in Chrome.
  • Sonnet 5.5 did the building. Each one got one slice (an effect, a dialog, a menu) in its own copy of the repo, so they didn't trip over each other.
  • Haiku 5.5 wrote the commit messages.

The agents were fast, and I was the bottleneck. Every time one finished, it stopped and asked me what to do next. On day two I typed:

We're spending too much time waiting on me to say "whats next, go"

From then on, Claude finished one effect, started the next, and only stopped for a decision that was mine to make. That evening I added "we should be running so many things at once." Then I went to bed and told it to "churn hard all night."

I woke up to a pile of commits.

Borrowing the Claude Code creator's workflow

Partway through, I asked Claude what it knew about how people at Anthropic work. Boris Cherny, who created Claude Code, shared his setup in a thread on X: plan first, run sessions in parallel, give Claude a way to check its own work, and turn every mistake into a written rule.

The project was already doing most of that, but it skipped plan mode for the big pieces. We wrote the loop into the repo: pick a slice, plan, brief, build, review, check in Chrome, ship, learn. Small slices just go. Anything that touches more than about 15 files waits for my "yes."

5,038 tests

Rule one, from the first night: test-driven development. Write the failing test, then the code.

The suite has 5,038 tests today. Most check that an effect's output matches the reference recorded from Cool Edit. The rest cover the boring things that lose your audio: undo after a cut, a selection that ends on the very last sample, a 24-bit WAV that shouldn't silently turn into 32-bit float on save.

Did the tests catch everything? Ha. No.

One night I added a dynamic Favorites menu, reloaded, and got a blank page:

Uncaught ReferenceError: Cannot access 'favoritesEnabled' before initialization

The waveform drew itself while the page was still being built, and asked about a variable that didn't exist yet. Every test passed, because no test built the whole page. A day later I closed a file and its name stayed in the sidebar. My review comment was four words: "you didn't test this."

Then it grew a Multitrack View

It has 128 tracks, a mixer, track EQ, scripts, batch processing, Frequency Analysis, and a help manual.

The Multitrack View in the web app, with voice-over, effects, and music clips on four tracks and volume envelopes drawn across them

What did all this cost?

I started on the $20 Pro plan. By day two I'd burned through it and upgraded to Max at $100 a month. I still hit the usage limit at 9:40 that night.

I went back through the session logs and added up every token:

  • Opus 5.5: about 9 million tokens generated, and 1.56 billion re-read from cache.
  • Sonnet 5.5: about 3 million tokens generated.
  • Haiku 5.5: a rounding error.
  • Sonnet and Haiku together: about 440 million more re-read from cache.

At API list prices, that's roughly $900, mostly Opus re-reading the project over and over. What I actually paid was $120: one month of Pro and one month of Max.

That bill is partly my fault. I ran a few super long sessions, because every time I cleared one, the coordinator forgot what we'd decided. So I kept going, and every turn re-read all of it.

Clearing early and often is the right habit, as long as the next session can pick up where the last one stopped. Next time, the coordinator writes a progress file after every slice: what's done, what's next, and every decision I made. Then I can clear after each push.

An MCP server I didn't plan

It wasn't in the original plan. Partway through, I tossed out "MCP (or AI) support could be fun too."

MCP (Model Context Protocol) is the standard way to hand an AI assistant new tools. The repo includes an MCP server that lets Claude run the app's own effects on WAV files on your computer. So I can say "run my Gump preset on this voice-over and normalize it to -3 dB," and Claude does it with the same code the web app uses, without opening a browser.

Five rules for a crew of Claude agents

  1. Get out of the way. If every agent waits for your "go," you're the slowest part of the system.
  2. Make Claude prove its work. Have it run the tests and look at the result in a real browser before anything ships.
  3. Keep an answer key. If you're rebuilding something that already exists, record its real output first and test against that.
  4. Save progress to a file. Then you can clear the session after every push and lose nothing.
  5. Watch the meter. Parallel agents burn through usage fast. Pick the plan before you need it.

The code is on GitHub, MIT licensed. Bug reports welcome.

As for those two Gump presets? They run in a browser tab now, so I can finally downgrade my Creative Cloud subscription to the Photography plan.