voicevox_service 0.1.0
voicevox_service: ^0.1.0 copied to clipboard
A Dart library for accessing common Voicevox Core APIs wrapper using, FFI.
import 'package:voicevox_service/voicevox_service.dart';
void main() {
final serv = VoicevoxService();
if (!serv.init()) {
return;
}
const text = 'こんにちは、ずんだもんなのだ';
serv
..outputByName(
text,
speakerName: 'ずんだもん',
styleName: 'ノーマル',
outFile: 'output.wav',
)
..destroy();
}