Audio Mix Maker logo

Audio Mix Maker

Community
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', 'смешай музыку с видео', 'фоновая музыка для видео'.

Overview

PublisherMikefluff
Repositoryskills
Skill nameaudio-mix-maker
Stars
26
Forks
2
Bundled files
4
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Mikefluff on GitHub. Read the source before you install it.

Installation

Install the Audio Mix Maker AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Mikefluff/skills/tree/main/skills/audio-mix-maker
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Audio Mix Maker in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Audio Mix Maker on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Audio Mix Maker is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Audio Mix Maker AI skill do?

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', 'смешай музыку с видео', 'фоновая музыка для видео'.

Why use Audio Mix Maker on TypingMind?

Because you install it once and use it with any model. Audio Mix Maker is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Audio Mix Maker in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Mikefluff/skills/tree/main/skills/audio-mix-maker. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Audio Mix Maker?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Audio Mix Maker?

As many as you like. As long as a model supports skills, you can use Audio Mix Maker with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Audio Mix Maker AI skill free?

Yes. It is published on GitHub by Mikefluff under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