fix: route PR notes through bridge when active (VST3/SF2 playback via Play button)

Two guards: schedulePianoRollMidi skips native SF item scheduling while bridge is active; scheduleMidiNoteDispatch lets notes pass to the MIDI router when a piano-roll sub-tab is playing. Verified on Windows: SF2 peak 0.026, VST3 ACDD native GUI + peak 0.074 via Play button. Docs: TEST_NOTES.md, TASKS.md.
This commit is contained in:
2026-08-13 08:21:37 +07:00
parent 36fb546d58
commit f8a981b27f
4 changed files with 18 additions and 10 deletions
+1
View File
@@ -41,6 +41,7 @@ Ký hiệu: **[MỚI]** tạo mới, **[THAY]** thay thế/đổi luồng hiện
> (trước: check ngay → "no instrument loaded" khi VST3 init chưa xong).
> C++ VST3 host thật đã có đủ (Vst3Instrument.cpp 592 dòng, HAVE_VST3SDK). Bundle rebuilt OK (1209801 B);
> `bridgeAudioNode.js` + `app.precompiled.js` version bump trong index.html. Chạy Windows theo TEST_NOTES.
> **KẾT QUẢ TEST WINDOWS 2026-08-12:** cả 2 yêu cầu PASS — SF2 (024_BigSymphny) PR play peak 0.026468; VST3 ACDD: native GUI mở (class SonicForge_Native_VST3_Class), keybed 0.115554, dispatch 0.153984, PR play nút Play 0.073984. Chi tiết: TEST_NOTES.md §“Kết quả test THẬT Windows”.
---