From 3d2930dca5592d5fe5d7ab9b98cbdd0f7a85c3c1 Mon Sep 17 00:00:00 2001 From: 3dtours Date: Sun, 26 Jul 2026 17:51:48 +0700 Subject: [PATCH] chore: add SF3+SpessaSynth log to wiki --- wiki.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wiki.md b/wiki.md index 5c53826..2bbd740 100644 --- a/wiki.md +++ b/wiki.md @@ -1,3 +1,9 @@ +### [2026-07-26 17:50] Task: Implement SF3 conversion + SpessaSynth client player +- **Tóm tắt thay đổi:** Python SF2→SF3 converter (ffmpeg Ogg Vorbis), startup auto-convert, download endpoint ưu tiên SF3. Client: IndexedDB cache, soundfontPlayer.js dual-mode (SpessaSynth + oscillator fallback), init + loadSF trong app.jsx. +- **Các file ảnh hưởng:** `Dockerfile`, `app/core/soundfont_converter.py` (NEW), `app/api/v1/plugins.py`, `app/main.py`, `app/templates/index.html`, `app/static/js/services/soundfontStorage.js` (NEW), `app/static/js/services/soundfontPlayer.js`, `app/static/js/app.jsx` +- **Ghi chú/Test (nếu có):** DSK 11M→1.1MB (90%), SGM 529M→18MB (97%). SpessaSynth load từ CDN. Fallback oscillator nếu offline. +--- + ### [2026-07-26 17:25] Task: Fix duplicate Synth + MIDI keyboard silent handler - **Tóm tắt thay đổi:** Xoá nút Synth nhỏ giữa ARM và Monitor (dư thừa). Sửa MIDI keyboard handler: bỏ try/catch rỗng, thêm fallback tìm track armed trong main session, pass synth_engine context. - **Các file ảnh hưởng:** `app/static/js/app.jsx`