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.