Skip to content

About

Offline mix-session preparation for Pro Tools and DAWproject: track layout, diagnostics, and multi-stage gain staging

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Repository files navigation

SessionPrep

Free, open-source, offline mix-session preparation tool for macOS, Windows, and Linux.

Every mixing engineer prepares sessions differently. SessionPrep offers one structured, adjustable workflow across three phases — organizing track layout, running technical diagnostics and optional repairs, and creating a gain-staged, color-coded, routed session from your own mix template while keeping the incoming balance intact. Original client files and mix templates are never modified.

Static preflight and gain staging only — no compression, limiting, saturation, or AI mixing.

  • Download: Standalone installers & bundles on GitHub Releases for Windows, macOS, and Linux (no Python required)
  • Input audio: .wav, .aif, .aiff (mono, stereo, and multichannel; optional recursive subfolder scan)
  • Output: Pro Tools (.ptx) created directly offline from .ptxt templates without Pro Tools open · DAWproject (.dawproject) for Fender Studio Pro, Cubase, Bitwig Studio, and other compatible hosts · optional prepared WAVs and fader reports for any DAW

Walkthrough

SessionPrep walkthrough video on YouTube

Watch the SessionPrep walkthrough on YouTube


Screenshots

Phase 1 — Track Layout
Phase 1 — Track Layout
Phase 2 — Analysis and Preparation
Phase 2 — Analysis & Preparation
Phase 2 — Spectrogram and Track Repairs
Phase 2 — Spectrogram & Repairs
Phase 3 — DAW Template Assignment
Phase 3 — DAW Template Assignment
Phase 3 — Signal Flow Table
Phase 3 — Signal Flow Table
Phase 3 — Signal Flow Graph
Phase 3 — Signal Flow Graph
More screenshots (Session Config, Preferences & Pro Tools Utils)
Phase 2 — Session Config
Phase 2 — Session Config
Preferences — Global and Presets
Preferences — Global & Presets
Preferences — Detectors and Gain
Preferences — Detectors & Gain
Preferences — DAW Transfer
Preferences — DAW Transfer
Pro Tools Utils — Color Picker
Pro Tools Utils — Color Picker
Pro Tools Utils — Track Heights
Pro Tools Utils — Track Heights

The Three-Phase Workflow

SessionPrep keeps you in control at every step while automating the repetitive prep work:

Phase 1 — Track Layout

Sort out messy client exports before analysis runs. Compare incoming and planned layouts side by side to drop silent files, collapse dual-mono stereo bounces to mono, extract the active channel from one-sided silent stereo files, split stereo files, rejoin split L/R files, merge mono doubles into stereo, and audition single or multiple selected tracks right inside the waveform view.

Phase 2 — Diagnostics, Repairs & Track Gain Staging

  • Preflight checks: Catches format/length mismatches, digital clipping, DC offset, stereo phase/mono fold-down issues, subsonic rumble, ultrasonic content, and outlier loud bursts — with per-detector overlays in a detachable waveform/spectrogram viewer.
  • Optional Track Repairs: Engage whole-track DC removal, subsonic high-pass, or ultrasonic filtering, audition Original against Corrected audio before gain is applied, and verify that findings clear.
  • Auto-Group & Gain Staging: Color-code tracks by instrument, link multi-mic groups so every mic shares the same gain, review or override per-track Peak-Capped RMS decisions, and optionally export prepared WAVs.

Phase 3 — Offline DAW Transfer

  • Native Pro Tools .ptx creation (offline): Reads your .ptxt template directly on disk and writes a brand-new .ptx session with BWF/UMID-linked Audio Files/ and non-destructive clip gain and faders — Pro Tools does not need to be open, and it runs on macOS, Windows, and Linux. Automates folder output routing, No Input clearing, Mix/Edit group creation, template VCA linking, and unused-branch cleanup.
  • DAWproject export: Audits your .dawproject template offline, embeds audio, writes Slot 1 VST3 trims (or optional clip-gain lanes) and faders, and prunes empty folders for Fender Studio Pro, Cubase, Bitwig Studio, and other compatible hosts.
  • Non-destructive Strip Silence: Opt-in per group (for spot mics, vocals, and intermittent tracks) with a live waveform preview, sliders, and gap-skipping playback. Both Pro Tools and DAWproject exports keep the full audio file intact with micro-faded clips so clip edges can always be dragged back out.
  • Signal Flow inspector & Batch Queue: Inspect every staged bus as a table or auto-routed graph, override any bus fader, or queue multiple sessions (.spbatch) for unattended export.

