Last updated:
0 purchases
ntts
Neural Text To Speech #
Neural Text To Speech Library untuk menghasilkan suara realistis seperti natural di bahasa dart, neural text to speech ini berjalan tanpa perlu koneksi internet dan hanya membutuhkan cpu saja
Demo #
Information #
Library ini sudah tidak akftif maintance jika anda butuh bantuan support / anda ingin melihat library terbaru anda bisa donasi seiklasnya ke akun Telegram Azkadev
Resources #
No
Name
1
MODEL TTS ENGLISH
Development #
git clone https://github.com/azkadev/ntts_dart.git
cd ntts_dart
copied to clipboard
Dependencies #
sudo apt-get install espeak-ng
copied to clipboard
Compile Library #
cd native_lib
mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
copied to clipboard
Install #
dart pub add ntts_dart
copied to clipboard
Import Library #
import 'package:ntts_dart/ntts_dart.dart';
copied to clipboard
Quickstart #
Sebelum di run pastikan kamu sudah mengcompile library dan menyiapkan model dahulu
import 'dart:io';
import 'dart:isolate';
import 'package:ntts_dart/ntts_dart.dart';
void main(List<String> arguments) async {
Args args = Args(arguments);
File file = File("data.wav");
Ntts lib = Ntts(
pathLib: "libntts.so",
);
var result = lib.requestRaw(
data: {
"@type": "createVoice",
"text": "Hello World Text To Speech",
"exec_path": Directory.current.path,
"model_path": File("models/en-us-libritts-high.onnx").path,
"output_file": file.path,
"speaker_id": 10,
},
);
}
copied to clipboard
Refferensi #
Piper
Mimic Recording Studio
Espeak
onnxruntime
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.