Voice Note
A voice note turning into text: it records with a growing waveform, plays back with the transcript appearing word by word, then pops in the key points. Visitors can stop, play and pause, click the waveform or a word to jump there, or use the arrow keys on the position slider.
pixikit.com/docs/blocks/illustrations/voice-note
Customize
Duration12s
Autoplay
Loop
Speed1.0x
Height360px
Width560px
Props
17| Name | Type | Default | Description |
|---|---|---|---|
transcript | string | DEFAULT_TRANSCRIPT | The spoken words; they appear one by one while the clip plays. |
points | string[] | DEFAULT_POINTS | The key points that pop in after the clip has played. |
duration | number | 12 | The length of the clip in seconds. |
title | string | "Voice note" | The name in the top bar. |
recordLabel | string | "Record" | What screen readers call the main button before recording starts. |
stopLabel | string | "Stop" | What screen readers call the main button while recording. |
playLabel | string | "Play" | What screen readers call the main button when the clip is ready to play. |
pauseLabel | string | "Pause" | What screen readers call the main button while the clip plays. |
pointsLabel | string | "Key points" | The heading above the key points. |
seekLabel | string | "Position" | What screen readers call the position slider. |
autoplay | boolean | true | Starts when the scene scrolls into view; when off it waits for a click on replay. |
loop | boolean | true | Plays again from the start after the hold. |
speed | number | 1 | Playback speed multiplier. |
height | number | 360 | The height of the scene in px. |
width | number | 560 | The widest the scene grows, in px. It shrinks to fit a narrower parent. |
replayLabel | string | "Replay" | What screen readers call the replay button. |
className | string | None |