software · 01

sessionprep

tphzz/sessionprep0.4.0released

sessionprep

0.4.0 · released

Windows

macOS

Linux

New Features

  • Direct offline Pro Tools .ptx session creation: Creates new .ptx sessions directly from .ptxt templates on disk without Pro Tools needing to be open (works on macOS, Windows, and Linux), including BWF/UMID-linked Audio Files/, folder routing, No Input clearing, Mix/Edit groups, VCA linking, and unused-branch cleanup.
  • Multi-stage bus gain staging & Signal Flow inspector (Pro Tools & DAWproject): Sums time-aligned audio offline through your template's routing tree and stages insert-bearing busses (with pre-insert first-slot trims and inverse bus faders) plus an attenuate-only Mix Bus trim, inspectable in Phase 3 as a Table or auto-routed Graph with manual bus fader overrides.
  • Configurable Gain Insert Plugins: Supports stock Avid Trim (Pro Tools), DMG Audio TrackControl (AAX / VST3), and Process.Audio Protility (AAX / VST3) for pre-insert staging, with local AAX cache cross-checking on Windows/macOS and clean zero-donor .vstpreset generation for DAWproject.
  • Non-destructive Strip Silence (Pro Tools & DAWproject): Opt-in per group (with per-track overrides) plus a Phase 3 live waveform preview, parameter sliders, and a 3-way stripped-gap playback toggle (Play | Stop | Skip). Exports micro-faded subclips while keeping the full source audio intact so clip edges can always be dragged back out.
  • Peak-Capped RMS normalization: Replaced the bimodal split with one continuous Peak-Capped RMS rule (gain = min(target_rms - rms_anchor, target_peak - sample_peak, max_gain)), adding a -70 dBFS noise-floor hold, configurable max boost cap, next-highest peak comparison, lazy oversampled true-peak (dBTP) headroom checks, and per-track Auto / Peak / RMS / Skip overrides.
  • Optional Track Repairs & Original vs. Corrected audition: Added whole-track DC removal, subsonic high-pass (5–40 Hz), and ultrasonic filtering (≥ 50 kHz sources) in Phase 2, with sample-aligned Original/Corrected auditioning (10 ms crossfade), post-repair detector re-verification, and output headroom / boundary-settling checks.
  • DAWproject mix-template parity: Added offline template auditing, DAWproject 1.0 schema normalization, Slot 1 VST3 trims (or optional Clip Gain lanes for hosts like Bitwig Studio), nested Strip Silence subclips, and empty-folder/unused-bus pruning.
  • Detachable waveform window, scrollable multi-channel lanes & multi-track audition: Pop the live waveform/spectrogram preview into a floating window that follows you across Phases 1–3, scroll multi-channel lanes vertically, and audition multiple selected tracks together in Phase 1 with configurable mono pan law and uniform peak trim.
  • Pro Tools Utils — Track Heights presets & in-app Log Viewer: Added named Track Height presets (uniform or per track/ruler type across all, visible, or selected tracks) to the optional PTSL-based Pro Tools Utils window, plus an in-app Tools → Log Viewer.

Improvements

  • Faster startup: Deferred heavy UI and DSP module loading so both standalone executables and source launches reach the main window significantly faster.
  • Instant Phase 1 waveform preview & Spacebar queueing: Selecting single or multiple tracks shows cached peak previews immediately while full audio loads in the background, and pressing Space while loading queues playback automatically.
  • Overhauled Preferences & Session Config: Reorganized Preferences with a live Filter settings search box, live Signal Chain Preview strips, dirty-state dot markers, per-field resets, and an on-demand Setting Help dock (? / F1).
  • Expanded Phase 2 reports & contextual Help: Added a right-side scrolling Help panel for detector explanations, cleaner report typography, per-detector Visualize jump-to-overlay actions, and clearer Review file navigation from Summary.
  • Pro Tools template workflow & safer group defaults: Added OS default template browsing alongside explicit .ptxt paths on all platforms, expanded routing folders on creation, and left created/modified Mix/Edit groups deselected by default.
  • Unified progress & UI polish: Consolidated progress indicators, toolbar styling, collapsible waveform drawers, and narrow-pane layout behavior across all three phases.
  • Calibrated spectrograms & smoother monitoring: Improved Low (0–100 Hz) and High (20 kHz–Nyquist) spectrogram band-edge calibration, aligned RMS peak markers in time, and smoothed playback start/stop/seek transitions.
  • More stable Pro Tools Utils connection handling: Improved PTSL worker process stability, connection state feedback, and window sizing (including ultrawide displays).
  • Refreshed documentation & dedicated CLI guide: Refocused README.md on the desktop GUI, moved CLI usage and Python automation into docs/CLI.md, added per-detector tables to docs/REFERENCE.md, simplified docs/TECHNICAL.md, and replaced ASCII/SVG diagrams with rendered PNGs.

Fixed Bugs

  • Phase 1 waveform & multi-track playback races: Fixed crashes and stale preview errors when rapidly switching selections, reordering tracks in Track Layout, or reopening projects, and fixed Spacebar playback stalling while multi-track audio was still loading.
  • Offline Pro Tools .ptx track views & routing: Fixed native Edit window track views (Audio waveform vs. MIDI/Instrument notes/clips), stereo pan/LFE curves, mono subpath routing, and clip gain breakpoints in exported .ptx sessions.
  • Windows installer upgrades & universal packaging: Fixed upgrades stalling on locked sessionprep.ico handles and isolated x64/ARM64 installer blocks so installs no longer decompress the unused architecture.
  • Table mouse-wheel & Config scrolling: Prevented the mouse wheel from accidentally changing Phase 2 table dropdowns/spinboxes while scrolling, and fixed Phase 2 Config panels failing to scroll.
  • Detector overlay & parameter re-analysis routing: Fixed Visualize overlay selection state and ensured detector/processor config changes trigger the correct re-analysis scope without leaving stale results.
  • Window resizing & Pro Tools Utils flickering: Fixed a non-resizable main window state, incorrect initial window sizing, and flickering in the Pro Tools Utils window.
  • Standalone runtime dependencies: Removed the runtime git requirement in standalone builds (https://github.com/tphzz/sessionprep/issues/12) and fixed missing libsndfile / PortAudio bundling on Windows ARM64.
  • Short waveform & HiDPI rendering: Fixed rendering issues on very short waveforms and HiDPI/drawing glitches on change-marker buttons.
  • Spectrum & repair edge verification: Fixed out-of-band leakage, DC/Nyquist endpoint readings, and PCM quantization drift in repair verification and spectrogram meters.

Overview

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


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.