Commit Graph

749 Commits

Author SHA1 Message Date
admin 02ebf41e97 v17: Select Instrument modal highlight instrument dang load (SF preset + VST) 2026-08-26 17:17:21 +07:00
admin a0f5f98209 v16b: revert EXPRESSION_CC 7 -> 11 (test CC7 xong, ve CC11 expression) 2026-08-26 17:04:31 +07:00
admin 0e555114f8 v16: persist cc11_global_curve qua save/load (item + sub_tabs) + commitCC11Curve dong bo subTab st.notes (CC11 realtime khi Play) 2026-08-26 16:58:44 +07:00
admin 24109f8bc4 v15b: fix CC7 to VSTi (legacy tag kHostMidiCC+cc + volume-param fallback), CC lane grid + 0/+- labels 2026-08-26 16:45:42 +07:00
admin e54dec4010 Fix: persist expression_curve qua project save/load; TEST CC7 thay CC11 2026-08-26 16:29:54 +07:00
admin f10f9873e9 Fix: carry expression_curve qua native track render + cache key 2026-08-26 16:20:53 +07:00
admin 5689536fb1 CC11: global curve from first to last note, manual node add/drag/remove 2026-08-26 16:15:47 +07:00
admin 56235623cd v13: CC11 default dashed lien tuc tu note dau den note cuoi (khong per-note); node tao tren dashed 2026-08-26 16:06:08 +07:00
admin e6b5e7f4d7 v12: CC11 default = flat bar at default automation pos (no auto nodes); click add node, drag move, right-click remove 2026-08-26 13:02:58 +07:00
admin fd50d99250 v11: fix CC11 lane sync - engine serve precompiled stale; click=add node, drag=move, right-click=remove; shared mode when no selection 2026-08-26 12:48:39 +07:00
admin b63e5b21d6 fix(cc11): replace auto-select (khong accumulate) + prefer selected note khi click lane (chord) + bump cache-buster v-param 2026-08-26 12:01:21 +07:00
admin 74dccaf54a feat(cc11): lane header CC dropdown + graph thread (2 fixed end nodes, preview-draw drag fix flicker) 2026-08-26 11:48:13 +07:00
admin a800834c89 fix(cc11): auto-select note on CC11 lane click so curve is visible
Draw branch renders expression curve only for selected notes, but
handleCC11MouseDown never selected the note -> anchors added but
invisible. Select the clicked note before adding the anchor.
2026-08-26 11:31:03 +07:00
admin 2c96a223af feat: CC11 expression automation (spec midi_note_cc11_expression)
- MIDINote schema + expression_curve (position_ratio 0..1, value 0..127)
- Piano roll CC lane mode Expression (CC11): draw/move/del anchors
- Offline: _expression_events grid 64 samples -> job.events -> RenderJob.cpp sample-accurate CC
- Realtime: scheduleNoteExpressionCC11 grid 16ms via bridge pushEvent / SonicSF fallback, epoch-guarded, cleared on stop
- tests/test_cc11_expression.py 6/6 (unit interp/grid/clamp + integration energy follows curve)
- rebuild daw_vst_bridge (narrowing fix) + sync binaries/dist, babel rebuild + sync 5 copies
2026-08-26 11:14:56 +07:00
admin c146d3eb14 fix(export): offline render VSTi qua engine khi chua play — fill midiCacheRef khong can play truoc 2026-08-26 07:51:08 +07:00
admin dd17f87e4e fix(bounce): offline render qua native bridge — bỏ gap realtime, thêm headroom, strip DIAG 2026-08-25 09:11:29 +07:00
admin 4037dbf40d fix(bounce): declare _lastDiag — second ReferenceError in BridgeAudioNode 2026-08-25 08:51:46 +07:00
admin ea3de8b53c fix(bounce): declare _frames/_peak in BridgeAudioNode — ReferenceError killed audio sink 2026-08-25 08:42:52 +07:00
admin cd63ae1901 debug(bounce): capture AUDIO_CB_ERR + BRIDGE_AUDIO_ENTER to find silent onAudio failure 2026-08-25 08:40:48 +07:00
admin 662383e538 debug(bounce): EVT_REG/BRIDGE_EVT_RX/WI_QUERY diag + fix PUSH_SENT typo 2026-08-25 08:11:02 +07:00
admin 8ef1935068 fix(midi): prefix _pushEnter/_pushSent/_pushOk/_pushFail with this. — ReferenceError blocked dispatchMidiEvent (v=202608250116) 2026-08-25 07:58:14 +07:00
admin 388da8b380 fix(midi): _pushEvt -> this._pushEvt — ReferenceError killed pushEvent before PUSH_ROUTE; ?v=202608250054 2026-08-25 07:55:11 +07:00
admin 109a8f5c5b debug(midi): PUSH_CALL fingerprint + PUSH_EXC + ?v=202608250051 — isolate stale-JS vs pushEvent break 2026-08-25 07:52:59 +07:00
admin 60d1eee107 debug(midi): diag PUSH_ROUTE/PUSH_ENTER — pin pushEvent->dispatchMidiEvent break point 2026-08-25 07:36:20 +07:00
admin a00c57d44f fix(ui): black screen — isExportingRef.current = isExporting dat truoc khai bao isExporting (TDZ ReferenceError moi render); bo sync, bounce set true/false tuong minh 2026-08-25 07:31:34 +07:00
admin fb59184dd2 fix(bounce): guardPlay drop het note-on — isPlayingRef bi render ghi de =false khi bounce setState; them isExportingRef vao guardPlay (bounce = dang phat that) + TMR_FIRE diag 2026-08-25 07:28:37 +07:00
admin 51891ac8b9 debug: HB heartbeat 250ms + DISPATCH_ON truoc pushEvent + PUSH_SENT/PUSH_MIDI_TIMEOUT (race 800ms) cho bounce silent — phan biet main-thread block vs Rust hang 2026-08-25 07:23:59 +07:00
admin f8a500c050 debug: diag PUSH_MIDI ok/fail cho push_midi_event (nghi midi queue full — bridge khong nhan note trong bounce) 2026-08-25 07:05:41 +07:00
admin f741e1e1f1 debug: DIAG bang overlay textarea co nut Copy thay cho window.alert (text khong copy duoc) 2026-08-25 07:01:38 +07:00
admin ba7c03ca5e fix: bounce silent — AudioRoutingEngine no longer full-tears-down sink on dest change
stopAllPlayback->updateSfRouting->startTrackPlayback reroutes bridge sink
twice during bounce; each dest change previously called this.disconnect()
= BridgeAudioNode teardown + async worklet reload, audio swallowed into
_preBuffer (bounded 64 blocks) forever if worklet never reactivates ->
silent WAV (only old reverb tail). Fix: rely on BridgeAudioNode.connect()
re-pointing _gainNode (already handles dest switch without teardown);
init() only when not ready. Add __sfDiag ROUTE + BRIDGE_AUDIO (frames/
peak/path per sec) to verify at bounce end.
2026-08-24 22:02:31 +07:00
admin 9cd6113086 debug: diag logs cho bounce silent — router/native path 2026-08-24 21:42:49 +07:00
admin bf98038572 fix(bridge): soundfont track khong co trong thu vien (sf_generaluser_gs) fallback sang GM font co san -> bounce ra du track, het cam 2026-08-24 21:13:53 +07:00
admin 74bd6d849b fix(export): offline render tu tai file ve exportDir sau khi hoan thanh
renderMasteringExport truoc day chi hien toast 'Tai ve' (phai click) ->
user tuong khong co file. Gio tu fetch res.url -> saveExportViaDialog
(ghi thang vao exportDir da chon hoac save-dialog), toast kem path.
2026-08-24 20:54:50 +07:00
admin 4b643883ff fix(export): offline render dong export panel + hien progress timeline
renderMasteringExport khong tu dong export panel/progress (chi bounce cu
lam). triggerWavExport: nhanh offline render -> setShowExportPanel(false),
setShowExportProgress(true), setExportProgress(-1) truoc khi goi, reset
progress trong finally.
2026-08-24 20:51:13 +07:00
admin 1061a36626 fix(export): MIDI project WAV export qua server offline render thay vi bounce realtime
Bounce REALTIME race (note-on drop sau STOP / channel reload / watchdog
recovery) ra file chi 1 note roi cam hoac cam han. Offline render server
deterministic da xac nhan ra nhac day du (42.67s RMS ~0.24 moi giay).

