Voice Referencesのロゴ

Voice References

コミュニティ
christos-antono
voice-references

Fish Audio Drama 3またはS2 Pro、MiniMax、ElevenLabsのような音声クローンに必要な、キャラクターごとのゼロショット音声クローン用参照クリップを、ユーザーが使用権を持つ録音から作成します。録音をセリフごとに分割し、ノイズの少ない6~11秒の区間を選び、文字起こしをして、叫び声やノイズを除去します。約25秒のクローン用クリップに加え、単独の参照クリップや感情別クリップ(怒り、酔い)を作り、確認してから音声サーバーにアップロードします。キャラクターの音声を追加する場合、クローン音声が不自然、か細い、またはノイズが多い場合、NPCの音声をクローンする方法をユーザーが尋ねた場合に使用してください。

Add to TypingMind

概要

公開者christos-antono
リポジトリNPCTalk
スキル名voice-references
スター
201
フォーク
17
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    christos-antonoがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Voice References」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/christos-antono/NPCTalk/tree/main/.agents/skills/voice-references
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/christos-antono/NPCTalk.git /tmp/NPCTalk
mkdir -p .claude/skills
cp -r /tmp/NPCTalk/.agents/skills/voice-references .claude/skills/voice-references
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでVoice Referencesを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にVoice Referencesを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Voice Referencesは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Reference voices

A zero-shot cloner copies whatever is in the reference clip: the voice, but also the room, the music, the mic and the mood. Most "the clone sounds wrong" problems are reference problems.

Rights first

Clone only voices the user has the rights to: their own, an actor who agreed, a licensed or generated voice. A game's characters are voiced by real people. For a private single-player experiment the user may decide to use the game's own audio; it still never goes into a repo, a release or a public video without the rights. npctalk check fails on audio files and .lab transcripts.

Good source audio

  • One speaker, no music or effects under the voice (game cutscenes usually have both).
  • Normal speaking level for the neutral voice; shouting goes in an angry mood folder, slurring in drunk.
  • A minute or more of lines with pauses between them. More lines means more candidates to pick from.
  • If music is unavoidable, isolate vocals first (Demucs, as server/finetune/prepare_dataset.py does).

Make the clips

bash
npctalk voice make --name Narrator --audio narrator.wav                   # neutral voice
npctalk voice make --name Narrator --audio narrator_angry.wav --mood angry  # lines tagged [angry]
npctalk voice upload voices/Narrator                                      # -> the server's /voices/Narrator

What voice make does (the same steps built the GTA V example's 13 voices):

  1. Split into lines at pauses of 0.3 s (20 ms frames louder than -42 dBFS are speech).
  2. Join runs of up to 4 neighbouring lines into 6-11 s candidates; score them for normal level (about -20 dBFS, -15 for angry), even loudness, no clipping, few joins, ~9 s; keep the best 12 that don't overlap.
  3. Transcribe each with fal speech-to-text (FAL_KEY).
  4. Drop candidates with fewer than 6 words or a speaking rate outside 1.4-4.8 words/s (screams, grunts, music, another language).
  5. Write ref_0..2 (the best three) and clone.wav: the best candidates joined up to ~25 s. Every clip has a .lab transcript next to it; the cloner needs the exact words.
voices/Narrator/clone.wav + clone.lab        what the server clones from by default ("Narrator/clone")
voices/Narrator/ref_0..2.wav + .lab          single clips, for engines that want a short one
voices/Narrator/angry/ref_0..1.wav + .lab    used when a line starts with [angry]
voices_work/Narrator/cand_*.wav + .lab       every candidate, to listen to (never commit)

Which clip to clone from (measured)

On Drama 3, the ~30 s clone.wav gave 0.680 voice match on Lamar's test lines; each of his single 6-10 s clips gave 0.610-0.630. Passing all four clips as references at once was no better than clone.wav alone. S2 Pro preferred a single clean clip (0.707 vs 0.680), so test both if you switch models (skill voice-likeness-eval).

Check them

  • Listen to clone.wav. Anything in it (a laugh, a car, a second voice) shows up in every line.
  • Read the .lab. A wrong transcript makes the cloner mumble or skip words; fix the text by hand.
  • Say a test line: npctalk say "Testing, one two." --voice Narrator/clone --out t.wav.
  • Moods: keep 2 clips per mood. If an angry line sounds like a different person, the mood clips are too far from the neutral ones (another recording session or mic): drop them.

Upload and use

The server reads /voices in its Modal volume when it starts, so restart it after an upload (modal app stop npcvoice-drama). A game refers to a voice by folder and clip name (Narrator/clone); mood folders are picked by the line's leading tag. Until a restart, a game can send the clip by URL with its transcript (reference_audio_url + reference_text), at ~9 s extra the first time.

よくある質問

AIスキル「Voice References」では何ができますか?

Fish Audio Drama 3またはS2 Pro、MiniMax、ElevenLabsのような音声クローンに必要な、キャラクターごとのゼロショット音声クローン用参照クリップを、ユーザーが使用権を持つ録音から作成します。録音をセリフごとに分割し、ノイズの少ない6~11秒の区間を選び、文字起こしをして、叫び声やノイズを除去します。約25秒のクローン用クリップに加え、単独の参照クリップや感情別クリップ(怒り、酔い)を作り、確認してから音声サーバーにアップロードします。キャラクターの音声を追加する場合、クローン音声が不自然、か細い、またはノイズが多い場合、NPCの音声をクローンする方法をユーザーが尋ねた場合に使用してください。

TypingMindでVoice Referencesを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Voice Referencesはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにVoice Referencesをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/christos-antono/NPCTalk/tree/main/.agents/skills/voice-referencesを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Voice Referencesを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Voice Referencesで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもVoice Referencesを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Voice References」は無料ですか?

はい。christos-antonoがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