# Arrangement Studio / v0.6 ## Audio routing Import -> immutable source -> user-assisted mini inventory -> optional plan -> real source separator -> actual WAV stems -> mixer offline rendering -> float WAV + independent report. The plan is metadata only. An "instrument" in the plan is not a synthesized or separated track and must never be represented as a stem. ## OMEGA-TAG Mini `python -m app.mini_model --train` reproduces synthetic two-stage training with a fixed seed. Re-training replaces the checked-in mini model artifact, so keep a backup if reproducibility is required. Its six activations are *uncalibrated*. The model analyzes at most twelve short windows, so segments missed by sampling can go undetected. Sounds containing musical hiss, cymbals or reverb may trigger the 'noise texture' tag. The mini model must never authorize irreversible noise subtraction. The tiny model is not the engine that extracts sources; HPSS and Demucs adapters provide the actual separation. ## Non-destructive mix `app/mixer.py`: sample-aligned chunked float WAV mix. Gain, Mute, Solo, constant- center-gain stereo balance, low/high cuts (stateful IIR), tanh saturation, Mid/Side width. Warning if output peak exceeds 0 dBFS; no hidden normalization. Optional FFmpeg rubberband independent time stretch + pitch shifting. Users should re-evaluate all effects when changing tempo/pitch, since no perceptual losslessness can be assured. ## Practical limits Up to 128 plan targets, up to 128 simultaneously mixed real stems in code. Heavy sessions can exceed open-file/resource limits; not a hard promise of 128 instrument-aware separations. Source sample rates, lengths and channels must match. No real-time multi-audio-device ASIO/AU/VST plugin hosting in this version. Stereo track waveform uses sparse sampling, not bit-exact peak extraction. Audio-player previews isolated stems; full multitrack playback requires an explicit offline mix render and is not DAW-grade zero-latency audition.