triggerWavExport: project co MIDI + source=project + format=wav -> goi
renderMasteringExport (server /api/v1/plugins/render) thay vi bounce.
Bounce chi la fallback khi server disconnected va cache MIDI khong du.
2026-08-24 20:32:19 +07:00
admin 141fa4a141 fix(export): scale TPDF dither to 1 LSB — full-scale noise made bounce exports sound like white noise 2026-08-24 20:17:24 +07:00
admin 2b7c7cef2c Fix export WAV khong mo duoc: default 32-bit float -> PCM 16 (client + server render + plugins.py) 2026-08-24 19:58:44 +07:00
admin 5b747606c7 Rebrand SonicForge Studio -> ScoreFX Studio: UI names, About logo, favicon + icons for all exe builds 2026-08-24 19:28:22 +07:00
admin 2bcc8369a5 fix(export): MIDI offline khong co am thanh - cache preview cam/khong du -> tu chuyen sang bounce REALTIME (capture masterBus.output) thay vi xuat file cam 2026-08-24 18:59:22 +07:00
admin 8639529ecd fix(export): offline export nhan MIDI-only tracks qua midi cache - filter khong loai track khong co buffer 2026-08-24 18:51:14 +07:00
admin 43b68200aa feat(export): modal tien trinh export rieng (khong dung statusbar) - dong modal settings ngay khi bam Export + bao loi that khi khong ghi duoc file 2026-08-24 18:43:50 +07:00
admin 8c972c3df2 fix(export): tu dong dong modal khi hoan tat + throttle setProgress 150ms (toc do export) + dong modal path server 2026-08-24 18:35:24 +07:00
admin 14f8340fdf fix(export): progress bar hien thi duoc - footer ngoai vung scroll + encode chunked yield + yield frame dau 2026-08-24 18:31:28 +07:00
admin fefe95d0a9 feat(export): stop transport khi export offline + check file export khong cam (peak < -60dB -> canh bao) 2026-08-24 18:26:52 +07:00
admin edbb477657 feat(export): thanh tien do offline export (render track VST -> encode -> save) trong ExportModal 2026-08-24 18:24:42 +07:00
admin 993afb9ee4 feat(export): modal chi 2 nut Export/Huy + option Realtime, Bounce MIDI chuyen vao menu File, bo auto-bounce offline 2026-08-24 18:19:11 +07:00
admin 26ca6e6ae0 fix(ui): VST GUI mo 1 click (khong kill bridge khi click lai) + File Export Mix mo modal + loading state embed 2026-08-24 18:10:48 +07:00
admin cea3b08999 fix(ui): move loop-selection effects after state init (TDZ crash -> black screen) 2026-08-24 18:02:09 +07:00
admin 51e62a1158 fix(ui): persist transport loop + panel mixer + redesign export modal (folder picker + default dir) 2026-08-24 17:47:40 +07:00
admin 09bc762218 fix(masterfx): xoa han panel Wave Observer khoi mastering modal - khong con hien sau khi dong GUI 2026-08-24 17:35:33 +07:00