R27 · Tembr · local voice cloning
2D vector motion design
A film for a local voice cloning studio, drawn entirely in SVG: ninety seconds of voice as a racing ribbon, a window that keeps the strongest ten, a clone that locks on inside your machine while a cloud never reaches it, a typed line that melts letter by letter into the cloned voice speaking it, and one ribbon branching to a wall of named player pages.
32.0s · 1920×1080 · 30fps
A second film for Tembr, a voice cloning studio that runs on your own machine, drawn entirely in 2D vector motion. Ninety seconds of voice race past as a ribbon; a window keeps the strongest ten and the rest peels away; the clone locks on inside your machine while a cloud never reaches it; a typed line melts, letter by letter, into the ribbon of the cloned voice speaking it; and one ribbon branches to a wall of named player pages.
An original score composed in code at 96 bpm, from D minor to F major: a low drone and a breath, tape clicks that speed up as the take races past, a ratchet while the window weighs it and a bell as it locks, two tones that glide into one as the clone locks on, wind for the cloud, a pluck for every branch and page, and a chime for every repaired note. One line is spoken by João's cloned voice: "I am his voice, cloned by Tembr, running on his own machine." The words also appear on screen.
scene breakdown · select a scene to play
The prompt
The brief I gave Claude Code, with the HyperFrames skills installed, to start this film. Approvals and fixes came after, but this is where it began.
Make a 32-second 1920x1080 film in HyperFrames for Tembr, a voice cloning studio that runs on your own machine,
whose line is "Your voice, everywhere you can't be." 2D vector motion design only: one SVG stage and GSAP, no canvas,
no WebGL. Flat dark ember: ground #131110, surface #1c1916, text #f2ead9, amber #f3a530, and ember #d1622b only on sound
that is playing. Archivo 800, Instrument Sans and IBM Plex Mono. A voice is a ribbon: a filled path whose width at
each point is its loudness.
Record: an amber hairline breathes, then ninety seconds of voice race past as a ribbon behind a record head, with a
timer to 01:30.
Keep: pull back over the whole take; a window weighs it, locks on the strongest ten seconds, and the rest drains to
grey and peels away in curls.
Your machine: a frame draws on around the ten seconds; the clone slides up as an outline and locks on; a cloud drifts
in, stops short and erases itself. 0 CLOUD CALLS · 0 API KEYS.
It speaks: the line types itself as glyph outlines, the cloned voice speaks it, and each letter melts into its slice of
a ribbon shaped by that word's real loudness.
Everywhere: "Hi {name}," flicks through sample names; the voice flows into one lead's player page; the camera pulls
out to a wall of pages and one ribbon branches to all of them; a scan flags LONG PAUSE, REPEATED WORD and MANGLED
ENDING, and each page redraws clean.
Title: everything pulls back into one bar, then the official lockup, flat, the line and the URL. Never redraw or
recolour the mark. Score: compose it in code from the same table, 96 bpm, D minor to F major.Remix it
Swap the parts in braces and paste it in. Some starting points:
- A podcast editor: an hour of talk as a ribbon, the best clip kept, captions melting into the waveform, and one clip branching to every channel.
- A heart monitor app: a night of readings, the one stretch that matters, kept on the device, and a summary sent to each doctor.
- A music sampler: a long jam, the best four bars found, a loop locked on, and the loop branching out to every track.
- A translation tool: one sentence spoken, its words melting into sound, and the same voice branching into every language.
Make a {duration}-second {width}x{height} film in HyperFrames for {subject}, in 2D vector motion design only (one SVG
stage and GSAP), flat {palette}, where {the_signal} is a filled ribbon whose width is its strength. {the_raw_input}
races past; a window keeps {the_best_part} and the rest peels away; {the_safe_place} draws on around it while
{the_threat} stops short; {the_words} melt, letter by letter, into the ribbon; and one ribbon branches to a wall of
{the_destinations}, with {the_check} flagging and redrawing a few. Then the flat lockup with {line} and {url}. One baked
table drives the ribbons, the letters, the branches and a score composed in code.Ingredients
- stack
- HyperFramesSVGGSAPPython (table, glyphs, score)
- length
- 32 s · 1920×1080 · 30 fps
- stage
- One SVG, a camera that is one root group (translate and scale), a world under it and a screen layer above it for labels and the title
- ribbons
- A filled path from a centreline and a half-width at each point, the half-width read from a loudness envelope
- glyphs
- The spoken line baked to outlines with fontTools; each letter's outer contour resampled to 96 points and morphed into its slice of the ribbon
- branching
- One ribbon to three, to twelve, to every page, each branch a curve drawn on by its dash offset, the pages sorted by angle around the first
- timing
- The take, the strongest window, the word times, the letters, the pages, the branches and the flags listed in one baked table on a 96 bpm grid
- palette
- #131110 ground · #1c1916 surface · #f2ead9 text · #f3a530 amber · #d1622b ember (live sound only) · #7d9a5e ok chips
- type
- Archivo 800 · Instrument Sans · IBM Plex Mono
- sound
- 96 bpm, D minor to F major: tape clicks that speed up with the take, a ratchet and a bell for the window, two tones gliding into one for the clone, a pluck per branch, a chime per repair, and one line in the cloned voice
how it's built
01 · 00:02
A take that writes itself
Ninety seconds of loudness, 1,800 samples, cut into one-second ribbon chunks and revealed by a clip rectangle that follows the record head; chunks near the head are ember, the rest amber.
02 · 00:07
The strongest ten seconds
Python finds the ten-second window with the highest mean loudness. On screen the window sweeps the take with a meter showing its own mean, then locks where the table says.
03 · 00:08
Peeled away
Each chunk outside the window is its own path, so it can drain to grey, then rotate, shrink and fall about its own centre, staggered by its distance from the window.
04 · 00:11
The clone locks on
The same ribbon, drawn as an outline, slides up and locks over the voice with a flash; in the score, two slightly detuned tones glide into one at the same moment.
05 · 00:16
Letters into sound
Each letter types in as its real glyph outline. When its word is spoken, its outer contour morphs into its slice of the ribbon, built from the clone's real loudness, and turns ember while the word plays.
06 · 00:24
One ribbon, every page
The camera pulls out from one lead's page to the wall; one ribbon branches to three hubs, then twelve, then every page, and each page pops in as its branch lands, on a pluck.
07 · 00:25
A quality check
A scan crosses the wall. Three pages carry a broken ribbon (a gap, a repeat, a ragged end), are flagged by name, and redraw clean a beat later.
gotchas
- Under a zooming camera, set each hairline's stroke-width to its screen width divided by the zoom every frame, so lines keep their weight while dash-based draw-ons stay in the same units.
- Letters with holes (a, e, o) cannot morph cleanly as a whole: morph only the outer contour and hide the full glyph the moment the melt starts.
- fontTools writes H and V commands with no separators, so do not split a glyph by parsing its path string: record it with a RecordingPen and split at each moveTo.
- Snap the strongest window to whole seconds, so its edges are chunk edges; otherwise a chunk straddles the window and half of the voice you kept peels away.
source
Take the whole project
MIT for the code, composition and score. The Tembr mark and the name Tembr are not included in the licence, and the cloned voice line is not in the source: a silent placeholder of the same length stands in for it.