Repository navigation
[DONE] 정리 3단계 PR 10 — MIDI 페이지가 손잡이 한 바퀴를 24칸으로 센다 - #46
Merged
patternflow-bot merged 2 commits intoOct 15, 2026
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014rEhCHkHjw1FZQfKrHprFn
The PEC11R-4220F-S0024 has 24; the page, core_midi.h and midi-spec.md said 20. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014rEhCHkHjw1FZQfKrHprFn
patternflow-bot
marked this pull request as ready for review
October 15, 2026 05:44
patternflow-bot
deleted the
claude/patternflow-cleanup-step3-pr10-wqzj3a
branch
October 15, 2026 05:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
studio / https://claude.ai/code/session_014rEhCHkHjw1FZQfKrHprFn
정리 3단계 계획서 표의 PR 10 이고, 정리가 아니라 고침이다. 콘솔 MIDI 페이지의 감도 칸이 손잡이 한 바퀴를 20칸으로 셈해서 1 : 1 이 「20/turn · 6.4 turns」로 보였는데, 엔코더 PEC11R-4220F-S0024 는 24칸이다. 머지하면 「24/turn · 5.3 turns」처럼 실제와 맞는 숫자가 보이고, 패널이 DAW 로 보내는 값은 그대로다.
좋아지는 것: MIDI 감도 칸이 한 바퀴를 맞게 센다 — 적힌 바퀴 수대로 돌리면 끝까지 간다
할 일
docs/rfc-cleanup.md§2.1·§2.5·§2.9·§2.11,docs/voice.md를 읽는다midi.html,midi_index.h(생성),core_midi.h,docs/midi-spec.mdconsole_pages.py build로midi_index.h를 다시 짓고check,check_boundaries.py,check_midi.py를 돌린다check:ci, 잠금, 글투 검사, doc-map 을 돌린다(CSV 는 되돌린다)fd7f83f에서 모두 success(펌웨어 다섯 구성 포함)ef4864a그대로라 이미 최신)한 일
firmware/patternflow/console/midi.html:rowText가perTurn=24*g[0]/g[1]로 센다. 그 위 주석은 「24 detents a turn (PEC11R-4220F-S0024)」. 읽기 칸 너비를 설명하는 CSS 주석의 가장 긴 읽기도 29(1/16, 101.6 turns)에서 28(1/16, 84.7 turns)로 고쳤다. 너비32ch는 그대로다.firmware/patternflow/features/midi/midi_index.h:console_pages.py build가 다시 지었다. 손으로 고친 줄은 없다. 바뀐 891줄 가운데 881줄은 gzip 쌍둥이 바이트 배열이고, 나머지는 위 세 줄과 gzip 크기 주석이다(18973→18993 바이트, gzip 7026→7047).firmware/patternflow/features/midi/core_midi.h:outDiv설명 주석이 「24 detents a turn, so at 1 a full turn is 24 steps and at 4 it is 6」. 코드는 그대로다.docs/midi-spec.md:outDiv행이 「1is 24 steps per turn and4is 6」.outDiv·outMul의 범위와 기본값, 바이트로 나가는 CC 는 바뀌지 않았다.증거
GitHub, 이 PR 의
fd7f83f: Firmware builds(default·audio·midi·performance·clock), Drift checks, Console pages in sync, Core knows no features, Docs point at files that exist 모두 success. Web CI 는 경로 필터 밖이라 돌지 않았다.로컬:
doc-map 이 커밋된 CSV 와 다르게 쓴 줄은 둘이고 둘 다 dev 에 이미 있는
docs/investigations/2026-10-panel-geometry.md에서 나가는 링크다. 이 PR 의 줄은 없고, 두 CSV 는git checkout으로 되돌렸다.미리보기 서버(
console_serve.py, 모의 장치는 K1 1:1 · K2 ×2 · K3 1/4 · K4 1:1)로/midi를 열어 Playwright 로 감도 칸 네 줄을 읽었다:열두 단계 전부를 같은 식으로 셈하면 가장 긴 읽기는 「1/16 · 1.5/turn · 84.7 turns」 28자다.
실행법
패널에서는 MIDI 구성(
./firmware/bundles/build.sh midi)을 올리고 콘솔의 MIDI 페이지를 연다.가정
CHANGELOG.md,docs/rfc-cleanup-progress.md, doc-map CSV 는 안 고쳤다. 라벨cleanup·step-3은 포크에 없어서 달지 않았다.midi.html의 CSS 주석은 계획서에 따로 적혀 있지 않지만, 24로 세면 「가장 긴 읽기 29, 1/16 at 101.6 turns」가 틀린 말이 되어 같이 고쳤다. 칸 너비32ch는 28자에 여유가 더 생길 뿐이라 바꾸지 않았다. 너비를 줄이는 건 레이아웃 변경이다.docs/midi-spec.md의 버전 기록에는 줄을 더하지 않았다. 선로로 오가는 값이 바뀐 게 아니고, 바퀴당 칸 수를 적은 문장이 틀렸던 것이다.midi-v0.1.0은 건드리지 않았다. 그 이미지의 MIDI 페이지는 계속 20/turn 으로 보인다(계획서 k10 「stays frozen」).midi_index.h의 891줄은 생성물이라 300줄 셈에서 뺐다(계획서 D8). 손으로 고친 줄은 7줄이다.firmware:로 썼다. 바뀐 것이 MIDI 구성의 콘솔 페이지다.Changelog
Firmware
Docs
docs/midi-spec.mdsays 24 detents a turn.outDiv=1is 24 steps a turn and4is 6, where it said 20 and 5.Upstream
midi_index.hregenerated, andcore_midi.handdocs/midi-spec.mdsay 24. A fix, not a cleanup: what the panel sends is unchanged.firmware/bundles/build.sh allin CI, five compositions green;console_pages.py check,check_boundaries.py,check_midi.py;npm run typecheck,npm run lint,npm run check:ci(includescheck:panels),npm run check:human-lock,npm run check:voicepass.🤖 Generated with Claude Code
https://claude.ai/code/session_014rEhCHkHjw1FZQfKrHprFn