flutter_baidutts 0.0.5 copy "flutter_baidutts: ^0.0.5" to clipboard
flutter_baidutts: ^0.0.5 copied to clipboard

flutter plugin for baidu tts

flutter_baidutts #

A new Flutter plugin for baidu tts

Getting Started #

Config On Android #

-keep class com.baidu.tts.**{*;}
-keep class com.baidu.speechsynthesizer.**{*;}

Add the obfuscated configuration to your file

Config On IOS #

Just copy libBaiduSpeechSDK.a into your ios project

1.init config before use plugin

FlutterBaidutts.instance.init(
	appId:'appId',
	appKey:'appKey',
	appSecret:'appSecret',
);

2.just call speek function whatever you want to speek

FlutterBaidutts.instance.speek('speekWords');

Apis: #

Future<int> speak(String word); //Synthetic speech

Future<int> setVolume(double volume); //Set the volume

Future<int> pause(); //pause

Future<int> resume(); //resume

Future<int> stop(); //stop
2
likes
30
pub points
0%
popularity

Publisher

unverified uploader

flutter plugin for baidu tts

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_baidutts