Skip to content

Instantly share code, notes, and snippets.

@jethrojones
jethrojones / wavspit.sh
Last active September 19, 2025 20:26
One-drop splitter for RØDECaster Pro (fw 2.x) poly-WAVs. Outputs mono stems for selected mics (defaults: Mic1=ch2, Mic2=ch3). macOS Shortcuts-friendly; logs to /tmp/rode_split.log. Includes a “channel finder” mode to discover which channel index your mics are on.
#!/bin/bash
# Split RØDECaster Pro multitrack poly-WAVs into per-channel stems (macOS Shortcuts friendly)
# -----------------------------------------------------------------------------
# REQUIREMENTS
# - ffmpeg & ffprobe installed (e.g., Homebrew: `brew install ffmpeg`)
#
# DEFAULTS (tuned for RØDECaster Pro 1, fw 2.1.x)
# - Mic 1 is on channel index 2 (zero-based; i.e., 3rd channel in the file)
# - Mic 2 is on channel index 3
# - Outputs go to a single sibling folder named "split"