Repository navigation
Conversation
There was a problem hiding this comment.
Thanks for turning the FM Synth and CX OSC clash into shared hooks. That's the right direction, and the table in the verification note makes it easy to follow. Three things before the owner can review it for the cumulative base:
- Hook numbers. 63-65 are already taken. On 27 Nov the owner put
ot_lfo_pmtr_dest(#2261) at 63,ev_audio_step(#2271) at 64 andot_dsp_effectsat 65, and asked CLYPS (#1997) to move its three hooks to 66 and up. Please wait for that answer, then append these 22 after the last number taken. Claim them on the agent board withnpm run pr:ready. - Stock tails. A take hook whose tail is wrong can crash the unit, and CI has no firmware. Please rebuild the base from your own 1.40C to confirm every tail (including the two that continue at a different address), and quote the
node scripts/base-size.mjsline. Then record a run of that base on a unit, with FM Synth, or CX OSC, on the new hooks (Change a base). - Changelog. Add a
changelog/<YYYY-MM-DD>-<topic>.mdentry for the base change. And unless the base needs the helper script underproposals/from now on, please drop it.
This changes FM Synth's adapter as well as CX OSC's, so the owner reviews it as FM Synth's author before it goes into base/octatrack-next.
051ee24 to
e96b600
Compare
Record pinned MAIN verification (22/22 guards, resolver epilogue jmp) so repeat98#2352 answers the maintenance-bot tails question without claiming a full octatrack:base rebuild.
There was a problem hiding this comment.
Thanks for the new commits. Turning the FM Synth and CX OSC clash into shared hooks is still the right direction, and the 1.40C guard check in the verification note is useful.
First, an apology: my earlier review gave you the wrong numbers for 63-65. The owner's actual assignment, on #2246 on 27 November, is:
- 63: the Quadraverb program-area table
- 64-66: the three CLYPS sequencer services (#1997)
- 67, 68: #2261 and #2271, in the order they become ready
So 69-90 for your hooks can stay. Here is what's left before the owner can review this:
- Placeholders 63-68. Right now they name the wrong hook at each number, and they guess the kind and record shape of other people's hooks. If you keep reservation stubs, make them neutral entries with no shape (reserved, no subscribers) in the order above. Or leave 63-68 out and wait for those commits to land on this branch first. The owner decides which they'll accept.
- Global STOP and the MIDI note gates. In your proposal on #2246 you pointed out that a first-claimer take hook doesn't cover the STOP path, where every installed engine has to clear its own voices, or the MIDI note gates. Please say in the verification note how these 22 hooks handle those two cases when FM Synth and CX OSC are in the same set. If they don't handle them, say which hooks need a different kind.
- Changelog. Add
changelog/2026-11-28-<topic>.mdfor the base. - Rebuilt base. Rebuild with your own 1.40C (
npm run octatrack:base -- --beta --write) and commit the base package, so the branch builds what it declares. Without that, CI and the next contributor see drift. - Unit record. This changes what runs on the instrument. Run that rebuilt base on your MKII with FM Synth on the new hooks (a RAM trial is enough), plus the edge cases these sites touch: LFO depth, STOP while notes sound, and a Part change. Record the exact build in the description (test procedure).
- Claims. Run
npm run pr:ready -- --base-branch base/octatrack-next. It claims 69-90 on the agent board, and it should also bring the incomplete checks back.
|
This PR isn't in the 0.8.4 fold yet: two What the fold found (base/octatrack-next, 28 Nov 2026):
Your numbering at 69-90 fits the agreed order: 63 🤖 Generated with Claude Code |
|
Addresses #2352 (comment) at tip
Still separate from this hooks PR: FM Synth package release that subscribes and drops the 22 detours so 0.1.5 loads on a base that owns these sites. cx-osc Numbering: 69–90 takes, 63–68 placeholders per #2246 / |
|
Thanks, the fold fixes are in and the numbering fits. Three things before we fold it, on top of the FM Synth release in step:
Then the rebuilt base, and one RAM trial on your unit with FM Synth on the new hooks, with the exact build named. |
|
Threading #2352 (comment) at tip
Still on owner list: FM Synth package in step, rebuilt base + RAM trial with build ID named.
|
36c8c71 to
0e9d3cf
Compare
|
Rebased onto current
Local: |
|
Ready for review from my side. This comment records what is proven on hardware versus what stays in the FM Synth package follow-up ( Hardware (MKII, OS 1.40C, dev twin
Scope reminder
Before merge (owner)
FM behavior (STOP release, wide MIDI chromatic gates, LFO depth on a synth track) stays unproven until the 0.1.6 package commits successfully on this base. |
|
Thanks, the hook shape and numbering are right now: 63-90 are contiguous, and 66-68 are kept for CLYPS. Two things before I fold it into the cumulative draft:
Ping here when FM Synth commits on your unit. |
|
@repeat98 fair point :) will have a look |
20a96c2 to
df10b5b
Compare
|
After your review at #2352 (comment), I removed the base identity and requiredBase pin churn and rebased the hooks onto the current base/octatrack-next tip. GitHub reports the PR as mergeable with no conflicts. Hook 70 at 0x4000d03e now uses a jsr entry. The FM Synth po_lfo3b handler returns with rts, so the entry supplies the stock continuation at 0x4000d046. Tested on the MKII with corrected development base 2069ca4365b8b424… and FM Synth package SHA-256 d9c105d2687b59688b3c9860d821ddf57f4bed91cb19632b798745188b1d32d1: it committed, played on T1 and T5, ran across all eight tracks, and completed 12 Part switches. The trial rolled back and inventory was unchanged. The hook registry and coverage checks pass. The PR description now records the base checks and relevant unit evidence. |
|
@repeat98 FM Synth on the hooks dev twin is proven on hardware now.
Branch push: hook 70 fix, dropped base-binding/ 28 Nov |
|
Script exit 1 for known non-blockers: T5 mean frame +7.6 vs 4 % price; automatic rollback hit |
|
@repeat98 ready for your review pls |
|
Thanks, the hooks look right now, and FM Synth committing and playing on your twin is the record we needed. One thing blocks folding it, plus one line to fix:
The FM Synth price and the 0.1.6 release are on our side. They ship with the base, so you don't need to do anything there. Please hold further pushes after these two, so we can fold it in. |
|
@repeat98 both items:
Holding further pushes as asked. |
There was a problem hiding this comment.
Thanks for chasing down the callback adapters and the stock-copy overlap. Those sound like real fixes.
The owner asked to hold pushes after the two points from 13:41, so they could fold this in. Three more commits arrived after that, so the fold review has to start again on the new head. To make that quick:
- Please hold further pushes now, unless the owner asks for one.
- Add one short comment saying what each of the three new commits changes and why it was needed: the callback adapters, the merge of
base/octatrack-next, and the stock-copy recipe and rest fix. - Test the new build on your unit. The description says the new callback adapter and the span correction weren't tested on a unit. Rebuild the dev base and the FM Synth 0.1.6 subscribe package from this head. Then run the test procedure on your unit (load, play on T1 and T5, Part switches, STOP, the MIDI note gates, rollback). Record the base and package hashes and what you saw, the same way you did on 29 Nov.
FM Synth and CX OSC running side by side can wait for #2293. This pull request only needs FM Synth on the new hooks.
|
Follow-up to the 29 Nov review; no further commits were pushed:
I added the current-head unit run and exact base/package hashes to the PR body. On B01, FM Synth loaded and rendered on T1/T5 through Part switches and STOP. MIDI note messages reached the host bridge, but callback execution was not directly traced. A01 refused the picks with CPU FULL, and the automated procedure did not complete. After restoring T1/T5 to STATIC, |
|
Thanks for the adapters and the fresh run. The hook range checks out (66 to 90, no gaps after 65), and
|
|
@repeat98 I checked the The full You asked for description edits only. Do you want me to push a focused commit to refresh the affected generated files, recipes, base package and assertions so |
|
@repeat98 another look pls 🙏 |
|
Sorry for the slow answer, @ilia-murzinov. Yes, please push one focused commit. The stale pins and assertions come from this change, so they belong on this branch, not in the fold.
Points 2 and 3 from my last comment are still open: whether notes outside 72 to 96 sound on an FM track over MIDI, and whether A01's CPU FULL also shows on the previous twin. With those three, I can fold it. |
Shared ColdFire take/call sites, rebuilt base to fit the flash slot, recipe pins and Ready gates, unit twin evidence on MKII.
034b714 to
1f5999a
Compare
|
@repeat98 — ready for your review when you have a moment. Local Unit (MKII 1.40C): RAM twin |
|
Thanks @ilia-murzinov, this is close. The pins, the committed base and the assertions are refreshed in one commit, and the run on the new twin ( What I still need from you (description only): whether notes outside 72 to 96 actually sound on an FM track over MIDI. The description says the bridge accepted notes 60 and 100, but not whether you heard them. You don't need a recording: play both into the FM track on the twin and listen on headphones, then say what you heard. That is what hooks 76 and 77 are for, and it's the one edge case of this change that hasn't been shown. If you still have the loaded A01 that hit CPU FULL before, one PLAY of it on this twin would also settle my CPU question. The empty A01 you ran doesn't tell me whether the new callbacks cost more. If you don't have it any more, just say so. What I'll change at the fold, so you don't need to push
Generated by Claude Code |
|
@repeat98 — headphones check on twin Loaded A01 that hit CPU FULL earlier is still gone — only the empty A01 numbers stand. Holding pushes; the 0.8.6 record fix at fold is yours. |
|
@repeat98 hope to see it finally folded soon, I really want to resume the CX OSC work :) |
Bring base/octatrack-next plus hooks 69-90. Keep main package pins where the merged tree still matches them, refresh asset hashes, and leave USB audio image pins stale until a base rebuild (events.h now has the FM hooks).
Keep the draft on main's base so shared runtime matches the committed sources; FM take hooks stay on repeat98#2352.
…t on the lane's 0.8.6 The lane's 0.8.6 (2b419dec) is kept as it is; 0.8.7 (3ad89c17) adds the FM take hooks 69-90. Regenerated: the beta base and its records, its size, and the base-bound module packages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@ilia-murzinov, folded. Thanks for holding pushes, and for the headphones check. What I did: merged the current What it means: this goes into |
Met: hooks renumbered to 69-90, pins and assertions refreshed, run on the twin recorded; folded with the lane's 0.8.6 kept and 0.8.7 added.
Summary
FM Synth and draft CX OSC share the same 22 ColdFire engine sites. This base adds take hooks and call hooks at indices 69–90 so both can migrate to common ownership points. Hook 70 at
0x4000d03euses ajsrentry because the FM handler returns withrtsto0x4000d046.Folded on
base/octatrack-next(merged with the lane at300588788). Octatrack base 0.8.7 identity3ad89c171b83c31c…— packed 850,956 of 851,712 container bytes, 756 free (largest layout off; MAIN 1,365,375 of 1,572,864). Against the lane’s 0.8.6 (2b419dec…, 851,272 container), 0.8.7 is 316 bytes smaller:ep0.cmoved intoSIZE_OPTIMIZED(-Os), which saves more on the USB control path than the hooks add.npm run pr:ready -- --base-branch base/octatrack-next→ Ready to update the cumulative base draft.Verification:
docs/verification/2026-11-28-cx-osc-fm-engine-hooks.mdTested on a unit
Tested on a unit: lean RAM
--devtwinconfigurationHash292a5d1b25a6cc11…of buildpr2352-pin-refresh-midi-20261202(same tree as tip1f5999a02; not the earlier image60cd5451…), Octatrack MKII OS 1.40C, FM Synth subscribe package01b21edec056979fb9417a9dc33ec554959d8230617839c56920fee060b844f7.FM SYNTH; PTCH/RATO/INDX page).recwas previously silent from mic TCC and is not used as proof.device recover→ normal, empty inventory. Nothing kept or flashed.Edge cases
rtsto the stock continuation292a5d1b…; FM on T1Checks
ep0.cat-Os; see Summary)base/octatrack-nextFollow-up
Guides: rebound verification digests in
docs/verification/2026-11-21-octatrack-active-load.jsonanddocs/verification/2026-11-21-octatrack-direct-dsp-code.json; FM hooks verification note otherwise left as it stood.