Sound Designのロゴ

Sound Design

コミュニティ
mrpaidsocial
sound-design

ElevenLabsを使って、動画編集に必要な音声を一式生成・ミックスします。効果音セット(風切り音、ポップ音、インパクト音、カウントアップ、サブドロップ、ライザー)を生成し、約3分の1のほぼ無音の不良音源を検出して監査したうえで、ピークを−3dBに正規化します。スタイルの説明からBGMを生成し(任意で、スペクトログラムとBPM推定を使って参照トラックのスタイルに合わせることも可能です)、ナレーションに合わせて音声をミックスするための実証済みの音量設定とffmpegによる確認手順も提供します。「サウンドデザイン」「SFX」「この編集に効果音を付けて」「BGM」「ナレーションの下に流す音楽」「風切り音やインパクト音を追加」「冒頭にサブドロップを入れて」「この曲のような雰囲気にして」「音声をミックス/確認して」などの依頼に使用します。また、より大きな編集スキル(branded-ad-edit、cinematic edits)の音響工程にも使用します。監査済みの音声ファイルとミックス値を生成します。ナレーションの生成とクリップの配置は編集スキルが担当します。

Add to TypingMind

概要

公開者mrpaidsocial
リポジトリmrpaidsocial-video-editor-agent
スキル名sound-design
スター
114
フォーク
34
同梱ファイル
4
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 4個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Sound Design

SFX + music beds for video edits, via the ElevenLabs API. The hierarchy never changes: the voiceover is dominant, SFX punctuate, the bed is felt, not heard. Every number below came from shipped edits that survived client review — treat them as defaults, not suggestions.

Requirements

  • ELEVENLABS_API_KEY — export it, or put ELEVENLABS_API_KEY=… in a .env at the repo root. Both scripts read the environment first, then walk up from cwd looking for a .env. They error clearly if neither is set. Never hardcode the key.
  • ffmpeg + ffprobe on PATH (or FFMPEG_PATH / FFPROBE_PATH env vars).
  • Node >= 20 (the scripts use global fetch).
  • python3 (stdlib only) for the optional BPM estimator in references/style-matching.md.

1. SFX kit — scripts/gen-sfx.mjs

Endpoint: POST https://api.elevenlabs.io/v1/sound-generation with body {"text": prompt, "duration_seconds": d, "prompt_influence": 0.6} and header xi-api-key. duration_seconds minimum is 0.5 — the API 400s below it (the script clamps).

The one non-negotiable: audit every file. Roughly 1/3 of generations come back near-silent or quiet. A kit that skips the audit ships hits nobody hears. The script automates the whole loop:

bash
node .claude/skills/sound-design/scripts/gen-sfx.mjs kit.json sfx/

kit.json is a list of {name, duration, prompt} (see assets/kit.example.json for a proven starter kit):

json
{
  "normalize_db": -3,
  "min_peak_db": -12,
  "effects": [
    { "name": "stamp-slam", "duration": 0.8,
      "prompt": "loud heavy thud slam impact, stamp hitting a desk, punchy bass" }
  ]
}

Per effect it: generates → measures the peak with ffmpeg volumedetect → any file peaking below min_peak_db is a dud, regenerated once with "loud, punchy: " prepended → then the whole kit is peak-normalized to −3dB (quiet survivors get auto-boosted, hot ones trimmed) so composition volume values mean the same thing for every file. It also flags files whose first sound starts later than ~0.15s (late onsets land off-beat — regenerate those with "sharp attack" in the prompt or trim the head) and writes durations.json for the composition builder.

Prompt-writing tips that held up:

  • Name the physical source + character: "stamp hitting a desk, punchy bass", not "impact sound". Add "single" for one-shots, "dry, no music" to stop the model inventing a score behind the effect.
  • Whooshes are a taste risk. A reviewer on a shipped edit killed every whoosh/swoosh as "cheesy". Default transitions to silence or a soft pop; reserve whooshes for section cuts (see mixing rules below).
  • Match sound semantics to on-screen motion: a counter draining to zero gets a power-down / falling pitch, never a rising tick. A rising sound on a "losing" beat gets flagged in review.

2. Music bed — scripts/gen-music.mjs

Endpoint: POST https://api.elevenlabs.io/v1/music with body {"prompt": "...", "music_length_ms": N}.

bash
node .claude/skills/sound-design/scripts/gen-music.mjs \
  --prompt "..." --seconds 32 --out music/bed.mp3

The script pre-checks the prompt, requests a couple of padded seconds by default, trims to length with a fade-out, and reports duration + peak.

ToS trap — artist names in prompts → HTTP 400 (film and brand names are likely filtered the same way). "In the style of " fails; the 400 body often includes a usable prompt_suggestion, which the script surfaces. Describe the STYLE in words instead. A bed prompt should cover, in one sentence each:

  • genre ("dark cinematic electronic underscore")
  • bpm ("around 120 bpm")
  • drum character ("tight punchy kick, quiet ticking hi-hats")
  • bass ("deep sustained sub bass")
  • melody policy ("minimal melodic content, no lead melody")
  • energy arc ("steady energy with a gentle build in the final third")
  • mix intent — always include verbatim: "mixed quiet and dry to sit under a spoken voiceover"
  • "no vocals"
  • "seamless loop feel"

To match a reference track the user hands you ("make it feel like this"), do NOT try to name or describe the song — profile it and prompt by descriptors only. Full workflow, including the spectrogram read and a ~30-line BPM estimator, in references/style-matching.md.

