VOICEVOX wrapper library for JUCE framework.
voicevox_juce is a wrapper library that enables the use of voicevox_core within the JUCE framework. This library aims to simplify the integration of VOICEVOX's text-to-speech capabilities into JUCE-based applications.
- This repository is an unofficial wrapper library for VOICEVOX.
- This project is in an experimental stage and its design may change without prior notice.
The library is structured as follows:
open_jtalk_dic_utf_8/: Placement of OpenJTalk dictionary files (Need to be installed by developer)voicevox_core/: Placement of voicevox_core files (Need to be installed by developer)voicevox_juce/: Wrapper library that can be imported as a JUCE Module Formatvoicevox_client/: Base classes for client-side implementationvoicevox_core_host/: Hosting class of voicevox_core library
- JUCE framework
- VOICEVOX core library:
voicevox_core - C++ compiler with C++17 support
- Clone this repository:
git clone https://github.com/cocotone/voicevox_juce.git - Add the
voicevox_jucedirectory to your JUCE project's include paths. - Add the
voicevox_jucedirectory using thejuce_add_modulecommand in the JUCE CMake module.
To use the voicevox_juce library, you need Open JTalk dictionary files, voicevox_core dynamic library, header files, and model files. Here are the steps to download these files and set them up for use with the library:
- Go to the voicevox_core releases page.
- Download the downloader appropriate for your OS and architecture.
- Run the downloaded file and extract its contents.
- Place the extracted contents in the appropriate OS folder within the
voicevox_juce/voicevox_coredirectory:- For Windows:
voicevox_juce/voicevox_core/windows - For macOS:
voicevox_juce/voicevox_core/macos - For Linux:
voicevox_juce/voicevox_core/linux
- For Windows:
- Go to the Open JTalk website.
- Download the "Binary Package (UTF-8)" from the "Dictionary" section.
- Extract the downloaded file.
- Place the contents of the extracted file in the
voicevox_juce/open_jtalk_dic_utf_8directory.
Once you complete these steps, you'll have the basic environment set up to use the voicevox_juce library. You can then utilize the library's functionality by adding the voicevox_juce directory to your project and including the necessary header files.
This project is licensed under LICENSE. Please see the LICENSE file for more details.
If you are using this project to create and distribute software, please ensure compliance with the licenses of the following software libraries:
JUCE フレームワーク用 VOICEVOX ラッパーライブラリ。
voicevox_juce は、JUCE フレームワーク内で voicevox_core を使用できるようにするラッパーライブラリです。このライブラリは、JUCEベースのアプリケーションにVOICEVOXのテキスト読み上げ機能を簡単に統合することを目的としています。
- このリポジトリは、VOICEVOX の非公式のラッパーライブラリです。
- このプロジェクトは実験段階であり、予告なく設計を変更する可能性があります。
ライブラリは以下のように構成されています:
open_jtalk_dic_utf_8/: OpenJTalk辞書ファイルの配置場所(開発者によるインストールが必要)voicevox_core/: voicevox_coreファイルの配置場所(開発者によるインストールが必要)voicevox_juce/: JUCE Module Format としてインポート可能なラッパーライブラリvoicevox_client/: クライアント側実装のためのベースクラスvoicevox_core_host/: voicevox_coreライブラリのホスティングクラス
- JUCEフレームワーク
- VOICEVOXコアライブラリ:
voicevox_core - C++17をサポートするC++コンパイラ
- このリポジトリをクローンします:
git clone https://github.com/cocotone/voicevox_juce.git voicevox_juceディレクトリをJUCEプロジェクトのインクルードパスに追加します。- JUCE CMakeモジュールの
juce_add_moduleコマンドでvoicevox_juceディレクトリを追加してください。
voicevox_juceライブラリを使用するには、Open JTalk の辞書ファイル、voicevox_coreの動的ライブラリ、ヘッダファイル、そしてモデルファイルが必要です。以下に、これらのファイルをダウンロードし、ライブラリで使用できるようにするための簡単なセットアップ手順を説明します。
- voicevox_coreのreleasesページにアクセスします。
- お使いのOS、アーキテクチャに合ったダウンローダをダウンロードします。
- ダウンロードしたファイルを実行し、展開します。
- 展開されたファイルの内容を
voicevox_juce/voicevox_coreディレクトリ内の、該当するOSのフォルダに配置します。- Windowsの場合:
voicevox_juce/voicevox_core/windows - macOSの場合:
voicevox_juce/voicevox_core/macos - Linuxの場合:
voicevox_juce/voicevox_core/linux
- Windowsの場合:
- Open JTalkのウェブサイトにアクセスします。
- "Dictionary" セクションから "Binary Package (UTF-8)" をダウンロードします。
- ダウンロードしたファイルを解凍します。
- 解凍したファイルの内容を
voicevox_juce/open_jtalk_dic_utf_8ディレクトリに配置します。
これらの手順を完了すると、voicevox_juceライブラリを使用するための基本的な環境が整います。プロジェクトにvoicevox_juceディレクトリを追加し、必要なヘッダファイルをインクルードすることで、ライブラリの機能を利用できるようになります。
このプロジェクトは LICENSE の下でライセンスされています。詳細については、LICENSE ファイルをご覧ください。
このプロジェクトを使用してソフトウェアを作成・配布する場合、以下のソフトウェアライブラリのライセンスに準拠していることを確認してください: