Go to file
yuquanjun ef41eb30fa fix(chord): song-mode LED no longer overwrites chord map (6m/Am -> AM7)
Problem2: in song mode UI shows 6m(Am) but MIDI played AM7
(E2 A2 E3 G#3 C#4 E4). Root cause: BL_Set_led wrote the LED frame's
chord code into chord_type_index_map of the group middle key
(LED_L6 -> key17), so a guidance frame carrying 0x02 (M7) turned the
Am key into AM7. Remapping on the chord page only helped until the
next LED frame.

- BL_Set_led: light LED only, drop all chord_type_index_map writes;
  chord quality is owned by map page 02 03/02 04 (BT_Chord_offset_map)
- handleReadRhythmMap / Return_Light_buff: fix type->protocol read-back
  encoding (m7->0x0A, M7->0x02, ad9->0x04, m7-5->0x0B, sus2->0x1F,
  sus4->0x1E), re-landing the 0917 verified fix
- BT_Chord_offset_map: accept dominant-7 doc code 0x0D (legacy 0x13 kept)
- tests: test_chord_map_fix.py (16/16 PASS on device),
  test_fret_positions.py, test_problem2_song_am.py (7/7 PASS:
  post-LED strum stays E2 A2 E3 A3 C4 E4)

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-22 11:40:51 +08:00
APP feat(power): low-battery tip screen and auto power-off below 6.2V 2026-09-21 17:53:13 +08:00
AT32F403ARCT7_BOOT Fix missing 择 on mode-home timbre label. 2026-09-07 13:48:18 +08:00
Global fix(chord): song-mode LED no longer overwrites chord map (6m/Am -> AM7) 2026-09-22 11:40:51 +08:00
MyCode fix(reg): apply overall -12 for transpose >= #F on I/II too 2026-09-21 17:18:30 +08:00
UI fix(free): keep all fret LEDs green during normal-mode playback 2026-09-21 17:18:30 +08:00
device feat(ui): show charging battery icon when Type-C is plugged 2026-09-19 17:58:33 +08:00
driver Persist Bluetooth switch in NVM and restore it across power cycles. 2026-09-07 08:26:45 +08:00
libraries Initial commit: YNGJ-GT1-M K1电吉他 AT32F403ARCT7 嵌入式源码 2026-08-26 07:26:58 +08:00
middlewares Initial commit: YNGJ-GT1-M K1电吉他 AT32F403ARCT7 嵌入式源码 2026-08-26 07:26:58 +08:00
midi fix(midi): bank1 bass program is 33 not 34 2026-09-16 18:37:45 +08:00
project feat(power): low-battery tip screen and auto power-off below 6.2V 2026-09-21 17:53:13 +08:00
protocol fix(chord): song-mode LED no longer overwrites chord map (6m/Am -> AM7) 2026-09-22 11:40:51 +08:00
rt-thread Release 0.2.3: fix local song HKTK load/play and keep tone map logs. 2026-09-07 21:48:54 +08:00
scripts Auto-select Cortex-M4 on flash/capture so J-Link never prompts for device. 2026-08-30 20:11:17 +08:00
task feat(power): low-battery tip screen and auto power-off below 6.2V 2026-09-21 17:53:13 +08:00
third_party/segger_rtt Add J-Link RTT logging module with RAM ring buffer and dump tool. 2026-08-31 11:24:10 +08:00
tools fix(chord): song-mode LED no longer overwrites chord map (6m/Am -> AM7) 2026-09-22 11:40:51 +08:00
.gitignore chore: drop committed __pycache__ and ignore Python bytecode 2026-09-14 15:05:49 +08:00
DEVELOPMENT_SETUP.md Initial commit: YNGJ-GT1-M K1电吉他 AT32F403ARCT7 嵌入式源码 2026-08-26 07:26:58 +08:00
YNGJ-GT1-M.ATWP Initial commit: YNGJ-GT1-M K1电吉他 AT32F403ARCT7 嵌入式源码 2026-08-26 07:26:58 +08:00
run_k1_harness.bat test: stabilize HIL suites — inter-suite reset, async tm1617 inject, ACK-first 2026-09-14 16:16:11 +08:00
run_k1_harness.py test: stabilize HIL suites — inter-suite reset, async tm1617 inject, ACK-first 2026-09-14 16:16:11 +08:00