Skip to content

Tape Echo 0.1.7-experimental: rests while no slot uses it (needs base 0.7.11) - #1869

Closed
repeat98 wants to merge 3 commits into
mainfrom
module/tapeecho-0.1.7
Closed

repeat98 wants to merge 3 commits into
mainfrom
module/tapeecho-0.1.7

Conversation

@repeat98

@repeat98 repeat98 commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

Tape Echo 0.1.7-experimental (author: repeat98, the owner, who said yes on 20 November 2026): Tape Echo rests while no slot of the project uses it.

Card-backed hardware follow-up on 21 November

Tested on a unit: e975a8aef5e31808f9fd1b4e52045417a7a66e3169ab169bb6fefcf6a0e37322, Octatrack MKII, 0.7.11. T1/T5 Part and project Save and Reload, playback and RAM Undo.

On a real MKII running the 0.7.11 development twin, I loaded the designated MWREPROB/TARGET project and installed Repitch 0.2.2, Euclid 0.1.6 and Tape Echo 0.1.7 in one RAM trial. On the spare Part I set T1 and T5 to RPCH, placed Euclid in FX1 and Tape Echo in FX2 on both tracks, then changed their controls independently. Part Reload recovered the first unsaved edit. I saved the project to the card, changed T1 and T5 again and reloaded the project. Both working and saved Part digests, the effect assignments and the pattern digest matched the saved baseline. Playback after reload measured 42.0% over 5,858 frames with zero skipped renders. I put back the original Part, saved the restored project and undid the RAM trial. This covers project persistence during a powered session. Cold-start playback and listening remain open.

