Skip to content

Version 0.4.0

Choose a tag to compare

@JayPanoz JayPanoz released this 28 Jul 06:38
· 276 commits to main since this release
e74b82c

What's Changed

  • setSpeakInContentLanguage(enabled) / getSpeakInContentLanguage() on ReadiumSpeechNavigator and ReadiumSpeechPlaybackEngine: when enabled, each utterance is spoken in the best available voice for its own language, falling back to the selected/default voice when none matches (never racing ahead of voice loading and picking the wrong-language voice).
  • "languagefallback" playback event, fired when no voice matches an utterance's content language (detail: { language, reason: "no-matching-voice" }).
  • WebSpeechVoiceManager.initialize({ languages }) can now be called again on an already-initialized singleton to broaden it to additional languages, instead of being silently ignored.

by @JayPanoz in #52

Full Changelog: v0.3.0...v0.4.0