v0.7.0 Release Notes¶
Release Date: 2026-11-03
@plexusone/speech 0.2.0 changes the speed or voice of speech while it
plays. The other packages are unchanged.
Highlights¶
- Change speed and voice while speaking. The object
speakreturns, anduseSpeech, havesetRate(rate)andsetVoice(voice). Speech carries on with the new setting, as a video player's speed menu does, instead of stopping. - A browser can't change an utterance once it has started, so the one
being spoken is cancelled and the rest of it is spoken from the last
word reported to
onWord(trackWordsinuseSpeech). WithoutonWord, that utterance is spoken again from its start: at most a sentence, ormaxChunkChars. - The cancel is not reported as a stop:
donestill resolves once the speech ends. - Between utterances and while paused, the next utterance uses the new setting.
Installation¶
Upgrading¶
Nothing changes for code written for 0.1.1. A speed or voice menu that
stopped speech and spoke again can call setRate or setVoice instead.
The standalone build's CDN address names the version: load
@plexusone/[email protected]/dist/speech.global.js.