0cca84c5f9
daw_vst_bridge --render <job.json> --out <clip.wav> renders MIDI notes through the same instrument engines as realtime (SF2/SFZ/VST3/VST2) to a 16-bit stereo WAV, headless, no SHM. Mirrors plugins.py/vst_engine.py note semantics (velocity int(vel*127), bank CC0 + program at t=0, beatSec 60/max(30,bpm), totalNeeded max(1024,endSample), no tail). Chunk clamped to 256 to match VST3 host prepared buffers. Uses vendored sheredom json.h (gated on HAVE_VST3SDK); rc: 0 ok, 1 arg/job error, 2 load fail, 3 crash. Partial output removed on failure. Verified: SF2, SFZ, Nexus VST3 render non-silent at exact duration; 9/9 tests pass.
1.5 MiB
1.5 MiB