View on GitHub

voicevox-playground-tui

voicevox-playground-tui

voicevox-playground-tui

セリフを書けばすぐ再生 - 思考の速度でずんだもん -

特徴

必要なもの

インストール

cargo install --force --git https://github.com/cat2151/voicevox-playground-tui

サーバー

使うには、VOICEVOXエンジンを起動してください。

  1. VOICEVOXをダウンロードしてインストール
  2. VOICEVOXエンジンを起動(ポート50021でHTTPサーバーが起動します)
<your VOICEVOX directory>/vv-engine/run

デフォルト以外の場所に VOICEVOXmascot-render-server を置いている場合は、 このアプリが使うアプリデータディレクトリ配下の config.tomldirs::data_local_dir()/voicevox-playground-tui。たとえば Windows なら AppData/Local/voicevox-playground-tui、Linux なら ~/.local/share/voicevox-playground-tui)に次のように設定できます。

voicevox_path = "<your voicevox path>"
voicevox_nemo_path = "<your voicevox nemo path>"
mascot_render_server_path = "<your mascot-render-server path>"

実行

vpt

CLIオプション

オプション 動作
--clipboard クリップボードの内容を行ごとに読み上げて終了(history.txtには追加しない)

キーバインド

キー 動作
i INSERT モード(現在行を編集)
Enter / Esc INSERTモードからNORMAL モードへ戻る
j / 下の行へ移動 → 自動再生
k / 上の行へ移動 → 自動再生
o 1行下に空行挿入して INSERT モード
O 1行上に空行挿入して INSERT モード
dd 行カット
p 行ペースト(現在行の下)
P 行ペースト(現在行の上)
"+p クリップボードの内容を現在行の下に貼り付け
"+P クリップボードの内容を現在行の上に貼り付け
Enter / Space 現在行を手動再生
s speaker/style オーバーレイを開く([M] は mascot PSD あり)
v イントネーション編集モードへ
zm 折りたたみ(行頭スペースのある行を非表示)
zr 折りたたみを開く
gt 次のタブへ移動
gT 前のタブへ移動
:tabnew 新しいタブを作成
q 終了(履歴を保存)

仕様

アップデート

vpt update
cargo install --force --git https://github.com/cat2151/voicevox-playground-tui

将来予定

notes

目指すこと

目指さないこと(スコープ外)