Skip to content
Motionboard
A dark pill with a live white waveform, a red record dot and a 0:03 timer under the transcript of a voice note.
Features · 11s film

Sound Wave Animation

A round mic button is clicked and widens into a pill with a live waveform, a record dot and a timer, while a transcript appears word by word above it. The pill then collapses into a note card, three audio player cards stack in with a playhead sweeping the first, and the Echo lockup follows.

Motionboard shot: Voice Note Pill

Seen in real launch films

Raycast 0:16–0:19YouTube ↗
Raycast0:16–0:19YouTube ↗
ElevenLabs SFX v30:25–0:32YouTube ↗

How to make a Sound Wave Animation with Claude Code or Codex

Copy the recipe above and paste it into Claude Code or Codex. The agent installs the skill and builds the shot.

npx skills add krisyangdev/motionboard
How it's built

Draw the waveform from time. Give 11 words a start and a length (Remind at 1.75s for 0.30s, Friday at 4.45s for 0.40s), shape each as sin(pi·u)^0.6 times a syllable factor and sample the level every 1/15s, so 62 bars 6px wide with a 5px gap scroll left every 2 frames and reach 130px at the loudest word. The pill opens at 0.95s over 0.75s with expo.inOut from a 160px mic button to 1100x180px; the timer reads 0:03 at 4.6s. Reveal each transcript word 0.14s after its swell over 0.3s with power2.out, from grey #8b8b95 to #f4f4f6, and keep every word in the layout from the start so the line never shifts.

End the listening with a click. The cursor reaches the stop button at 5.0s and clicks at 5.05s, the bars are already flat, and the pill morphs for 0.8s with power3.inOut into a 1200x250px note card at top 154px. Three player cards 1200x150px enter at 6.0s, 6.18s and 6.36s with expo.out. Press play on the first at 6.65s and sweep a 3px playhead linearly from 6.75s to 7.95s to 72%, turning the bars it passes coral #ff5b45; leave the second card paused at 34%.

Press the copy button to send this recipe to Claude Code or Codex, or install the skill once with npx skills add krisyangdev/motionboard. The agent builds the pill, the envelope, the transcript and the cards from your own sentence and note titles. Clear the scene at 7.95s and hold the Echo lockup from 8.8s for 2.2s. Render an MP4 with HyperFrames, or port the GSAP timeline to your website.

Full recipe

Why it works

The waveform is the shot, so it is the biggest moving element: 62 white bars up to 130px tall inside a 180px pill. Their heights come from a speech envelope computed from timeline time: each word is a short swell, there is near silence between words, and the bars scroll in from the right edge, so the pill reads as a live microphone. The transcript above it uses the same word start times and each word appears 0.14s after its swell, so the eye links what it hears to what it reads. The timer, the pulsing record dot and a coral glow behind the pill follow the same envelope. A cursor click starts the move and a second click on the stop button ends it, so every change has a cause on screen. The pill then collapses into a note card and three audio players fill the same column; their static waveforms and a coral playhead show the same shape as a saved file. One accent colour, coral #ff5b45, marks everything live: the record dot, the stop button and the played part of each waveform.

Spec

Timing
Film 11s. Cursor click 0.8s; pill opens 0.95–1.7s (0.75s); recording and timer start at 1.6s (0:03 at 4.6s); 11 words revealed 1.89–4.59s; stop click 5.05s; contents and transcript fade 5.15–5.65s; the pill morphs into the note card 5.4–6.2s (0.8s); player cards enter at 6.0s, 6.18s and 6.36s (0.7s each); play pressed 6.65s and the playhead sweeps 6.75–7.95s (1.2s); scene fades 7.95–8.25s; lockup 8.3–8.8s and holds 2.2s
Easing
Pill opening expo.inOut; card rise and lockup expo.out; cursor moves power3.inOut and power2.inOut; pill-to-note morph power3.inOut; button presses power2.out then back.out; word reveal power2.out (0.3s) with a 0.5s colour change; the playhead sweep is linear because playback speed is constant; the speech envelope and bar heights are computed on every frame from time
Camera
Locked frame, no camera moves. The pill and transcript sit centred around y=590px, and the note and player cards form one 1200px column from x=360px. Faint grey and warm blobs drift slowly (sine.inOut over the whole 11s) behind the content
Subject
Mic button 160px circle with a 76px mic icon and a halo ring pulsing every 1.1s until the click; pill 1100x180px, radius 90px, centred at (960, 590): record dot 22px, timer 48px bold, 62 waveform bars 6px wide with a 5px gap (677px), 10–130px tall, with a left edge fade, and a 104px stop button; transcript 68px, weight 650, two lines on an 84px line height, 60px above the pill; note card 1200x250px, radius 38px, top 154px, with a 44px mark, a 58px title, 32px body text and a 28px chip; three player cards 1200x150px at tops 432px, 604px and 776px, each with a 100px art tile, a 36px title, 28px meta, an 80px play button and 75 bars 4px wide with a 2px gap (450px, 10–80px tall); playhead 3px wide; cursor 44px
Sync
Each word appears 0.14s after its swell starts in the waveform; the timer ticks at 2.6s, 3.6s and 4.6s and the glow behind the pill follows the same level; the last word ends at 4.85s and the bars are flat before the cursor reaches the stop button at 5.0s; the play icon turns into pause at 6.7s and the playhead starts at 6.75s
Style
Background #09090b with faint grey and warm blobs, one accent coral #ff5b45; Inter throughout, text #f4f4f6 and secondary text #a1a1aa; cards in dark grey gradients with a 1.5px hairline border and a large soft shadow; played bars coral, unplayed bars white at 30%; static grain at 5% and a vignette reaching 55% black at the edges. Lockup: a 156px coral mark with five white bars, Echo at 176px and Say it once. Keep it. at 34px

