Skip to content

POLY8 0.3.4-experimental: rests while no track uses it (needs base 0.7.11) - #1863

Closed
repeat98 wants to merge 2 commits into
mainfrom
module/poly8-0.3.4
Closed

repeat98 wants to merge 2 commits into
mainfrom
module/poly8-0.3.4

Conversation

@repeat98

@repeat98 repeat98 commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

POLY8 0.3.4-experimental (author: repeat98, the owner, who said yes on 20 November 2026): POLY8 rests while no track of the project uses it.

Quiet-pattern admission on the MKII

On the 0.7.11 development twin, the private 43-point candidate (SHA-256 334cfb25d5f78e6be2bc8c1e55fe4931da795ec89dad4dd34e1a0b1c07a175b2) ran on MWREPROB/TARGET B01. All eight tracks had zero audio trigs across the first 16 steps. During playback the frame interrupt averaged 25.4% over 15,516 frames with zero skipped renders, and the CPU meter read 37.3%. I stopped the transport and tried the machine on T1 and T5. Each chooser reported CPU FULL at 46% and displayed UNIT IS BUSY. The stock Part and inventory matched after Undo. This run did not qualify an active voice on the 43-point candidate. The previously measured eight-note cost of 42.8 points still rules out releasing the draft’s lower reservation.

Hardware qualification update, 21 November 2026

Playback qualification failed. The T1 and T5 retrigger auditions each raised mean frame time from 33.9% to 64.2%, an increase of 30.3 points. This build declares no machine price, so 0.7.11 reserves 12%. The frame guard recorded two skipped renders on T1 during the trial. One POLY8 instance was admitted and seven further assignments in the Part were refused. All 12 Part switches succeeded and Undo restored the original inventory. The active machine needs a measured reservation and a repeat run with the supported voice load before release.

The current branch rebuilt package 42180899c82146c15b48bdf049964d37f5d0228bafff1cbef2a062372c2c1db6 byte-for-byte. Hardware ran on an Octatrack MKII, OS 1.40C, development twin be86323a of base 0.7.11. Full qualification remains in progress.

POLY8 CPU reservation trial on 0.7.11

On the MKII, A02 Part 4, transport stopped and T1 playing a loop, the initial quiet frame-interrupt mean was 24.1%. With one, two, four, six and eight chromatic keys held it measured 34.5%, 40.6%, 52.8%, 60.8% and 66.9%. Each six-second window recorded zero skipped renders. Eight held keys added 42.8 points. The number of voices retained by the governor was not instrumented.

A second private USB package, 334cfb25d5f78e6be2bc8c1e55fe4931da795ec89dad4dd34e1a0b1c07a175b2, changed just the machine CPU reservation byte to 43. The unit displayed CPU FULL / WAS BUSY PLAYING on both T1 and T5 on A02. It never started an active POLY8 render on either track in that run, so this is a failed assignment test. All 12 Part transitions completed and Undo returned the original inventory. The 43% experiment remains private. Both results are release blockers for the current proposal.

Additional MKII checks on 21 November 2026

In a second MKII run on A01, the private 43% reservation package measured +0.0 and +0.0 points installed and unused. The empty base and the package both measured 32.2% in the two paired eight-second windows. The unit refused POLY8 on T1 and T5 separately. Both picks still failed with all 16 stock effect assignments cleared from a temporary Part. Both displays showed CPU FULL / UNIT IS BUSY at 52%. The original Part was restored and the package was undone. The lower-priced build previously added 42.8 points with eight notes held. Active admission and peak render cost remain open.

The 0.7.11 admission code compares the playing CPU meter, the machine’s 43-point reservation and a three-point wake allowance with its 85% ceiling. The 52% refusal screens exceed that budget. The 32.2% idle measurement is the audio-frame interrupt share, a different reading. The price remains provisional until the unit admits the pick on a lighter project and its active cost is verified.

