From 6c11daccf8c4fae0fb4ad220c1a95c81cc1c5c7e Mon Sep 17 00:00:00 2001 From: 3dtours Date: Fri, 31 Jul 2026 08:47:37 +0700 Subject: [PATCH] =?UTF-8?q?FIX:=20l=E1=BB=97i=20khi=20play=20MIDI=20th?= =?UTF-8?q?=C3=AC=20cho=20ph=C3=A9p=20active=20c=C3=A1c=20track=20kh=C3=A1?= =?UTF-8?q?c=20realtime?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wiki.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wiki.md b/wiki.md index b4efb79..a2f032f 100644 --- a/wiki.md +++ b/wiki.md @@ -957,3 +957,8 @@ - **Tóm tắt thay đổi:** Cập nhật cache-busting parameter `app.precompiled.js?v=202607310809` để trình duyệt load bản JS mới nhất có fix Ctrl+Shift+Click split MIDI note. - **Các file ảnh hưởng:** `app/templates/index.html` - **Ghi chú/Test (nếu có):** Hard reload (Ctrl+F5) để lấy bản JS mới. + +### [2026-07-31 08:40] Task: Click track name triggers realtime MIDI playback +- **Tóm tắt thay đổi:** Click vào track name ở cột trái → tự động play ngay MIDI notes của track đó (nếu có piano roll tab). Dùng `schedulePianoRollMidi(prTab, 0)` + `startSubTabPlayback(prTab, 0)` + `stopAllPlayback()`. +- **Các file ảnh hưởng:** `app/static/js/app.jsx`, `app/static/js/app.precompiled.js` +- **Ghi chú/Test (nếu có):** Hard reload để load JS mới. Click track có MIDI notes → nghe thấy phát ngay.