openjtalk 1.0.0 copy "openjtalk: ^1.0.0" to clipboard
openjtalk: ^1.0.0 copied to clipboard

A Dart library for accessing common Open JTalk APIs using, FFI.

example/main.dart

import 'package:openjtalk/openjtalk.dart';

Future main() async {
  var talk =
      openjtalkInitialize('mei_normal', 'assets/dic_utf_8', 'assets//voice');
  print(talk.getVoice());
  print(talk.getSamplingFrequency());
  print(talk.getSpeed());
  print(talk.geVoiceDir());
  print(talk.geVoicePath());
  print(talk.getVoiceName());
  talk.speakAsync('聞こえますか?');
  while (talk.isSpeaking() != 0) {}
  openjtalkClear(talk);
}
1
likes
160
pub points
16%
popularity

Publisher

unverified uploader

A Dart library for accessing common Open JTalk APIs using, FFI.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

ffi

More

Packages that depend on openjtalk