Repository navigation
[DONE] 정리 4단계 PR 18 — MIDI 로 나가는 메시지 벡터 열한 개와 /api/midi 벡터 아홉 개가 가상 패널에서 돈다 - #88
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WnWnZzvrtVz8L7czv6JcHg
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WnWnZzvrtVz8L7czv6JcHg
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WnWnZzvrtVz8L7czv6JcHg
patternflow-bot
marked this pull request as ready for review
October 15, 2026 16:50
This was referenced Oct 15, 2026
engmung
pushed a commit
to engmung/Patternflow
that referenced
this pull request
Oct 15, 2026
engmung
pushed a commit
to engmung/Patternflow
that referenced
this pull request
Oct 15, 2026
Patternflow-lab#11 Patternflow-lab#12 Patternflow-lab#13 Patternflow-lab#15 Patternflow-lab#17 Patternflow-lab#14 Patternflow-lab#16 Patternflow-lab#19 Patternflow-lab#20 Patternflow-lab#18 Patternflow-lab#21 Patternflow-lab#23 Patternflow-lab#24 Patternflow-lab#25 Patternflow-lab#26 Patternflow-lab#28 Patternflow-lab#29 Patternflow-lab#30 Patternflow-lab#27 Patternflow-lab#31 Patternflow-lab#32 Patternflow-lab#34 Patternflow-lab#35 Patternflow-lab#33 Patternflow-lab#36 Patternflow-lab#37 Patternflow-lab#38 Patternflow-lab#39 Patternflow-lab#40 Patternflow-lab#41 Patternflow-lab#42 Patternflow-lab#43 Patternflow-lab#46 Patternflow-lab#44 Patternflow-lab#47 Patternflow-lab#48 Patternflow-lab#49 Patternflow-lab#45 Patternflow-lab#50 Patternflow-lab#51 Patternflow-lab#52 Patternflow-lab#54 Patternflow-lab#57 Patternflow-lab#55 Patternflow-lab#53 Patternflow-lab#56 Patternflow-lab#59 Patternflow-lab#58 Patternflow-lab#60 Patternflow-lab#61 Patternflow-lab#62 Patternflow-lab#63 Patternflow-lab#64 Patternflow-lab#65 Patternflow-lab#66 Patternflow-lab#67 Patternflow-lab#68 Patternflow-lab#69 Patternflow-lab#70 Patternflow-lab#72 Patternflow-lab#73 Patternflow-lab#71 Patternflow-lab#75 Patternflow-lab#74 Patternflow-lab#77 Patternflow-lab#78 Patternflow-lab#76 Patternflow-lab#79 Patternflow-lab#80 Patternflow-lab#81 Patternflow-lab#82 Patternflow-lab#84 Patternflow-lab#83 Patternflow-lab#85 Patternflow-lab#86 Patternflow-lab#87 Patternflow-lab#88 Patternflow-lab#90 Patternflow-lab#91 Patternflow-lab#89 Patternflow-lab#92
patternflow-bot
added a commit
that referenced
this pull request
Oct 16, 2026
… 않는다 (#94) * Add horizontal desktop printed enclosure and assembly instructions. Switch username to mbchars. * tools: case-models builds mbchars' horizontal desktop case mbchars.py puts the remix's printed parts together from its STLs (no assembled file exists): the three front sections where the joint bars' 36 mm insert pitch puts their lug holes, the covers on the sixteen inserts, the USB retainer on its boss and the stands on the bottom edge, each step checked against the README (410.28 x 176.16 x 42 mm), the board's encoder grid, the 320 x 160 mm panel and boolean overlaps. assemble.mjs learns ledTurn (the panel lies the long way here) and knobLook (the official knob, printed white), and lib/looks.mjs pla_orange, the 3MF's own #F46B16. The other three models rebuild byte-identical; the new one is 380 KB. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QGBYm64PnfneJq2ZDJ8Gs7 * web: /build's case switch and 3D preview get a fourth case, mbchars' horizontal desktop one The card is the remix README's own facts and photos (resized to 1200 px), the preview shows the device in the case, and the switch is four tabs, two by two on a phone. A case too wide for the view at the one scale (this one, 41 cm across on a desktop's tall canvas) is drawn smaller by as little as keeps it clear of the arrows; every case still fits at the one scale on a phone, and the three upright ones on a desktop. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QGBYm64PnfneJq2ZDJ8Gs7 * docs: changelog for mbchars' horizontal desktop case and the fourth preview case Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QGBYm64PnfneJq2ZDJ8Gs7 * web: ZuperZuche's build joins the map - the first print, from Moscow Found by accident, with the PCBs ordered ten minutes later; the 3D printer came a month on, bought for the case, and the case was the first thing it printed. Moscow was given, so the pin is on the city. The blurb stops at the printer. The maker's note about making the patterns with AI is left out on purpose, and there are no pronouns for the maker: the message does not say. Three photos: a pixel-art Mount Fuji beside a modular synth, a pixel-art frog pond seen from above, and a cat plush in front of the panel. groups.test.ts pins the number of countries on the real map; Russia is new, so 11 becomes 12. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * web: the 3D preview names whose case it is, in the build map's label On the Build tab the name on the case's tab (Official, Besoiobiy, SimonePDA, mbchars) stands over the device, on the build map's dark highlight. It follows the pick at once, as the tab does, and reads Official for a case whose model did not load. The knob hint moves under it while it is up. Changelog also gets the line for the arrows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * web, docs: the first flash starts in download mode, /flash goes to the guide's Flash chapter, and the README is new from its first screen The Play guide's 01 Flash (and /ko) puts hold BOOT, tap RST before Flash Patternflow on every first flash, assumes the Wi-Fi step after "Installation complete!" usually does not come (RST, Flash Patternflow again, Connect to Wi-Fi), and ends on the panel's own patternflow-xxxx network at 192.168.4.1 for when that does not take; the device simulator draws the NETWORK screen's hotspot. The Build guide's flash card, the Pattern tab's notes and the breadboard page give the same order. The bare /flash, which the device's Update page and every release's FLASHING.md point at, redirects to /guide/play#flash; /flash/manifest.json and /flash/bin/* are untouched. flash.test.ts pins the card order and anchors. The README opens with a one-line definition, the hero, the photosensitivity warning, four doors (Build, Play, Make patterns, Add sound) and First light; the story, community, facts and editions follow, shorter. The docs that give the first flash (firmware/README.md, PATTERN_GUIDE.md, SUPPORT.md, docs/assembly/) say the same order, the indexes list the guide pages, the three case remixes and the bundles that exist, and stale wording (the custom slots, "variant", the dead /flash page) is gone. CONTRIBUTING.md gets a row for the interactive guide's copy, and the pull request template asks for the row and the link check. From #7 (caaf2c1). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VaFtEmtx2AkdH1wnbQpV3Z * docs: the README opens with the fixed lines and three ways in, and First light follows the build The opening is L1 + L2 + L3 from docs/manifesto.md (Paik moves to Where it began, in L5's own words), with Play one in your browser, Build one and Get one assembled under the badges. First light moves below the build, gains the steps it was missing (unplug before seating, Origin as the sign of success, Format storage on the first Basics install) and states the J4 rule as data never power on the DevKit's ports. Stale lines are corrected against the repo: sound and MQTT shipped in editions, MIDI arrived in 3.9.0, 3.10.5 fixed four requests, and the photosensitivity warning is the manifesto's full text. From #8 (bfc4b22). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VaFtEmtx2AkdH1wnbQpV3Z * docs: BUILD_GUIDE flashes in the Play guide's order, and the README's campaign is still open BUILD_GUIDE §8.1 now goes download mode first (hold BOOT, tap RST), Flash Patternflow, the Wi-Fi as a second go after RST, the DevKit seated with the power bank unplugged, then the panel's own patternflow-xxxx network (K2 shows its name before the hotspot is up), then the Basics pack: the Play guide's 01 Flash card for card. §7 no longer seats the DevKit before it has firmware, so it is Wiring, and 7.4 names the step that powers up. The README's First light points at §8 again, and Crowd Supply reads as it stands: past its goal, open until 15 October; the 200% figure stays in the dated timeline. Besoiobiy's case README cites the renumbered steps. From #9 (16eca1b). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VaFtEmtx2AkdH1wnbQpV3Z * ## What changed **New journal post** — `fine` (ko + en), published 2026-10-13. Not highlighted. Putting the blog off but not past a week, a hand-written paper diary after months, being selected for Anthropic's Claude startup program, reading and music slipping, AI making time feel more pressing, the interview shoot for the introduction video at the startup center studio, the funding ending in two days, the apartment renovation that still hasn't happened, the visually impaired artist enjoying the Patternflow at the Seoul Station teardown, and parts bought for a workshop. **Two photos**, resized to 2000 px on the long side: - the interview studio (faces already pixelated in the source), after the interview paragraph; also the cover, since the author prefers not to lead with a face - the Seoul Station exhibition before the teardown, after the teardown paragraph ## Notes - The draft pasted the Korean section twice in `_temp/blog.md`; the second copy was clean and is the one used, so the text matches the English paragraph for paragraph (13 each). - Verified against the dev server: both language versions return 200, both images serve, and the index hero is this post with the interview photo as its thumbnail. Not in the highlighted rows. - `dev` and `main` were identical before this commit, so the PR carries only the post. 🤖 Generated with [Claude Code](https://claude.com/claude-code) BODY journal: new post "fine" Post (ko+en), not highlighted: the paper diary, the Claude startup program, the interview shoot for the introduction video, the funding ending in two days, the apartment still unrenovated, and the visually impaired artist enjoying the Patternflow at the teardown. Two photos at 2000 px: the interview studio (faces already pixelated), also the cover, and the exhibition before the teardown. The draft pasted the Korean section twice; the clean second copy is used. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: the cleanup has a baseline From #11 * docs: cleanup step 1 is planned From #12 * docs: the v2 build guide moved to `docs/legacy/BUILD_GUIDE_v2.md` From #13 * docs: the doc map lists the Korean/English pairs From #15 * docs: the doc map reads the YAML under `.github/` From #17 * docs: `CHANGELOG.md` is split by release into `docs/releases/` From #14 * docs: the community files moved to `.github/` and the audio guide to From #16 * docs: cleanup step 2 is planned From #19 * docs: cleanup step 3 is planned From #20 * docs: the project's writing voice is written down From #18 * docs: cleanup step 4 is planned From #21 * docs: the docs index and the repository map catch up with step 1 of the From #23 * docs: cleanup step 5 is planned From #24 * web: `check:features` fails when /features and the feature folders From #25 * web: `check:links-absolute` fails on a GitHub link into the repository From #26 * hardware: `check:bom` and `check:bom-schematic` hold the BOM to the From #28 * web: `check:editions` fails when the shelf and the bundles disagree From #29 * web: `check:presets` fails when a web preset cannot reach a panel From #30 * web: `check:human-lock` fails a pull request that changes a word of the From #27 * web: `check:changelog` fails when `CHANGELOG.md` and `docs/releases/` From #31 * web: every pull request runs the drift checks and the text lock From #32 * web: `check:roadmap` fails when a /roadmap node and its issues disagree From #34 * docs: the contributor docs say what CI runs on every pull request From #35 * web: `check:voice` points at the habits of generated prose, line by line From #33 * docs: `AGENTS.md` carries the writing-voice rule and the step 2 check From #36 * docs: the doc map is regenerated at the close of step 2 of the cleanup From #37 * web: five of the site's twelve lint warnings are gone From #38 * web: the seven `<img>` lint warnings carry a named exception From #39 * docs: where the panel size lives, line by line From #40 * web: pattern Lab's July storage keys say who wrote them and when From #41 * web: the site's redirects and old routes say what links them From #42 * web: web CI fails on a lint warning From #43 * firmware: the MIDI page counts 24 detents a turn, as the encoder has From #46 * web: the community's old formats say what wrote them and when From #44 * firmware: the vendored HUB75 driver names the upstream commit it came From #47 * firmware: the vendored HUB75 driver takes upstream's fix for its config From #48 * web: a new TODO or FIXME turns the drift checks red From #49 * web: one file holds the values the firmware and the site both carry From #45 * docs: the any-resolution RFC has a draft From #50 * docs: the Linux player has a draft RFC From #51 * firmware: the firmware reads the values it shares with the site from From #52 * web: the site's lint and test tooling is on its latest releases inside From #54 * docs: `AGENTS.md` names `shared/`, the HUB75 driver's `UPSTREAM.md` and From #57 * docs: the two step 5 drafts are listed in `docs/README.md` From #55 * web: the site reads the panel size and the knob numbers from From #53 * web: drizzle is on its latest patch releases From #56 * docs: the repository maps catch up with step 3 From #59 * web: tailwind is on its latest 4.x release From #58 * web: react Three is on its latest releases inside the current majors From #60 * web: zustand is on its latest release inside the current major From #61 * web: mediabunny is on its latest release inside the current major From #62 * web: changes from #63 From #63 * web: posthog-js is on its latest release inside the current major From #64 * web: better-auth is on its latest release inside the current major From #65 * web: react is on its latest release inside the current major From #66 * web: next is on its latest release inside the current major From #67 * docs: the doc map is regenerated at the close of step 3 of the cleanup From #68 * web: the guide's simulated board takes input that no hand made From #69 * tools: a virtual panel for the contract vectors From #70 * tools: the virtual panel answers device state over REST From #72 * tools: the virtual panel answers the pattern routes From #73 * tools: contract vectors have a format and a replay From #71 * web: `check:virtual-panel` runs every preset on the virtual panel From #75 * tools: the virtual panel speaks MQTT From #74 * tools: the virtual panel answers `/api/mqtt` From #77 * tools: the virtual panel speaks OSC From #78 * docs: the REST contract has its first vectors From #76 * docs: the MQTT contract has its first vectors From #79 * tools: oSC has contract vectors From #80 * docs: the REST vectors reach the rest of the core From #81 * docs: the MQTT vectors reach the channels and the snapshot, and From #82 * tools: the virtual panel takes the audio WebSocket From #84 * tools: the virtual panel speaks RTP-MIDI From #83 * tools: the audio WebSocket has contract vectors From #85 * tools: the virtual panel sends MIDI back From #86 * tools: mIDI has contract vectors From #87 * tools: mIDI out and `/api/midi` have contract vectors From #88 * docs: the maps of the tree name the virtual panel and the contract From #90 * docs: the REST and MIDI specs say one thing where they said two From #91 * docs: `AGENTS.md` names the virtual panel, the contract vectors and From #89 * docs: the doc map is regenerated at the close of step 4 of the cleanup From #92 * docs: changelog for 81 workshop fork PRs #11 #12 #13 #15 #17 #14 #16 #19 #20 #18 #21 #23 #24 #25 #26 #28 #29 #30 #27 #31 #32 #34 #35 #33 #36 #37 #38 #39 #40 #41 #42 #43 #46 #44 #47 #48 #49 #45 #50 #51 #52 #54 #57 #55 #53 #56 #59 #58 #60 #61 #62 #63 #64 #65 #66 #67 #68 #69 #70 #72 #73 #71 #75 #74 #77 #78 #76 #79 #80 #81 #82 #84 #83 #85 #86 #87 #88 #90 #91 #89 #92 * 시작 — 정리 마지막 기록을 원래 레포 dev 위에 다시 짠다 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpjXsYZbwT5PpwzpNCEEqq * docs: the doc map lists the six links the cleanup's closing entry adds The progress log's entries for steps 1 to 5 and the gate link contract-vectors.md, the doc-parity list, the panel-geometry record and the two RFC drafts. The cleanup RFC's status line links the log. Each of the six resolves. The log and the RFC come over with the cleanup's records, so until they land the map is six rows ahead of the tree. From #93 (2f094fe). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpjXsYZbwT5PpwzpNCEEqq --------- Co-authored-by: Mykyta Bilous <belousnikita@gmail.com> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Lee Seunghun <122682380+engmung@users.noreply.github.com> Co-authored-by: pi-hub <pi-hub@localhost>
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.
dev / https://claude.ai/code/session_01WnWnZzvrtVz8L7czv6JcHg
정리 4단계 계획서 표의 PR 18 이다. 패널이 MIDI 로 내보내는 것(손으로 돌린 노브의 CC 24~27, 버튼의 노트, 패턴이 바뀔 때의 Program Change)을 docs/midi-vectors/out- 벡터 열한 개로, /api/midi 와 status 의 midi 를 docs/rest-api-vectors/midi- 벡터 아홉 개로 적었다. 머지되면 CI 가 PR 마다 MIDI 보내는 쪽과 /api/midi 를 가상 패널에 돌려 보고, midi-spec.md 에서 옮긴 문장이 바뀌면 그 벡터가 빨개진다.
좋아지는 것: 없음
할 일
docs/contract-vectors.md,_vectors.ts, PR 16([DONE] 정리 4단계 PR 16 — 가상 패널이 손으로 돌린 노브와 누른 버튼, 바뀐 패턴을 MIDI 로 보내고 /api/midi 에 답한다 #86)·PR 17([DONE] 정리 4단계 PR 17 — MIDI 받는 쪽 벡터 아홉 개가 가상 패널에서 돌고, check:midi-vectors 가 PR 마다 본다 #87) 본문의 「for another k」를 읽는다midi-spec.md53~120행을midi-out.ts와 펌웨어(core_midi.h의observeFrame,setOutDivisor,setOutMultiplier,core_midi_http.h)에 맞대 본다docs/rest-api-vectors/midi-*.json아홉 개docs/midi-vectors/out-*.json열한 개check:midi-vectors, 다섯 번check:rest-vectorsmidi-out.ts·midi.ts두 번, 스펙 문장 한 번, 모두 되돌림66bd642에서 둘 다 successe912efa그대로라 merge 할 것이 없다한 일
REST 벡터는
check:rest-vectors가 돌린다. 이 스위트는midiSender 를 가져오지 않으므로 아홉 개 모두http만 쓰고, 세션이 있어야 보이는 값은 타입으로만 본다.rest-api.md에는/api/midi절이 없어서, 경로를 정하는midi-spec.md의 Status 와 Settings 에서 문장을 옮겼다.midi-caps만audio-caps,mqtt-caps처럼rest-api.md의 conventions 문장이다.saysmidi-capscaps가["patterns","params","sleep","midi"],GET /api/midi가 200 과 JSONmidi-statusGET /api/statuson a build with this feature lists"midi"incapsand carries (68행)caps,midi의 열 키를 타입으로midi-rx-detailrxDetailto both … (81행)midi.rxDetail과GET /api/midi의rxDetail, 표의 열두 키midi-getoutDiv,outMul,outMode,host, session state, counters (115행)channel1(31행),outDiv[1,1,1,1](119행의 기본값),outMode"abs"(116행), 나머지는 타입midi-out-modeabs에서 시작해outMode=rel로, 폼 본문outMode=abs로 돌아온다.GET과 status 둘 다midi-out-div1..16, … (119행)midi-out-muloutMul/outDivabove 1 resets the other to 1 (117행)outDiv=4다음outMul=8이면outDiv가 1, 다시outDiv=2면outMul이 1midi-knoboutMul/outDivto one knob; without it, to all four. (118행)outDiv=4&knob=3,outMul=2&knob=2뒤[1,1,4,1],[1,2,1,1](72행의 예와 같다).knob없이outDiv=2면 넷 다midi-hosthost=192.168.0.23이GET과 status 에 보이고, 폼 본문host=로 빈 글보내는 쪽은
check:midi-vectors가_rtpmidi.ts의 세션으로 돌린다. 손은hand, 시간은wait와out의within이다. 손으로 돌린 것은 다음 프레임 끝에 나가므로 첫 메시지는 20 ms 안에 본다. 같은 노브의 다음 메시지를 보는 벡터는 그 사이에 100 ms 를 둔다.says(midi-spec.md)out-cc-abs0..127… starts at 64, … clamps at the ends (57행)out-cc-rel64 ± stepssince the previous message (binary offset) (57행)outMode=rel뒤 K3 −2 → 62, 100 ms 뒤 +5 → 69, K1 +1 → 65out-cc-div1is 24 steps per turn and4is 6. (119행)outDiv=4&knob=1뒤 K1 한 바퀴(24) → 70, K2 한 바퀴 → 88. K1 +3 은 100 ms 동안 아무것도 없고, +1 더하면 71out-cc-mul1..8. (117행)outMul=8&knob=4뒤 K4 +2 → 80, K3 +2 → 66, K4 −1 → 72out-pacingout-abs-sameabsonly a position that differs from the last one sent goes out (57행)out-rel-sumrelthe steps sum between messages and a sum leaving ±63 is sent at once (57행)out-buttonsout-program-changen ≤ 127(60행)/api/patterns/select?index=2→ PC 2, 호스트의 PC 5 → PC 5out-no-echoparamActive,input) 아무것도 돌아오지 않는다out-hand-onlyPOST /api/params?p1=900은 CC 를 내지 않는다. 100 ms 뒤 손 K1 +1 → 65증거
로컬, web/:
처음 돌렸을 때
out-rel-sum하나가 drift 였다. 내가 +2 와 +3 을 70 으로 적었고 패널은 69(64 + 5)를 보냈다. 벡터를 69 로 고쳤다.깨뜨린 한 번:
midi-out.ts를 일곱 군데 바꿨다. 간격 50 ms 를 20 으로 줄이고 시작 위치를 63 으로 옮겼다. 노트 온 벨로시티는 100 이고 PC 번호에는 1 을 더했다.knob=과 빈host=는 무시했다.rel은 63 에 걸음을 더했다. 백업 파일로 되돌렸다.(벡터 ← 패널로 줄였다.)
out-no-echo는 이 깨뜨림에 걸리지 않아 두 번째로 깨뜨렸다.midi.ts가 받은 메시지를 그대로 돌려보내게(MIDI Thru),midi-out.ts가 버스가 잡은 노브의 손 클릭을 버리게(core_midi.h:403처럼) 했다. 되돌렸다.스펙 문장을 바꾼 한 번:
midi-spec.md57행의 「clamps at the ends」를 「clamps at either end」로 바꾸면out-cc-abs.json: drift,says docs/midi-spec.md←says not in docs/midi-spec.md.git checkout으로 되돌렸다.GitHub, 이 PR:
66bd642에서 「Drift checks / check」(116546946688)와 「Docs point at files that exist / check」(116546946548)가 success. 「Web CI」는web/**에서만 돌아 이 PR 에서는 돌지 않았다.실행법
벡터 하나를 고쳐 보려면 JSON 을 고치고 같은 명령을 돌린다. git 에 넣기 전에도 디스크에서 읽는다.
가정
docs/midi-vectors/out-*.json과docs/rest-api-vectors/midi-*.json만 더했다. 두 README,CHANGELOG.md,docs/rfc-cleanup-progress.md, doc-map CSV, 가상 패널은 안 고쳤다. 라벨은 앞 PR 들처럼 달지 않았다.rest-api.md에/api/midi절이 없어midi-여덟 개는midi-spec.md의 Status 와 Settings 를contract로 둔다._vectors.ts는contract가 가리키는 스펙에서 문장을 찾으므로 그대로 돈다. REST README 첫 문장(「one sentence of rest-api.md」)과는 어긋난다. 아래 「for another k」.rtpPeers1,rtpPeer,rx)은 벡터를 두지 않았다. PR 17 은out-*.json에 두라 했지만, MIDI README 는out-을 Device → host 의 한 행이라 하고GET /api/midi는 패널이 보내는 것이 아니다.midi-get이 타입으로만 본다.core_midi.h의steps > 63), 스펙은 그것을 말하지 않는다. 그래서out-cc-abs는 62 와 −63 으로 양 끝을 넘긴다.out-rel-sum의 합 80 은 바로 127(63), 나머지는 50 ms 뒤 81(17)로 본다. 바이너리 오프셋 한 메시지는 ±63 까지만 싣고, 57행이 마지막 값은 늘 닿는다고 한다. 펌웨어(core_midi.h의sum > 63)도 그렇게 한다.<integer>다. 59행은 노트 오프라고만 한다. 펌웨어는 0 을 보낸다. 노트 오프를 벨로시티 0 노트 온으로 보내는 패널은 실패한다(58·59행이 둘을 나눈다).out-pacing의 「나가지 않는다」 창은 손 뒤 20~50 ms 로, 첫 메시지가 0 ms 보다 늦게 나간 패널이면 50 ms 규칙이 그 안에 다음 메시지를 막는다.check:midi-vectors에wsSender 가 없고midi만 넣은 패널에는 레인이 없어 돌리지 않는다. 버스(POST /api/params)는out-hand-only가 본다.outDiv=17,outMul=9같은 범위 밖 값은 벡터가 없다. 스펙은 범위만 말하고, 거절인지 잘림인지는 말하지 않는다(D8).outMul의 기본값은<integer>로 본다. 119행은outDiv의 기본값을 적고 117행은outMul의 기본값을 적지 않는다.firmware/와web/src/를 건드리지 않아build.sh all,check:ci,check:panels는 §2.1(1) 대상이 아니다. 계획서대로 typecheck 와 이 PR 의 check, 깨뜨린 한 번을 적었다.Changelog
Tools
/api/midihave contract vectors. Eleven files indocs/midi-vectors/start without-, each one sentence of the device → host table or the settings indocs/midi-spec.md, from three detents on knob 1 arriving as CC 24 at 67 to a host's own CC that never comes back.check:midi-vectorsreplays them over its RTP-MIDI session. Nine more indocs/rest-api-vectors/start withmidi-and readGETandPOST /api/midiand themidiblock in/api/statusundercheck:rest-vectors.for an issue
D9. 벡터는 스펙을 따르고, 펌웨어는 한 곳에서 다르다(PR 16 의 「k18, for an issue」).
out-hand-only.json·midi-spec.md57, "Encoder 1–4 turned by a hand." ·core_midi.h:403은 버스가 그 채널을 잡고 있는 프레임의 델타를 0 으로 둔다(paramAbsoluteActive). 손은 버스가 250 ms 안에 쓴 채널을 되찾지 못하므로(ABSOLUTE_RELEASE_GRACE_MS),POST /api/params?p1=900100 ms 뒤에 K1 을 돌리면 기기는 CC 를 보내지 않는다. 위 두 번째 깨뜨림이 그 규칙이고, 벡터가 빨개진다.벡터는 없고 PR 16 이 넘긴 것:
core_midi_http.h:107이on=0|1을 읽고,GET /api/midi가you,ip,port,outPos를 싣는다(59~69행). Settings 표는 그중 아무것도 적지 않는다. 스펙이 말하지 않으니 벡터가 없고(D8), 모양은 다른 키를 지나가게 둔다.for another k
midi-spec.md32행은 패널이 「never echoes a host's messages back」이라 하고, 60행은 PC 가 「by anyone: … MIDI」로 바뀌어도 나간다 한다.out-program-change는 메시지를 정하는 60행을 따라 호스트의 PC 5 에 PC 5 를 듣는다(D8). PR 16 도 적었다.outMul의 기본값을 넣을지.midi-get은 지금 네 정수로만 본다.docs/rest-api-vectors/README.md첫 문장은 「one sentence of rest-api.md」다.midi-여덟 개는midi-spec.md를 옮긴다. 표에 그 README 를 다시 가진 행이 없어, 고친다면 행을 하나 더해야 한다.docs/README.md의midi-spec.md줄에midi-vectors/를(PR 17 이 적은 것과 같다).rest-api-vectors/에midi-가 있다는 것도.Upstream
npm run typecheck,npm run lintandnpm run check:drift(midi-vectors and rest-vectors included) pass; firmware/ and web/src/ are untouched.🤖 Generated with Claude Code
https://claude.ai/code/session_01WnWnZzvrtVz8L7czv6JcHg