Description:
Add optional
MIDI stem capture
to Session Recording so Loopy Pro records MIDI alongside audio—per track/color and at user-defined tap-points (input, post-FX, or outgoing). Export as Standard MIDI Files (Type 1), aligned to the session’s tempo map, time signature, and bar starts.
Problem:
Session Recording excels at audio stems, but many users also need the
exact MIDI that was played or generated
(notes, CC/PC, pitch bend, aftertouch, MPE) for later editing, re-instrumentation, or re-rendering. Without MIDI stems, you must re-perform or guess from audio, which kills flexibility and slows post-production.
Proposed Solution:
  • Capture Matrix (choose any):
-
Per-Track Input (Pre)
— raw incoming MIDI to that track (pre quantize/FX).
-
Per-Track Post-FX (Post)
— after MIDI plugins/transformers.
-
Global Out
— the consolidated MIDI Loopy Pro sends out (to AUv3/hardware).
-
Per-Clip Playback (Optional)
— MIDI emitted by playing clips on that track.
  • Data & Fidelity:
    Notes, CC (7-bit & 14-bit), Pitch Bend (14-bit), Poly/Channel Aftertouch, Program Change, RPN/NRPN, MPE (per-channel). Optional SysEx (size-limited).
  • Timing & Alignment:
    Sample/clock-accurate timestamps; embeds
    tempo map & time-signature
    ; respects count-in/out, latency/MIDI offset, and quantize settings.
  • Quantize Options (per capture):
    Raw
    ,
    Post-Quantize
    , or
    Both
    (write two lanes/files).
  • File Layout & Naming:
    One SMF per selected scope (e.g.,
    Keys-Track (Post).mid
    ,
    Drums-GlobalOut.mid
    ); color/track names included; bar-aligned starts.
  • Session Export Integration:
    New
    “MIDI Stems”
    toggle alongside audio stems; bundle with audio in the session export folder/zip.
  • Recovery & Safety:
    Works with Auto-Save/Recovery; warns on missing tempo; clamps negative offsets beyond look-ahead.
  • Actions & API:
    Toggle MIDI Stem Capture
    ,
    Set Capture Tap-Point
    ,
    Include/Exclude Clip Playback
    ,
    Export Now
    . Vars:
    midiCaptureEnabled
    ,
    tapPoint
    ,
    midiEventsRecorded
    ,
    mpeEnabled
    .
Benefits:
  • Full creative freedom post-show:
    re-voice, re-mix, or re-render
    tracks from exact performance data.
  • Accurate archival of controller moves (CC/Bend/AT) and program changes.
  • Faster collaboration—send compact MIDI + a reference mix instead of giant multitracks.
  • Reliable synchronization with audio stems for tight DAW workflows.
Examples:
  • Capture
    Keys (Post-FX)
    to keep chord voicings + sustain CC exactly as performed; later swap pianos in a DAW.
  • Record
    Global Out
    to preserve program changes and automation sent to an external synth—then re-render via the same rig.
  • For an MPE controller, save
    per-track Post
    MIDI to retain per-note bends/pressure; export audio stems +
    .mid
    for detailed editing.
  • Enable
    Both (Raw + Post-Quantize)
    on Drums to choose between human feel and grid-tight editing later.
This summary was automatically generated by GPT-5 Thinking on 2025-09-14.
```
Original Post:
Have the option of the midi performance/loops be captured and exported as midi files along with the audio stems.