vvsay
Version, currently 0.0.01 version
- 0.0.0latestApr 2, 2025
github.com/kojix2/vvsay
作りかけのVOICEVOXコマンドラインツール
1 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
vvsay:
github: kojix2/vvsay
version: ~> 0.0.0Then run:
shards installshard.yml
- Crystal
>= 1.15.1- License
- MIT
- Author
- kojix2
- Target
zunsayfrom src/zunsay.cr
Dependencies
Runtime Dependencies
README
zunsay(仮)
VOICEVOX Engine の API を呼び出すための Crystal 製 CLI ツール。
このツールは作りかけなので、プロジェクトの名前からオプションまでコロコロ変わる可能性があります。
必要条件
- VOICEVOX Engine がインストールされ、起動していること
インストール
ソースからビルド
git clone https://github.com/kojix2/zunsay.git
cd zunsay
shards install
shards build --release
bin/zunsay --version
ビルドされた実行ファイル zunsay をパスの通った場所に配置してください。
使い方
話者一覧の表示
利用可能な話者(キャラクター)とそのスタイルの一覧を表示します:
zunsay speakers
音声合成
テキストから音声を合成します:
zunsay synthesis -t "こんにちは、世界" -s 1 -o output.wav
または:
zunsay -t "こんにちは、世界" -s 1 -o output.wav
オプション
使用方法: zunsay [オプション] [コマンド]
コマンド:
speakers - 利用可能な話者一覧を表示
synthesis - テキストから音声を合成 (デフォルト)
共通オプション:
-h HOST, --host=HOST VOICEVOX Engine のホスト (デフォルト: 127.0.0.1)
-p PORT, --port=PORT VOICEVOX Engine のポート (デフォルト: 50021)
音声合成オプション:
-t TEXT, --text=TEXT 合成するテキスト
-s ID, --speaker=ID 話者ID (デフォルト: 1)
-o FILE, --output=FILE 出力ファイル名 (デフォルト: output.wav)
--speed=SCALE 話速のスケール (デフォルト: 1.0)
--pitch=SCALE 音高のスケール (デフォルト: 0.0)
--intonation=SCALE 抑揚のスケール (デフォルト: 1.0)
--volume=SCALE 音量のスケール (デフォルト: 1.0)
-P, --play 音声合成後に自動再生する
その他:
--help ヘルプを表示
--version バージョンを表示
-d, --debug エラー時にバックトレースを表示
開発
このツールは、kojix2 が自分で使うためにマイペースに作っています。 たまに使って、気が向いたらメンテナンスします。
- リポジトリをクローンします
- 依存関係をインストールします:
shards install - コードを変更します
- テストを実行します:
crystal spec
貢献
- フォークします (https://github.com/kojix2/zunsay/fork)
- 機能ブランチを作成します (
git checkout -b my-new-feature) - 変更をコミットします (
git commit -am 'Add some feature') - ブランチにプッシュします (
git push origin my-new-feature) - プルリクエストを作成します
ライセンス
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.0.0- Tagged
- Apr 2, 2025
- Commit
69890aedc14d- Crystal
>= 1.15.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/kojix2/vvsay
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 14, 2026
- Synced
- Aug 14, 2026
- Versions
- 1