What changes

  • A runtime.json holding only "rests" marks its ColdFire detours te_cpu_reset (0x40002f44) and te_cpu_hook (0x4000361a, the stock delay routine's seam, every track and frame). No code change.
  • On a base that judges effect modules (Improvement: Octatrack base rests machine modules no track uses #1849, base 0.7.11, loader capability 2048) the base rests it while no slot of the project, working or saved, names its effect id and no live slot runs it: those detours hold stock's bytes. A pick wakes it before stock writes the pick. Its DSP code is resident on demand as before.
  • Why: 0.4 points of the frame interrupt at rest in its evidence/cpu-price.json (npm run device:price, playing; MKII, development twin d3d71297 of base 0.7.8, the Tresor Prep scene, 18 November 2026). The owner's goal (20 November 2026): an installed module nobody uses costs nothing..
  • while it rests the stock delay routine runs unpatched, so the base's quiet-delay skip counts as without Tape Echo; a pick wakes it before stock writes the pick, so its first frame on the slot has its seam.
  • Version 0.1.7-experimental, changelog and TESTING.md.

Where the at-rest figure comes from

Tape Echo was not in the 24-package set of the 2026-11-20 record, so it is not among "the other 18 at 0.0" there. Its figure is the same measure as that record (npm run device:price: the frame-interrupt share added while the pattern plays, the module installed and used nowhere), taken on another base (0.7.8) and scene (Tresor Prep, four sounding tracks) on 18 November. It comes from its ColdFire detours in the frame, which this release lets rest. It is to be measured again with the release build, on the scene the 0.2 limit (#1864) is judged on.

Qualification on 21 November 2026

In a local integration of this PR head with main ef6099b0a, the standalone builder and the release package generator produced the same 112,124-byte Tape Echo 0.1.7-experimental package, SHA-256 e975a8aef5e31808f9fd1b4e52045417a7a66e3169ab169bb6fefcf6a0e37322. The distribution row declares loader capability 2048. The SDK reproduced the package using the original OS for the stock-isolation check.

The native signal and voicing suite passed 39 checks. In the ColdFire emulator, eight instances matched the reference arithmetic for 2,300 blocks. The probe exercised TIME and AGE sweeps, FREE/BEAT switching, tempo, ring wrap and mixed use beside stock DELAY. The highest eight-instance endpoint-reversal case executed 22,571 instructions for a 16-sample block. The DSP stub modeled 1.5 cycles per sample in each of six settings. The audio processing runs on the ColdFire. These figures leave worst-case chip timing open.

The 0.4-point reading above belongs to 0.1.6 on base 0.7.8. The release remains a draft pending full qualification and green checks.

On the MKII running OS 1.40C and the 0.7.11 development base be86323a387211a5, the single-package RAM trial ran on the owner's A02, Part 4. A stock SPRING REV selection and the first Tape Echo selection both ran during playback, with zero skipped frames. Tape Echo on T1 and T5 FX2 accepted independent TIME edits. Part Save, another edit and Part Reload restored the saved bytes. Undo returned the instrument to normal mode and the original Part and pattern matched the incoming state.

Mean frame-interrupt time on A02 was 32.2% with the package present on no track, 33.9% on T1, and 34.3% across T1 and T5. Each eight-second window contained more than 24,000 frames with zero skips. T1 replaced SPRING REV and T5 replaced DELAY. The 32.2% is an absolute reading. On A01 Part 4, the empty base and installed-but-unused package both read 32.2% in all five playback windows. The two paired idle costs were +0.0 and +0.0 percentage points, with zero skipped renders. The project scan found no Tape Echo assignments among the working or saved Parts.

The host audio audit used FREE and BEAT voicings, 120 BPM and an eight-second tail. Three of eight FREE tones and four of eight BEAT tones exceeded the default aliasing threshold. Two near-full-scale FREE tones also reached the output limit. The C and assembly audio sources match 0.1.6. The MKII FX2 chooser and control page were captured on this exact 0.1.7 package.

The owner physically cycled after Undo when USB did not reconnect during the return to the flashed base. A fresh read confirmed 0.7.12 and the original empty saved and live set. This recovery occurred with Tape Echo already removed.

Additional MKII checks on 21 November 2026

The next single-package trial again restored the saved T1 and T5 assignments after an unsaved edit and Part Reload. During the separate Project Save step the panel reported NO SET IS MOUNTED! PLEASE MOUNT ONE. The trial ended without establishing project or reboot persistence. After card insertion and the return to 0.7.12, the unit reported two saved and two live modules, USB AUDIO and screen-off. The owner designated MWREPROB for the card-backed repeat.

The settled output mixer matched a saturating arithmetic reference across 15,488 cases. The dry control passed the signal audit. With FREE at full wet, three tones exceeded the default aliasing limit even though none reached the rails. With feedback at zero, two FREE tones exceeded that limit, as did one BEAT tone. The 0.1.6 and 0.1.7 packages contain identical controller images, DSP programs, relocations and DSP entry points. These findings also apply to the published engine.

Edge cases

Case Why this change makes it a risk How run Result
Installed, no slot names it the detours must hold stock's bytes and cost nothing device:price at rest, same scene as before +0.0 and +0.0 points on 0.7.11, A01 Part 4; zero skipped renders
Picked while playing the wake writes its sites masked before stock writes the pick frame guard over the pick window, a stock effect pick as control MKII passed, both windows had zero skipped frames
A Part, pattern or bank change bringing it in must not need a wake any slot of the project keeps it awake (base host test) pass (host, #1849); unit not run
A paste or a project load putting it on a live slot it runs unpatched until the next tick the live slot wakes it within a tick (base host test) pass for project reload and subsequent playback on the unit; paste and first-tick timing remain untested
Both slots and two instances the effect id is one for every slot picks on T1 and T5 passed on both FX2 slots, including independent edits and Part Reload
Undo of the trial that brought this version resting sites restored while resting whole-set trial and Undo pass for single-module Undo and the three-package card-backed run on the MKII

Guides: nothing missing for this release; the resting contract is in #1849 (HOOKS.md, MODULE_PERFORMANCE.md, OCTATRACK_API.md) and the at-rest limit in #1864.

Remaining release work

The remote PR head still carries the source preparation. Its checks report stale catalog/package versions and UI captures for an earlier release. Build inputs, the versioned package and the capability requirement have been refreshed in the local release checkout. The release still needs the hardware evidence above, full qualification, the remaining generated release files and passing CI on the submitted commit.

🤖 Generated with Claude Code

repeat98 and others added 3 commits November 20, 2026 13:54
…eds base 0.7.11)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s unchanged)

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, twin 9203cdf6, package byte-equal to this PR's. Installed alone, on no slot, with Dev17 C01 playing: Tape Echo 0.1.7 (e975a8ae…): 39.8 % against 0.1.6's 39.8 %, empty base 39.4 %. No change, and correctly so: bank A Part 1's working copy in Dev17 names Euclid (FX1 T4, id 0x1d) and Tape Echo (FX2 T4, id 0x0f). The base's per-effect idle counters (fx_idle) read 0 for exactly those ids and count up for every other id, so the module stays awake by design. The rest itself still needs a project where nothing names the module.

@repeat98

Copy link
Copy Markdown
Owner Author

Superseded by Tape Echo 0.1.9 (#2009), released with base 0.8 (#1910). 0.1.9 carries this version's changes (0.1.7's resting detours, 0.1.8's assembly per-track entry and overload hold), so players go from 0.1.6 straight to 0.1.9. Neither version was released.

@repeat98 repeat98 closed this Nov 23, 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