


Case study · 2023–24
Adtwin
Adtwin turns a prompt into a multi-voice audio commercial you can edit in the browser.
The problem
A traditional audio ad costs thousands of dollars and days in a studio, and you get one version. Radio and streaming audiences are not one audience. The ad that works in Texas is not the one that works in California, and nobody re-records for that.
Where it started
Oyi Labs was a seed-stage startup backed by Bloomberg Beta, and I was the designer and the frontend engineer in a pod of three with the CTO. Oyi's first product was a generative audio tool for music producers. It never found its market, and in early 2024 we pivoted to Adtwin. The prompt-to-ad flow was working against production three weeks after the first commit, and we started onboarding prospects a few months after that.
What we built
From a prompt to a finished ad
You describe the product and the audience, pick voices, and get back a script with a line per voice and a generated clip per line. Any line can be marked dynamic: it gets variants by listener location or interest (electric cars in California, trucks in Texas) that are swapped in when the ad is served, so one commercial becomes many without a second session.
A multitrack editor in the browser
This was the hard part. Each script line is its own clip on a timeline, so a client can regenerate one voice take without touching the rest of the spot. The script editor is a ContentEditable surface bound to the clips, so editing text and editing audio are the same action. Trimming and mixing run through the Web Audio API, and ffmpeg joins the takes into one commercial, on the server and in the browser through a WebAssembly build. The music bed and the staggered multi-speaker layout in the screenshots came out of this editor.
The plumbing
A Rails API behind a Next.js app. Onboarding, trial billing with Stripe, and Playwright end-to-end tests for creating and deleting commercials running in CI, which was the test suite's first appearance in the company.
The brand, the deck and the sites
Before the product there was the brand. I designed Oyi's and Adtwin's identity, the brand guidelines and the pitch deck that went into the raise from Bloomberg Beta. Then I built both marketing sites in Next.js: animated hero type, an auto-looping Framer Motion reel of playable sample ads, Intercom and analytics. The Adtwin homepage shipped in two days.