How Gain Staging Works

Track level: Peak-Capped RMS

SessionPrep applies a single static volume change per track using one continuous rule:

gain = min(target_rms - rms_anchor, target_peak - sample_peak, max_gain)

By default it aims for -18 dBFS unweighted RMS (anchored to P95 of gated active audio so loud sections like choruses set the level rather than silence or one stray shout) with a -6 dBFS sample-peak ceiling — both adjustable. Sharp high-crest sources like drums hit the peak ceiling first; sustained tracks like controlled vocals, bass, or pads hit the RMS target first while peaks stay below -6 dBFS.

By default, each track's pre-insert gain is paired with an inverse post-insert fader offset (plus a shared headroom shift if needed) to keep the incoming file-level balance intact — preserving the rough mix's static balance on post-fader exports (unity-fader modes are also available for pre-fader exports). Linked multi-mic groups share the lowest individual gain so kit and stereo balance stay untouched, and any track can be overridden to Auto, Peak, RMS, or Skip.

Multi-stage bus staging (Pro Tools & DAWproject)

Because track faders put the original balance back into your mixer, summing tracks into subgroups, stems, and a mix bus reintroduces level spread. SessionPrep sums your time-aligned audio offline through your template's real bus tree and applies the same Peak-Capped RMS rule at each insert-bearing bus:

Multi-Stage Peak-Capped RMS Gain Staging

Summing folders without inserts stay at unity; each insert-bearing bus gets a first-slot trim paired with an inverse bus fader so unequal routing depths stay balanced, while in balance-preserving modes the Mix Bus gets a single attenuate-only trim with its fader left untouched.

  • Supported trim plugins & slot safety: Uses stock Avid Trim (Pro Tools), DMG Audio TrackControl (AAX / VST3), or Process.Audio Protility (AAX / VST3). Existing first-slot trims are adjusted in place and SessionPrep never overwrites another plugin already sitting in Slot A / Slot 1.
  • Why offline instead of a plugin: Track plugins cannot read your template's routing tree or write native DAW clip gain and bus faders, and summed bus levels depend on how waveforms combine across the entire song.
  • Starting-line caveat: Bus trims are initial linear estimates computed before mix-time EQs, compressors, sends, and fader rides — once you start mixing, levels will naturally move, so level-match when comparing against the client's rough mix.

For the full engineering rationale and trade-offs, see docs/TECHNICAL.md. For every detector, parameter, and transfer option, see docs/REFERENCE.md.


Installation & Quick Start

Standalone download (no Python required)

Download the latest installer or bundle from GitHub Releases:

  • Windows: unified installer (auto-selects x64 or ARM64)
  • macOS: separate Apple Silicon (arm64) and Intel (x64) .dmg bundles
  • Linux: .tar.gz, .deb, and .rpm packages for x64 and ARM64

To run from source or build locally, see docs/DEVELOPMENT.md.

First session in 3 steps

  1. Open a multitrack folder (File → Open Folder…, Ctrl+O / ⌘O).
  2. Review Phase 1 Track Layout and Phase 2 findings, optional repairs, groups, and gain decisions.
  3. In Phase 3, select your Pro Tools or DAWproject template, assign tracks to folders (or click Auto-Assign), review Signal Flow and optional Strip Silence, and click Create.

Extras & Automation

  • Pro Tools Utils (Tools → Pro Tools Utils…): Optional companion window that connects to a running Pro Tools session over PTSL for live Color Picker swatches (CIE L*a*b* matched to Pro Tools) and named Track Height presets. See docs/REFERENCE.md §8.
  • CLI & Python automation: All core analysis, repair, and gain-staging logic lives in sessionpreplib, powering both the standalone sessionprep CLI (included in Windows and Linux releases) and custom Python batch scripts. See docs/CLI.md and docs/DEVELOPMENT.md.

Documentation

Document Contents
README.md Overview, desktop GUI workflow, installation, quick start
docs/TECHNICAL.md Audio engineering background, Peak-Capped RMS & multi-stage gain-staging concepts
docs/REFERENCE.md Detectors, metrics, GUI controls, Pro Tools Utils, DAW transfer, preferences & logging
docs/CLI.md Command-line usage, flags, examples, and Python automation (sessionpreplib)
docs/DEVELOPMENT.md Development setup, testing, local Nuitka builds, library & GUI architecture

License

LGPL-3.0-or-later. See LICENSE and docs/THIRD_PARTY_NOTICES.md.

About

Offline mix-session preparation for Pro Tools and DAWproject: track layout, diagnostics, and multi-stage gain staging

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages