From 62ac2e2d88276c325a640e9b312f3459ebc143e0 Mon Sep 17 00:00:00 2001 From: 3dtours Date: Mon, 27 Jul 2026 11:22:01 +0700 Subject: [PATCH] chore: add wiki log --- wiki.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wiki.md b/wiki.md index 616cc94..37cc354 100644 --- a/wiki.md +++ b/wiki.md @@ -409,3 +409,8 @@ - **MIDI channel**: truyền msg.data[0]&0x0F vào playNote/stopNote - **CC64 sustain/CC1 modulation**: forward qua SonicSF.controllerChange - **Pitch Bend**: forward qua SonicSF.pitchBend (14-bit) + +### [2026-07-27 11:20] Fix: All Notes Off (CC123) before MIDI NoteOn +- **Nguyên nhân:** SoundFonts như saxophone có release envelope dài, noteOff không tắt âm ngay +- **Fix:** Gửi `controllerChange(ch, 123, 0)` = All Notes Off trước mỗi NoteOn từ MIDI keyboard +- **Kết quả:** Note trước tắt ngay khi play note mới, không còn đè âm