Prompt

Build an 11-second, 1920x1080, 30 fps dark product film called Voice Note Pill for a fictional product, Echo (a voice notes app). Background #09090b with faint grey and warm radial blobs drifting slowly (sine.inOut over 11s), one accent coral #ff5b45, font Inter, text #f4f4f6, secondary text #a1a1aa. Put all time-driven state in one render(t) function called from a linear proxy tween's onUpdate and from the hf-seek event; use no CSS animations and no random numbers (hash the bar index with a sine instead). Beat 1: a 160px round mic button (dark gradient, 1.5px hairline border, 76px mic icon) sits at (960, 590) with a halo ring pulsing every 1.1s. A 44px cursor arrives from the lower right (0.12–0.77s, power3.inOut) and clicks at 0.8s (button and cursor scale to 0.93 and 0.84, back.out). From 0.95s the button widens in 0.75s (expo.inOut) into a 1100x180px pill with radius 90px; the icon fades out and from 1.3s the contents fade in: a 22px red record dot pulsing once per second, a 48px bold timer, a waveform of 62 white bars (6px wide, 5px gap, 10–130px tall, rounded, faded at the left edge) and a 104px coral stop button with a white square, which pops in with back.out at 1.5s. The pill border turns coral at 40% and a 1500x520px coral glow behind it follows the speech level. The timer starts at 1.6s and reads 0:03 at 4.6s. Speech envelope: 11 words with start times and lengths (Remind 1.75/0.30, me 2.05/0.18, to 2.25/0.20, send 2.5/0.22, the 2.75/0.18, Q3 2.95/0.28, deck 3.25/0.30, to 3.6/0.20, Priya 3.85/0.38, on 4.25/0.18, Friday 4.45/0.40); level = max over words of sin(pi*u)^0.6 times a syllable factor 0.6+0.4*|cos(pi*u*k)| (k=2 for words over 0.25s) times 0.72–1, plus a 0.05 floor from 1.6 to 5.05s. Bar i shows the level sampled at floor(t*15)-(61-i) steps of 1/15s, times 0.58–1.0 from the hash, so the bars scroll left every 2 frames. Above the pill a 68px, weight 650 transcript on two lines (Remind me to send the Q3 deck / to Priya on Friday) is laid out fully with every word at opacity 0; each word fades in over 0.3s (power2.out, 14px rise) 0.14s after its voice start and turns from #8b8b95 to #f4f4f6 over 0.5s. The cursor returns at 4.45–5.0s to the stop button and clicks at 5.05s. Beat 2: contents and transcript fade (5.15–5.65s); the pill morphs with power3.inOut over 0.8s from 5.4s into a 1200x250px card at top 154px (radius 38px) holding a mark, New voice note, a Fri, 9:00 AM chip, the title Send Q3 deck to Priya (58px) and the sentence (32px). Three player cards, 1200x150px at tops 432, 604 and 776, enter at 6.0, 6.18 and 6.36s (expo.out, 0.7s, 64px rise): a 100px art tile, a 36px title (Monday standup, Call with Dana, Onboarding ideas), 28px meta, an 80px play button and 75 static bars (4px wide, 2px gap, 10–80px tall). At 6.65s the first play button turns coral and shows pause; from 6.75 to 7.95s a 3px white playhead moves linearly to 72% and the bars it passes turn coral; the second card rests at 34% played. At 7.95s the scene fades over 0.3s; the lockup at 8.3–8.8s is a 156px coral mark with five white bars, Echo at 176px and Say it once. Keep it. at 34px, still for 2.2s. Add static grain at 5% and a vignette.

People describe it as

  • A mic button widens into a pill with a live waveform
  • The words of the note appear above the pill as it listens
  • Audio player cards stack in and a playhead colours the waveform as it plays

Often confused with

  • Scrolling Text AnimationScrolling Text Animation condenses a long dictated input into one short summary; here the dictation is a live waveform with a word-by-word transcript, and the result is a note card with saved audio players.
  • Lyrics AnimationLyrics Animation scrolls dimmed lines and brightens each word as it is sung; here the words appear as they are heard, driven by a live waveform, and the shot ends on audio players with a playhead.
Recipe file (.md)

FAQ

How do you make a waveform that looks like live speech?

Compute the bar heights from timeline time and use no random numbers. Give each word a start and a length, shape it as sin(pi·u)^0.6 times a syllable factor, vary each bar with a sine hash of its index and scroll the history so the newest bar sits at the right edge. Sampling every 1/15s with 62 bars 6px wide and 5px apart gives steps every 2 frames, like a real audio meter.

How do you keep the transcript in sync with the waveform?

Drive both from the same word table. Reveal each word 0.14s after its swell starts with a 0.3s power2.out fade and a 14px rise, and change its colour from #8b8b95 to #f4f4f6 over 0.5s so the newest word is the dimmest. Lay out all the words first with opacity 0 so the line never shifts as words arrive.

Is it free to use?

Yes. Motionboard is free and MIT licensed, so you can use and modify the recipes and the films they produce in personal and commercial projects. The licence asks only that copies of the recipe files keep the copyright notice.

More Features