fix(ui): wire Synth button to VST3 selection and render engine

- UI: setTrackInstrumentWithProgram stores instrumentId + enables MIDI type
- UI: SoundFont preset selection now passes soundfont_bank to server
- Server: render_engine reads instrument_id field (fallback instrument)
- Serialize/deserialize: soundfont_bank, soundfont_program preserved
- Rebuilt app.precompiled.js from app.jsx
This commit is contained in:
2026-07-26 16:25:26 +07:00
parent 3e805179c2
commit 2ab989132b
4 changed files with 20 additions and 8 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ class PythonRenderEngine:
if midi_events:
try:
instrument_id = track.get("instrument", "")
instrument_id = track.get("instrument_id", "") or track.get("instrument", "")
plugin_mgr = PluginManager()
vst = plugin_mgr.load_vst(instrument_id) if instrument_id else None