Back to Wails

Speech Synthesis API Demo

v3/examples/web-apis/speech-synthesis/frontend/index.html

2.13.0965 B
Original Source

Speech Synthesis API Demo

The Speech Synthesis API (Web Speech API) enables text-to-speech functionality, allowing web applications to read text aloud using different voices and settings.

Speech Synthesis API: checking...

API Support

Text to Speech

Speaking... Hello! Welcome to the Speech Synthesis API demo. This powerful browser API allows web applications to convert text into spoken audio. You can adjust the voice, rate, pitch, and volume to customize the speech output.

VoiceLoading voices...

Rate: 1.0x

Pitch: 1.0

Volume: 100%

SpeakPauseResumeStop

Quick Phrases

Click a phrase to speak it immediately:

Hello!PangramWelcomeThank youPlease waitOrder confirmedError messageCounting

Available Voices (0)

Loading voices...

Speech Queue Demo

Queue multiple utterances to be spoken in sequence:

Run Queue DemoAdd Current Text to QueueClear Queue Queue length: 0 utterances

Event Log

Clear Log Events will be logged here...