chore: add drum toggle log to wiki
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
### [2026-07-26 17:10] Task: Add Drum channel toggle on track panel
|
||||
- **Tóm tắt thay đổi:** Thêm button 🥁 trên track panel (giữa Solo và Record) để chuyển track sang drum channel 9. Khi active: set `is_percussion=true`, `soundfont_bank=128`. Thêm 🥁 indicator cho percussion presets (bank=128) trong instrument selector.
|
||||
- **Các file ảnh hưởng:** `app/static/js/app.jsx`
|
||||
- **Ghi chú/Test (nếu có):** Click 🥁 → track chuyển drum mode → render chạy channel 9.
|
||||
---
|
||||
|
||||
### [2026-07-26 17:05] Task: Fix FluidSynth API mismatch (silent fallback)
|
||||
- **Tóm tắt thay đổi:** Pyfluidsynth thực tế là low-level CFFI wrapper, không có class `FluidSynth()`. Dùng sai API → tất cả SoundFont render fallback về oscillator (silence). Fix: dùng `new_fluid_synth`, `fluid_synth_sfload`, `fluid_synth_program_select`, `fluid_synth_write_s16_stereo`. Đồng bộ internal clock bằng cách render silence qua `write_s16_stereo` thay vì chỉ advance cursor.
|
||||
- **Các file ảnh hưởng:** `app/core/render_engine.py`
|
||||
|
||||
Reference in New Issue
Block a user