Skip to content
CCinder
Cinder.onTranscript

API Reference

Cinder.onTranscript

Subscribe to browser speech transcript events emitted by the speech engine.

Use onTranscript() when you want direct access to speech transcript events.

Example

ts
3 lines
Cinder.onTranscript((event) => {
  console.log(event.transcript, event.isFinal);
});

What the handler receives

A transcript event containing:

  • transcript
  • isFinal
  • timestamp

When to use it

  • custom voice UX
  • manual transcript display
  • integrations using listen({ autoRun: false })

Continue reading