Skip to content
Sign upGet access
MicrointeractionsWave to textMenu

Wave to text (Pro)

ProIncluded in $99

Dictation that turns into words in place: the voice scrolls by as bars, then flattens into dots that the transcript is drawn across.

ProDictate into the composer: the voice scrolls by as bars, ripples low while it transcribes, then flattens into dots that the sentence is drawn across.

While you talk your voice scrolls through the field as bars, newest on the right. Stop, and while the words come back the bars fall to a low travelling ripple. When the transcript lands the bars flatten into a dotted baseline and the words are drawn across it from the start, each dot going out as the text passes over it, so the sound you made and the sentence it became sit on the same line.

Installation

$ pnpm dlx shadcn@latest add @chatcn-pro/wave-to-text

Needs chatcn Pro

This command works with a Pro license, along with every Pro component.

Or start free: sign up and get three Pro components on us, with a new one every month.

Usage

tsx
import { WaveToText } from "@/components/ui/chatcn/pro/wave-to-text"

<WaveToText status={dictation.status} level={mic.getLevel} text={dictation.text} />

Props

PropTypeNotes
status"listening" | "transcribing" | "done"
level() => numberMicrophone level 0 to 1, read every frame without re-rendering
textstringThe transcript, drawn when status is done
transcribingLabelstringAnnounced while transcribing. Default "Transcribing"

Accessibility

  • The bars are decorative. Transcribing and the final text are announced politely.

Motion

  • A new column every 50 ms, so scroll speed does not depend on the frame rate.
  • Flatten 200 ms, draw 560 ms ease in out with clip-path.
  • Reduced motion: the bars hold still and the text fades in.