Generated tracks often open with a 2–4s low-energy warm-up. If the bed must slap from frame one (paired with a sub-drop open), scan per-second volumedetect means over the first ~10s, find where energy plateaus, and cut the bed with -ss <onset> plus a 0.25s fade-in.

3. Sub-drops / risers as openers

The single highest-impact opener: a short sub-drop under the first frame. Generate it through the SFX endpoint (add it to kit.json):

json
{ "name": "sub-drop", "duration": 1.2,
  "prompt": "massive cinematic sub bass drop, falling pitch, punchy, no music" }

Verify the sub is actually there — laptop speakers can't hear it, and the model sometimes returns a mid-range "boom" with no real low end:

bash
# low-band energy: max here should be within ~6dB of the file's full-band max.
# 20dB+ down = no real sub — regenerate.
ffmpeg -i sfx/sub-drop.mp3 -af "lowpass=f=120,volumedetect" -f null -

# 0–800Hz spectrogram: a real drop is a dense low block with a falling-pitch trail;
# a dud is empty below ~120Hz. Compare against a known-good drop side by side.
ffmpeg -i sfx/sub-drop.mp3 -lavfi "showspectrumpic=s=1024x400:stop=800" drop-spec.png

After the final render, re-check the opener window the same way (-ss 0 -t 1.4 + lowpass=f=120,volumedetect on the master).

4. Mixing into the composition

Order of operations matters — every ratio below assumes step 1 happened first.

  1. Loudness-normalize the VO first, before setting any bed or SFX level:

    bash
    ffmpeg -i vo.wav -af loudnorm=I=-14:TP=-1.2:LRA=11 -ar 48000 vo-norm.wav

    Mixing against an un-normalized VO makes every number below wrong.

  2. Music bed: track volume ~0.13–0.18 (0–1 linear gain — HyperFrames data-volume, or the track-volume slider in any NLE). Against a loudnorm'd VO and a bed peaking near 0dB that puts the bed ~19–20dB under VO peaks. Start at 0.15; offer 0.18 as the "louder" option. In a word gap the bed should raise the gap's mean level by a few dB versus a no-music render — present, not competing.

  3. SFX: per-hit base volume × one kit master gain, capped. Keep per-hit taste values in the ~0.28–0.5 range by type, then scale the whole kit with a single master gain (~1.95 proved right for a −3dB-normalized kit against a loudnorm'd VO), capping the product at 0.8 so slams never bury the voice:

    Hit typebase× 1.95, cap 0.8
    soft whoosh0.28–0.350.55–0.68
    pop / tick0.320.62
    count-up / cha-ching0.40–0.450.78–0.80
    stamp / impact / sub-drop0.500.80 (capped)

    The one-number kit gain is the point: "everything a touch louder/quieter" becomes a single edit instead of forty.

  4. Placement rules (each of these was learned in review):

    • Land every hit on the exact word ("fire" SFX on the word fire), not at the sentence start.
    • Whooshes on section cuts only — a whoosh on every card reads cheesy.
    • One biggest swell per video (usually the opener sub-drop or the final reveal). If everything is big, nothing is.

5. Verify the mix — in dB, never by ear alone

Every audio bug ever caught in this pipeline was found by measuring, not listening.

bash
# window around a hit (hit at t=12.4, file 0.8s): start ~0.05s early
ffmpeg -ss 12.35 -t 0.9 -i final.mp4 -af volumedetect -f null -

# a quiet window — a word gap with no hits and no big VO peak
ffmpeg -ss 8.0 -t 0.8 -i final.mp4 -af volumedetect -f null -

# integrated loudness of the master
ffmpeg -i final.mp4 -af ebur128 -f null -    # read the final "I:" line

Expectations:

  • A hit window whose peak matches the VO's peaks is audible-subtle; +3–5dB over is punchy. A hit window that measures the same as the quiet window means the hit is missing or buried — fix placement or volume.
  • The quiet window should sit a few dB above the same window in a no-music render (the bed is present) but far below VO peaks (the bed isn't competing).
  • Integrated loudness target: ~−14 to −13 LUFS. Much below −14, the whole mix is quiet for social feeds; above ~−12, the limiter is doing the mixing for you.

Files

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Sound Design」では何ができますか?

ElevenLabsを使って、動画編集に必要な音声を一式生成・ミックスします。効果音セット(風切り音、ポップ音、インパクト音、カウントアップ、サブドロップ、ライザー)を生成し、約3分の1のほぼ無音の不良音源を検出して監査したうえで、ピークを−3dBに正規化します。スタイルの説明からBGMを生成し(任意で、スペクトログラムとBPM推定を使って参照トラックのスタイルに合わせることも可能です)、ナレーションに合わせて音声をミックスするための実証済みの音量設定とffmpegによる確認手順も提供します。「サウンドデザイン」「SFX」「この編集に効果音を付けて」「BGM」「ナレーションの下に流す音楽」「風切り音やインパクト音を追加」「冒頭にサブドロップを入れて」「この曲のような雰囲気にして」「音声をミックス/確認して」などの依頼に使用します。また、より大きな編集スキル(branded-ad-edit、cinematic edits)の音響工程にも使用します。監査済みの音声ファイルとミックス値を生成します。ナレーションの生成とクリップの配置は編集スキルが担当します。

TypingMindでSound Designを使うメリットは何ですか?

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

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

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/mrpaidsocial/mrpaidsocial-video-editor-agent/tree/main/.claude/skills/sound-designを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Sound Designを使えるAIモデルはどれですか?

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

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

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

AIスキル「Sound Design」は無料ですか?

mrpaidsocialがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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