What changes

  • runtime.json marks POLY8's 11 frame-interrupt detours "rests". No code change; its panel, keyboard and octave detours, its pokes and its renderer-table entries stay.
  • On a base that judges machines (Improvement: Octatrack base rests machine modules no track uses #1849, base 0.7.11, loader capability 2048) the base rests POLY8 while no track of any Part of the project, working or saved, is POLY8: those detours hold stock's bytes, and its three handlers on hooks that rest leave the frame. A pick wakes it before it commits.
  • Why: on base 0.7.10, POLY8 0.3.3 on no track added 2.3 points of the frame interrupt with seven FLEX tracks playing (MKII, OS 1.40C, development build acc111da, npm run device:price, 20 November 2026), the largest of 24 packages measured (record).
  • Version 0.3.4-experimental, release notes, changelog and TESTING.md.

Private build and draft status

The private package builds on merged 0.7.11. Preparing the downloadable version still requires the package row, its capability 2048 requirement, regenerated catalogue assets and the remaining qualification checks.

How I checked it

Tested on a unit: Octatrack MKII, OS 1.40C, development twin of 0.7.11 be86323a387211a5f8ac3c255ac00da121de78854835dc518e50dc1587fd36b8, 20 November 2026. The 0.3.4-experimental package built from this draft on merged 0.7.11 has SHA-256 42180899c82146c15b48bdf049964d37f5d0228bafff1cbef2a062372c2c1db6. A01 played on Part 4 with seven triggered FLEX tracks.

Audio-frame interrupt share First 8 s Second 8 s
Empty base 51.3% 51.4%
Installed and idle 51.4% 51.4%
Added points +0.1 +0.0

The published package previously measured +2.2 points on this base and scene. The candidate woke when T8 POLY8 was selected during playback. Frames continued advancing and the observed hook returned to rest after deselection. Undo restored the empty inventory and its next window measured 51.4%. All five load windows recorded zero skipped renders. Published comparison

Edge cases

Case Why this change makes it a risk How run Result
Installed and unused resting hooks should add at most 0.2 points two paired MKII playback windows on 0.7.11 pass (+0.1 and +0.0 points)
Pick POLY8 while playing the wake writes 11 sites masked before the commit frame guard over the pick window, STATIC pick as control not run: the controlled comparison with a STATIC pick remains open
A paste or project load brings a POLY8 track stock reads POLY8's bytes for up to one UI tick the track renders silence until the next tick (base host test) pass (host, #1849); unit not run
A Part or bank change to a Part with POLY8 while playing must not need a wake any Part of the project keeps it awake (base host test) pass (host); unit not run
A MIDI note on a channel shared with a POLY8 track the wide-note detours rest only while no track is POLY8 MIDI on that channel, POLY8 on another Part not run: the private 43-point candidate was refused at the chooser on both tracks
Undo of the trial that brought 0.3.4 resting sites restored while resting whole-set trial and Undo pass (normal mode and empty inventory verified)
A base without capability 2048 it refuses resting sites without ev_in_use the site must not offer the package there not run: this hardware session used 0.7.11 with capability 2048

Guides: nothing missing for this release; the resting contract is described in #1849 (HOOKS.md, MODULE_PERFORMANCE.md, OCTATRACK_API.md).

Remaining release checks

The draft branch still lacks release files: octatrack-source stops on "Stale catalog module version" (sdk/catalog.json and the package rows still name the published version), module-paths-windows on "OT UI captures must document this module version", and module-contract, module-suites and module-pr-ok on the same missing release files.

Before it can go ready: bump sdk/catalog.json, build the package and regenerate the catalogue assets (npm run octatrack:module-packages, which also re-pins the reviewed recipe), add requiresCapabilities: 2048 to its row, document the version in its UI captures, run npm run test:procedure -- poly8 on a unit and fill the edge-case table with the results, record the idle result against the final packaged version and stamp its performance audit, and get the owner's build approval for the exact package.

🤖 Generated with Claude Code

…s base 0.7.11)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@repeat98

Copy link
Copy Markdown
Owner Author

Unit run on base 0.7.14, 22 November 2026: owner's MKII, RAM-booted twin 9203cdf6 of b36f9c53e. Package 42180899…, built from this branch merged with main through octatrack-module-packages.py, byte-equal to the one this PR tested. Each package was installed alone, on no track, with Dev17 C01 playing (126 BPM, trigs on T1–T8). Frame interrupt share over 8 s:

Frame share Longest frame
No module 39.4 % 88.1 %
POLY8 0.3.3 41.9 % (+2.5) 98.9 %
POLY8 0.3.4 39.4 % (+0.0) 89.0 %

It rests as intended. Not run here: POLY8 picked while resting, voices, listening. The CPU guard refused a POLY8 pick on a busy Part ("CPU 73% +15%"): 0.3.4 names no price, so the base reserves 12.

@github-actions

Copy link
Copy Markdown
Contributor

Closing this one: the POLY8 rests fix now lives in #2118, which marks the frame-path detours as rests and carries the evidence. Please follow that pull request.

@github-actions github-actions Bot closed this Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant