Skip to content

KuronekoServer/aquestalk-rs

Repository files navigation

aquestalk-rs

Warning This is now developing. Please use old one.

This is for aquestalk rust wrapper.

読み上げに使用する際

aquestalkを使ってDiscord読み上げbotなどを作成する場合aquestalkに問い合わせして、サーバー用ライセンスの購入が必須です。

Installation

[dependencies]
aquestalk = "0.1.2"

Usage

Setup

※This is describe about linux.

  1. Please install aquestalk1 at here

  2. Go to aqtk1-lnx-eva directory, choose lib32 or lib64 and choose which you like one.

  3. move libAquesTalk.so file to /usr/lib.

All that!

Code

fn main() {
    let wav = aquestalk::synthe("こんにちは").unwrap();
    std::fs::write("test.wav", wav.to_vec()).unwrap();
}