yuquanjun
91b270d856
Revert "Lower accompaniment by one octave for #IV and V-VII chords."
...
This reverts commit 439ccf439d .
2026-09-11 14:59:23 +08:00
yuquanjun
439ccf439d
Lower accompaniment by one octave for #IV and V-VII chords.
...
AutoBand ignores input octave, so shift engine MIDI output by -12 for those chords (except drums) to keep the range from low #IV up to natural IV.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 22:08:09 +08:00
yuquanjun
4aad989263
Reapply master volume at boot/mode-entry/play-start and sync volume bar on settings hub.
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 18:58:24 +08:00
yuquanjun
59c11f3f93
Fix BT recv stack smash and harden pitch/chord SysEx paths.
...
Enlarge BT recv stack, move large handlers/log buffers off the stack, clamp key indexes, and yield in W25Q busy-wait so BLE protocol tests stay stable.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 06:51:32 +08:00
yuquanjun
cd21e4e45e
Always enable loop on universal-mode pick so accompaniment can play.
...
Without SetLoopMode the piece path often produced no audible output when the chord pad was not held.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 11:35:14 +08:00
yuquanjun
92e5e32de3
Diagnose BIN3 LoadPreset failures and add flash bin3 tooling.
...
Log Flash magic on load failure, expose RTT flash bin3, and document the 0903 pack offset for the universal bank.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 11:32:40 +08:00
yuquanjun
4544f8706a
Release 0.2.3: fix local song HKTK load/play and keep tone map logs.
...
Use 41KB preset buffer with compressed 2.bin, expert/normal StartWithNote path, Flash Map address logs, and ship flash-mode/hub assets plus flash helpers.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 21:48:54 +08:00
yuquanjun
ee900b5657
Sync master volume from EC pot on every page and at boot.
...
Always Send_volume in MainTask, re-apply after DSP settle, and sync vol_last so UI bar matches Dream gain.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-06 07:15:04 +08:00
yuquanjun
f0c60a0024
Draw charge percent with MiSans glyphs for aligned 50%.
...
Replace bitmap-font % with shared-baseline Semibold digit bitmaps.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 21:11:28 +08:00
yuquanjun
bc41d27730
Fix charge-screen battery percent clip to match 0904 design.
...
Draw 16px glyphs at y=269 so the full 50% matches the design bbox.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 20:48:52 +08:00
yuquanjun
0e57fa452f
Harden charge UI draw when ExtFlash asset missing.
...
Fill dark background first, overlay % at size 24, and fall back if charge bitmap is erased.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 20:39:11 +08:00
yuquanjun
d960d88147
Show full-screen charge UI when USB plugs in while soft-off.
...
Avoid auto Logo boot on USB reset; enter charge page instead of mode select.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 19:58:42 +08:00
yuquanjun
f179a46c5d
Fix teacher accomp issues and add ExtFlash chip-erase helper.
...
Pick fires on downstroke; #IV drops an octave; local songs use 2.bin; transpose updates notes without restart; intro starts on key I; boot string volume/PC corrected.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 17:06:02 +08:00
yuquanjun
2f84c3bb9b
Add 0902 full-screen boot logo to external UI resource pack.
...
Draw POWER_ON from UI0902_BOOT_LOGO, add ui boot RTT preview command, and harden RTT flash ACK pacing.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 16:57:36 +08:00
yuquanjun
e62c2270af
Fix mode-row asset pairing and add RTT external UI flash path.
...
- Map 0902 rows as 16/19 universal, 17/20 normal, 18/21 expert
- Add flash ui0902 RTT writer; avoid LCD dump stealing down bytes
- Restore UI_ReturnToModeSelect; shrink flash-trans RAM use
- Disable mode-select debug touch crosses
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 15:24:49 +08:00
yuquanjun
42534a28b8
Add RTT touch diagnostics: tp status/live commands and live event monitor.
...
Harden reset/recover when RTT is missing, and stream touch/UI events only on press for field debugging.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 21:59:13 +08:00
yuquanjun
d48e3fa63a
Stabilize non-Mixer click handling and page-change touch suppress.
...
Report clicks on release for navigation pages, suppress residual presses after UI switch, and log touch task edges.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 21:59:12 +08:00
yuquanjun
956eeee1a5
Add RTT sys reset command and remote reboot script with CPU resume.
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 12:31:53 +08:00
yuquanjun
7fea921727
Add J-Link RTT logging module with RAM ring buffer and dump tool.
...
Log boot/power/touch/key/UI/NVM events; export via rtt_log_dump.py for field diagnostics.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 11:24:10 +08:00
yuquanjun
b8eaf2c808
Fix mode-select focus and touch pipeline; add return-to-home gesture.
...
Preserve focus across redraws, improve XPT2046 sampling, and log touch coords via RTT for ongoing debug.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 11:13:01 +08:00
yuquanjun
37242f108a
Align status bar volume icon with UI spec.
...
Replace the old volume bars with 5 rounded-top bars using a left-to-right brightness gradient, synced from the ADC volume pot.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-28 10:07:48 +08:00
yuquanjun
3302c92f5a
Initial commit: YNGJ-GT1-M K1电吉他 AT32F403ARCT7 嵌入式源码
...
包含 IAR 工程、Bootloader、RT-Thread、应用层及外设驱动源码。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 07:26:58 +08:00