Audio Mix Makerのロゴ

Audio Mix Maker

コミュニティ
Mikefluff
audio-mix-maker

Mix music/audio onto an existing video via ffmpeg. Modes: replace, overlay, duck (sidechain compressor lowers music under speech). Volume + fade controls. Pure ffmpeg, no API. Use when: 'mix this music onto the video', 'add background music to video', 'duck the music under voiceover', 'смешай музыку с видео', 'фоновая музыка для видео'.

概要

公開者Mikefluff
リポジトリskills
スキル名audio-mix-maker
スター
26
フォーク
2
同梱ファイル
4
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 4個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

Distinct from reel-builder:

  • reel-builder ORCHESTRATES generation + stitching from scratch (script → shots → music → stitch). This skill is JUST the final-mix step on assets you already have.
  • No script / no video / music generation — bring your own.

Distinct from subtitle-burner:

  • subtitle-burner adds CAPTIONS. This skill adds AUDIO MIX.
  • Both are pure-ffmpeg utilities — they share the lightweight wrapper pattern.

Distinct from voiceover-maker:

  • voiceover-maker GENERATES TTS. This skill MIXES audio onto video.

This skill does NOT:

  • Generate music (use music-prompt --execute first)
  • Generate voiceover (use voiceover-maker --execute first)
  • Stitch multiple video clips (use reel-builder for that, or raw ffmpeg concat)
  • Cut / trim video segments (use ffmpeg / DaVinci Resolve / Premiere)
  • Sync audio to specific moments (use a NLE — Final Cut / Premiere / DaVinci)

ROLE

Read video + music + mode + volume/fade controls → run ffmpeg with the right filter chain → save mixed MP4.

PIPELINE

  1. Resolve inputs:

    • --video <path> — source MP4 / MOV / WebM (required)
    • --audio <path> — music / SFX / voiceover (required)
  2. Pick mode:

    • --mode replace (default) — drop the video's original audio, use music as sole track
    • --mode overlay — mix music ON TOP of original audio (both audible at constant volume)
    • --mode duck — overlay with sidechain compression (music auto-lowers when speech detected)
  3. Volume + fade controls:

    • --volume <multiplier> — 0.0-2.0 music volume (default 0.8)
    • --fade-in <seconds> — fade in duration (default 0)
    • --fade-out <seconds> — fade out duration (default 0.5)
    • --duck-amount <0-1> — duck mode only: how much music attenuates (default 0.6)
  4. Detect ffmpeg — print install instructions if missing.

  5. Run ffmpeg — encoded as one of three filter chains depending on mode.

  6. Save:

    • Default: <video-stem>-mixed<ext> next to source
    • Custom: --output <path>

MODES

Required

  • audio-mix-maker --video <path> --audio <path>

Mix mode

  • --mode replace|overlay|duck (default replace)

Volume

  • --volume <0.0-2.0> (default 0.8)
  • --fade-in <seconds> (default 0)
  • --fade-out <seconds> (default 0.5)
  • --duck-amount <0.0-1.0> (default 0.6, duck mode only)

Output

  • --output <path> (default: <video-stem>-mixed<ext>)

REFERENCES (load on demand)

FileWhen to load
references/modes.mdStep 2 — when to pick replace vs overlay vs duck, and how each affects the listener
references/troubleshoot.mdWhen ffmpeg fails, audio is clipped, ducking too aggressive / too subtle

EXAMPLES

See examples/before-after.md — 3 calibration runs: silent screen recording + background music (replace), voiceover-driven explainer + background music (duck), b-roll with original audio + music bed (overlay).

CONSTRAINTS

  • ffmpeg required. Install: brew install ffmpeg (Mac) / apt-get install -y ffmpeg (Debian). install.sh offers auto-install.

  • Video codec preserved. This skill uses -c:v copy — no re-encode of video frames. Output video quality identical to source.

  • Audio re-encoded. Output audio is AAC 192kbps (industry standard for video).

  • Music length usually exceeds video. Skill uses -shortest flag — output truncates at the shorter of (video duration, music duration). Music is faded out at the cut point if --fade-out > 0.

  • Duck mode requires speech in the video. If there's no speech / dialogue, duck mode behaves like overlay. For pure music-on-music: use overlay.

  • Volume max is ~2.0. Past 2× the source volume, distortion appears. For louder music: re-master the input audio file first.

  • Fade timing is from the video start. Fade-in starts at t=0; fade-out completes at the end of the shorter track. Custom mid-clip fades require DaVinci / Premiere / manual ffmpeg.

  • Output is MP4 by default. If source is MOV / WebM, output preserves the container.

  • Cost = $0. No API calls — local ffmpeg only.

  • No multitrack mixing. v1 mixes ONE music track onto video. For multi-track (music + SFX + voiceover): chain calls or use a DAW.

  • Sample rate / channel layout handled implicitly. ffmpeg resamples as needed. For exact control: use raw ffmpeg.

INVOCATION HINTS

When the user says any of:

  • "mix this music onto the video", "add background music"
  • "duck the music under the voiceover", "lower music when speech"
  • "replace audio with music"
  • "смешай музыку с видео", "фоновая музыка для видео"
  • "подложи трек под видосик"

If the user describes a podcast / explainer / interview workflow with voiceover, suggest --mode duck. If pure music video / silent footage, suggest --mode replace.

Defaults: --mode replace --volume 0.8 --fade-out 0.5. No --execute flag — the skill always executes (it's a local-only utility, no cost).

This skill is distinct from:

  • reel-builder — generates + stitches; this is final-mix only
  • subtitle-burner — captions, not audio
  • voiceover-maker — generates TTS; this mixes
  • music-prompt — generates music; this consumes the output of music-prompt
  • gif-maker — produces GIF, no audio

同梱ファイル

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

よくある質問

AIスキル「Audio Mix Maker」では何ができますか?

Mix music/audio onto an existing video via ffmpeg. Modes: replace, overlay, duck (sidechain compressor lowers music under speech). Volume + fade controls. Pure ffmpeg, no API. Use when: 'mix this music onto the video', 'add background music to video', 'duck the music under voiceover', 'смешай музыку с видео', 'фоновая музыка для видео'.

TypingMindでAudio Mix Makerを使うメリットは何ですか?

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

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

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

Audio Mix Makerを使えるAIモデルはどれですか?

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

Audio Mix Makerは何個のAIモデルで使えますか?

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

AIスキル「Audio Mix Maker」は無料ですか?

はい。MikefluffがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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