Wave to text (Pro)
ProIncluded in $99Dictation that turns into words in place: the voice scrolls by as bars, then flattens into dots that the transcript is drawn across.
On this page
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
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
import { WaveToText } from "@/components/ui/chatcn/pro/wave-to-text"
<WaveToText status={dictation.status} level={mic.getLevel} text={dictation.text} />Props
| Prop | Type | Notes |
|---|---|---|
status | "listening" | "transcribing" | "done" | |
level | () => number | Microphone level 0 to 1, read every frame without re-rendering |
text | string | The transcript, drawn when status is done |
transcribingLabel | string | Announced 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.