flutter_baidu_speech_tts 1.0.3 copy "flutter_baidu_speech_tts: ^1.0.3" to clipboard
flutter_baidu_speech_tts: ^1.0.3 copied to clipboard

Baidu TTS plugin for Flutter: online, offline and mixed speech synthesis on Android, iOS and HarmonyOS.

1.0.3 #

  • Docs: added the OHOS build-profile.json5 useNormalizedOHMUrl note and an iOS pod install fallback pointing to the official Baidu SDK integration guide. No code or API changes.

1.0.2 #

  • Docs: display the example screenshots in a side-by-side table and add a note reminding users not to commit real credentials. No code or API changes.

1.0.1 #

  • Docs: rewrote the README as a bilingual (English / δΈ­ζ–‡) guide with expanded setup and usage instructions. No code or API changes.

1.0.0 #

First stable release.

  • English-only README and CHANGELOG to satisfy pub.dev validation.
  • Example credentials in example/lib/utils/tts_config.dart are now placeholders; fill in your own Baidu AI Speech credentials before running.
  • No API changes from 0.0.1.

0.0.1 #

First release.

  • Online / offline / mixed (MIX) speech synthesis on Android, iOS and HarmonyOS (OHOS). API: initializeWithConfig / synthesizeText / speakText / pauseTts / resumeTts / stopTts / releaseTts.
  • typedEvents exposes synthesis and playback callbacks as BaiduTtsEvent (start, data arrived, playback progress, finish, error, etc.); SYNTHESIZE_DATA_ARRIVED passes PCM chunks through audioData.
  • The native layer returns {code, message, ...} uniformly; on failure code != 0 and no PlatformException is thrown. Use BaiduTtsResult.isSuccess to check.
  • iOS supports physical devices only (the SDK static library has an arm64 device slice only), and the static library itself is not shipped with the repo. See the README.
  • Offline model files and permissions beyond INTERNET / ACCESS_NETWORK_STATE are provided by the integrator; the plugin neither bundles nor redistributes them (consistent across all three platforms: Android loads from the host app's assets/, iOS from Bundle.main, OHOS from the entry module's resources/resfile/), referenced by file name via offlineTextModelAsset / offlineSpeechModelAsset. See the README.
  • The iOS static library libBDSpeechTTSBaseKit.a (~239MB, exceeding the pub 100MB limit) is downloaded automatically during pod install; the URL can be overridden with the FLUTTER_BAIDU_TTS_IOS_LIB_URL environment variable, so no manual copy is needed.
1
likes
150
points
269
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Baidu TTS plugin for Flutter: online, offline and mixed speech synthesis on Android, iOS and HarmonyOS.

Repository
View/report issues

Topics

#tts #baidu #speech-synthesis #text-to-speech #harmonyos

License

Apache-2.0 (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_baidu_speech_tts

Packages that implement flutter_baidu_speech_tts