From 620e4508368380be77de197ad8c6eed4a259c48b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannik=20A=C3=9Ffalg?= <67785539+repeat98@users.noreply.github.com> Date: Mon, 30 Nov 2026 11:52:05 +0100 Subject: [PATCH 01/16] USB Audio: the bus-only layouts skip the track stores and the routed copy MAIN, like MAIN + CUE before it, no longer stores the sixteen track words a frame or routes its packets through the C copy: mwua_begin_frame decides both once a frame for every layout (mwua_no_tracks, mwua_bus_words). A change that starts sending a track without a reconnect keeps that track silent for one ring lap instead of sending the ring's older words. Owner's MKII, twin of base 0.8.4, Windows 11, MAIN + INPUTS AB: recording 51.6 -> 41.6-42.8 % of the frame interrupt, recording with input 54.3 -> 45.9 % (and 50.7 -> 40.1 % in a second pair); the recorded samples are unchanged. Co-Authored-By: Claude Opus 5.5 --- .../elekloader/test_usb_audio_settings.c | 33 ++++++++-- .../module-adapters/usb_audio_configurable.py | 62 ++++++++----------- .../module-adapters/usb_audio_settings.c | 28 +++++++-- sdk/tests/test_usb_audio_package.py | 22 +++---- 4 files changed, 88 insertions(+), 57 deletions(-) diff --git a/sdk/machines/octatrack/elekloader/test_usb_audio_settings.c b/sdk/machines/octatrack/elekloader/test_usb_audio_settings.c index 37b6b7e488..85dc408cf3 100644 --- a/sdk/machines/octatrack/elekloader/test_usb_audio_settings.c +++ b/sdk/machines/octatrack/elekloader/test_usb_audio_settings.c @@ -31,6 +31,11 @@ static void apply(uint32_t w) mwua_active = mwua_requested; mwua_begin_frame(); } +/* One lap of the ring: a track the producer started storing again is routed only after it. */ +static void settle(void) +{ + for (unsigned i = 0; i < RING_BLOCKS; ++i) mwua_begin_frame(); +} int main(void) { for (unsigned i=0; i<60; ++i) input[i]=0x100+i*19; @@ -44,7 +49,9 @@ int main(void) apply(w); assert(mwua_direct && mwua_fs_sum && !mwua_post); for (unsigned i=0; i= MAIN_CUE ? route[0] : SUM; mwua_fs_sum = mwua_fs_pair == SUM; - mwua_direct = profile == USB20 && mode == 0; - mwua_sent_words = mwua_direct ? 0xfffffu : sent; + unsigned direct = profile == USB20 && mode == 0; + unsigned no_tracks = !direct && !mwua_post && !(sent & 0xffffu) && mwua_fs_pair >= 8u && !mwua_fs_sum; + if (mwua_no_tracks && !no_tracks) stale = RING_BLOCKS; + mwua_no_tracks = (uint8_t)no_tracks; + if (stale) { + for (unsigned i = 0; i < mwua_pairs; ++i) if (route[i] < 8u) route[i] = SILENCE; + if (mwua_fs_pair < 8u) mwua_fs_pair = SILENCE; + sent &= ~0xffffu; + direct = 0; + } + mwua_direct = (uint8_t)direct; + mwua_sent_words = direct ? 0xfffffu : sent; + mwua_bus_words = direct ? 0u : mwua_pairs == 1u && route[0] == 8u ? 2u + : mwua_pairs == 2u && route[0] == 8u && route[1] == 9u ? 4u : 0u; } /* Source words already have the UAC2 byte order. The assembly reader splits * a wrapped ring into two straight runs and calls this for each. */ diff --git a/sdk/tests/test_usb_audio_package.py b/sdk/tests/test_usb_audio_package.py index a0f0446d75..aaf122f4c8 100644 --- a/sdk/tests/test_usb_audio_package.py +++ b/sdk/tests/test_usb_audio_package.py @@ -100,22 +100,18 @@ def test_the_configurable_producer_skips_what_its_layout_does_not_send(self): for call in (' bsr post_frame\n', ' bsr post_emac_leave\n', ' bsr post_emac_leave\n'): for at in [i for i in range(len(text)) if text.startswith(call, i)]: self.assertIn('tstb mwua_post', text[max(0, at - 160):at], call) - # MAIN + CUE does the built-in's work: once a frame the producer sets mwua_main_cue, only at high speed, in - # the two-pair profile, with words 16-19 sent and Main first; the track stores and the routed copy test it. - flag = text.split(' moveal %d1,%a1 | a1 != 0: skip the sum this block\n', 1)[1] - flag = flag.split(' moveb %d0,mwua_main_cue\n', 1)[0] - for test in ('tstl %d1', 'mvzb mwua_pairs,%d1\n subql #2,%d1', 'cmpil #0xf0000,%d1', - 'mvzb mwua_fs_pair,%d1\n subql #8,%d1', 'moveq #1,%d0'): - self.assertIn(test, flag) + # The bus-only layouts do the built-in's work: mwua_begin_frame (C) sets mwua_no_tracks and mwua_bus_words + # once a frame; the track stores and the routed copy test them, and the copy moves Main or Main and Cue. + self.assertNotIn('mwua_main_cue', text) skip = text.split('.Lpre_words:\n', 1)[1].split('.Lstems_store:\n', 1)[0] - for test in ('tstb mwua_main_cue', 'lea %a3@(64),%a3'): + for test in ('tstb mwua_no_tracks', 'lea %a3@(64),%a3'): self.assertIn(test, skip) route = text.split('mwua_route:', 1)[1].split(' bsr mwua_copy\n', 1)[0] - self.assertLess(route.index('tstb aud_hs'), route.index('bne mwua_copy_main_cue')) - self.assertLess(route.index('bne audio_copy80'), route.index('bne mwua_copy_main_cue')) - copy = text.split('mwua_copy_main_cue:', 1)[1].split('rts', 1)[0] - for test in ('lea %a2@(64),%a2', 'moveml %a2@,%d1-%d4', 'moveml %d1-%d4,%a1@', 'lea %a2@(80),%a2', - 'lea %a1@(16),%a1'): + self.assertLess(route.index('tstb aud_hs'), route.index('bne mwua_copy_bus')) + self.assertLess(route.index('bne audio_copy80'), route.index('bne mwua_copy_bus')) + copy = text.split('mwua_copy_bus:', 1)[1].split(' .bss', 1)[0] + for test in ('lea %a2@(64),%a2', 'moveml %a2@,%d1-%d2', 'moveml %d1-%d2,%a1@', 'addql #8,%a1', + 'moveml %a2@,%d1-%d4', 'moveml %d1-%d4,%a1@', 'lea %a2@(80),%a2', 'lea %a1@(16),%a1'): self.assertIn(test, copy) def test_the_setting_offers_main_and_cue_only_in_the_twenty_channel_layout(self): From 41d901ca663df1c3ae8a0dd12c883b91ba43a9fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannik=20A=C3=9Ffalg?= <67785539+repeat98@users.noreply.github.com> Date: Mon, 30 Nov 2026 12:08:33 +0100 Subject: [PATCH 02/16] USB Audio: the frame hook returns at once while no computer streams ev_usb_frame does not rest, so the hook ran its register save, the routing snapshot and the idle bookkeeping every block with no host. It now returns before saving a register while no stream is asked for, none needs tearing down, the idle bookkeeping is done and no POST gain history has to follow core 0. The first block a host asks for takes the whole path. Owner's MKII, twin of base 0.8.4, playing: base alone 30.8 %, installed at rest 31.3 % (0.4.2) and 31.4 % (previous commit) -> 30.9 %; recording and recording with input unchanged. Co-Authored-By: Claude Opus 5.5 --- .../module-adapters/usb_audio_configurable.py | 22 +++++++++++++++++++ sdk/tests/test_usb_audio_package.py | 5 +++++ 2 files changed, 27 insertions(+) diff --git a/sdk/machines/octatrack/module-adapters/usb_audio_configurable.py b/sdk/machines/octatrack/module-adapters/usb_audio_configurable.py index 7757ae71f1..14d45f3611 100644 --- a/sdk/machines/octatrack/module-adapters/usb_audio_configurable.py +++ b/sdk/machines/octatrack/module-adapters/usb_audio_configurable.py @@ -197,6 +197,28 @@ def source(root, module, layout, functions, load, sine_curve, package_hooks, *, text = configure_source(text) text = package_hooks(text) text = checked(text, ' jsr audio_frame_shim', ' jsr mwua_begin_frame\n jsr audio_frame_shim') + # At rest the hook returns before it saves a register: no stream asked for, none to tear down, the idle + # bookkeeping done (aud_closed) and no POST gain history to follow. It cost 0.6 points of the frame interrupt + # every block with no computer streaming (owner's MKII, 30 November 2026). The first block a host asks for + # takes the whole path, mwua_begin_frame's snapshot first. + text = checked(text, '''mwua_frame: | ev_usb_frame: the producer, which uses every register + lea %sp@(-44),%sp +''', '''mwua_frame: | ev_usb_frame: the producer, which uses every register + tstb usbaudio_alt + bnes .Lmwua_frame_work + tstb aud_running + bnes .Lmwua_frame_work + tstb mwua_post + bnes .Lmwua_frame_work + tstb aud_force + bnes .Lmwua_frame_work + tstb aud_closed + beqs .Lmwua_frame_work + moveq #0,%d0 | at rest + rts +.Lmwua_frame_work: + lea %sp@(-44),%sp +''') # Reuse the licensed fixed-clock SET_CUR handler as an ev_usb_control # callback. d2 is callee-saved and carries the verified request length. start = text.index('.Lctrl_set:\n') diff --git a/sdk/tests/test_usb_audio_package.py b/sdk/tests/test_usb_audio_package.py index aaf122f4c8..6ebb7cd211 100644 --- a/sdk/tests/test_usb_audio_package.py +++ b/sdk/tests/test_usb_audio_package.py @@ -109,6 +109,11 @@ def test_the_configurable_producer_skips_what_its_layout_does_not_send(self): route = text.split('mwua_route:', 1)[1].split(' bsr mwua_copy\n', 1)[0] self.assertLess(route.index('tstb aud_hs'), route.index('bne mwua_copy_bus')) self.assertLess(route.index('bne audio_copy80'), route.index('bne mwua_copy_bus')) + # At rest the frame hook returns before its register save, and only then. + frame = text.split('mwua_frame:', 1)[1].split(' moveml %d2-%d7/%a2-%a6,%sp@\n', 1)[0] + for test in ('tstb usbaudio_alt', 'tstb aud_running', 'tstb mwua_post', 'tstb aud_force', + 'tstb aud_closed\n beqs .Lmwua_frame_work\n moveq #0,%d0 | at rest\n rts'): + self.assertIn(test, frame) copy = text.split('mwua_copy_bus:', 1)[1].split(' .bss', 1)[0] for test in ('lea %a2@(64),%a2', 'moveml %a2@,%d1-%d2', 'moveml %d1-%d2,%a1@', 'addql #8,%a1', 'moveml %a2@,%d1-%d4', 'moveml %d1-%d4,%a1@', 'lea %a2@(80),%a2', 'lea %a1@(16),%a1'): From 1de89cf2e107298dfe9f35f084a012b9605e1269 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannik=20A=C3=9Ffalg?= <67785539+repeat98@users.noreply.github.com> Date: Mon, 30 Nov 2026 12:30:09 +0100 Subject: [PATCH 03/16] USB Audio: every packet that is one run of ring words is copied without the routes The bus-only copy becomes a run copy: mwua_begin_frame finds a packet whose pairs are consecutive ring words (one pair, two pairs or the eight tracks) and the packet copy moves that run alone, so TRACKS, TRACK 8 and single or double Outbox-style runs skip the routed C copy as MAIN and MAIN + CUE do. Owner's MKII, twin of base 0.8.4, Windows 11, recording only (frame interrupt, previous commit -> this one): TRACKS 16 channels 56.7 -> 50.3 %, TRACK 8 46.7 -> 44.6 %; at rest 30.9 % both; the recorded channels' peaks are unchanged. Co-Authored-By: Claude Opus 5.5 --- .../elekloader/test_usb_audio_settings.c | 9 ++-- .../module-adapters/usb_audio_configurable.py | 50 ++++++++++++------- .../module-adapters/usb_audio_settings.c | 15 ++++-- sdk/tests/test_usb_audio_package.py | 11 ++-- 4 files changed, 55 insertions(+), 30 deletions(-) diff --git a/sdk/machines/octatrack/elekloader/test_usb_audio_settings.c b/sdk/machines/octatrack/elekloader/test_usb_audio_settings.c index 85dc408cf3..8365520cd1 100644 --- a/sdk/machines/octatrack/elekloader/test_usb_audio_settings.c +++ b/sdk/machines/octatrack/elekloader/test_usb_audio_settings.c @@ -51,7 +51,8 @@ int main(void) w=select_option(w,"LAYOUT",layouts[i]); apply(w); settle(); assert(mwua_active==profiles[i] && mwua_pairs==counts[i]); assert(mwua_no_tracks == (i == MAIN_CUE || i == MAIN)); - assert(mwua_bus_words == (i == MAIN_CUE ? 4u : i == MAIN ? 2u : 0u)); + assert(mwua_run_words == (i == MAIN_CUE ? 4u : i == MAIN || i == MASTER ? 2u : i == TRACKS ? 16u : 0u)); + assert(mwua_run_off == (i == MAIN_CUE || i == MAIN ? 64u : i == MASTER ? 56u : 0u)); unsigned expected[10]; for (unsigned j=0; j Date: Mon, 30 Nov 2026 12:33:37 +0100 Subject: [PATCH 04/16] USB Audio 0.4.3-experimental: version, release notes, inventory kind 11 with 0.4.2 as its Undo, recipes and the release package Co-Authored-By: Claude Opus 5.5 --- .../0.4.3-experimental.mwrm | Bin 0 -> 22360 bytes scripts/machine-modules.mjs | 2 +- sdk/catalog.json | 2 +- .../usb-audio-input-reconstruction.json | 14 +++++++------- .../usb-audio-reconstruction.json | 10 +++++----- .../module-adapters/usb_audio_package.py | 5 +++-- .../octamod.module.json | 2 +- .../usb-audio-out-tracks-main-cue.json | 11 +++++++++++ src/config/usb-audio.ts | 7 ++++--- .../assets/octatrack-module-packages.json | 14 ++++++++++++++ src/engine/elekloader/module-set.ts | 4 ++-- src/engine/elekloader/usb-audio-package.test.ts | 16 ++++++++++++---- 12 files changed, 61 insertions(+), 26 deletions(-) create mode 100644 public/octatrack-modules/usb-audio-out-tracks-main-cue/0.4.3-experimental.mwrm diff --git a/public/octatrack-modules/usb-audio-out-tracks-main-cue/0.4.3-experimental.mwrm b/public/octatrack-modules/usb-audio-out-tracks-main-cue/0.4.3-experimental.mwrm new file mode 100644 index 0000000000000000000000000000000000000000..4d679c29ffb840154e186ff92cc08874f923cfe4 GIT binary patch literal 22360 zcmeHvdwf$>w*NXOX_|)6hElO&g+rRgSZh-&YH>Q4qy<7Pq0{nG84Rx!nJOW+wP2+u zX@K$&@$pl}Q7$^jfO56NbePJZlh%qIWVpaEfDAeX3seN`AR>=K?sxAKpk=rWa`lhj z{SZFi?8n)A?X}ikYwxx9Nf|b}a2RO`9~Y6ZCJSF{QTQpK`mN>J+t`z?pOHll$v!f7 z=yTfcNhyn`zc;vfv)&iAM)nY;@sci2F4lR4 zo*^RhaktJffTiOpI@a}`P57J1b;>4uUaFU&Fb(=lc;Y>x^qqP?%2AVv3XKCgx(Pwi zuSbR6&!z^gvK7j_moR}S0n~-F%RLlcJ)R8P+!S6ev3?MqIk&oqL zDCIGVy!Zw!SD9o;4!QnZU=ihTxScdIk%4$k8tc8ie)!kncIQr&DvxRD+hP-^w3 ztmTxxbsKoydS0gSTEo94gO^-ooaXUjqD|AGWAk@h zd!olvN|Fe!>x~vtYXyof))xl!0Su|0d;lCXPFi{2lhC}L<%TsPr&WV{G8pN3Ms2m4 z&6sUkd~yRyEozySl0)nX=leUa+DaJZ4OoM^=w;9GG0%45Lhxw4BDaw5xHR>A)@xAqbm#)RZl&{ zbYO9M1y`97ZOw<1^GWMiMS6*Aj@wABtBiAXD$NE8D=ttVam9JIp=RQBB-X`g{q zIQyo@B8h4yzwHZ|&t~&94WuDz*2BKSStTg3bho@?b~@@+Z5CDj5SuzxogZC5X{uLe z*99l(ICu4K5*m{?u#u9R@V%aM5>mz~Hd(b+wNgalpC^?qdmh{M05UqvolqhfCAGzw>Xc%O17+lc}%C53y_wGZdjb_&rZ@n8X?5} z|FC3pl|j>e;87cVagHU7KJ!-dVNNO7Qp5hW)+o|&I~F~uksaeCvx?h$a7yjWH;09M z?tFpB34OXTraO`I#oMjURoY3}_{6*-LGN#}kp2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jL^Ru!6o7w5_0P1x@_Eo$wcfbhi^I0LB1rU<%*`DgYU%0Tu&GfMvi+{6-7y2crEz zv>%A}1JQmU+7CqgfoMMv?FXX$K(rso+Sg)hss}k+RUo9=${lYf4jzA)dscERXxvbGQT=%F>d{X4Av_BE{i+xqvd zw!U^L+%NQ0U2&7R;+2sfY;dl4-1+f89~l;!XJ+jM2{+diWwZ(S4}>sl|9LX?l|NYD zow{vRkJEGS`{bLO9^Srk`ETx>e&oHWS^cA!y?0+{6ZRY@4gSl;>WXi=ySAqEw#>dU zkl5|H*Z%Z=;-TtaJ!p5BhCi-31KaH$vI(D0B^^=2ktb}E)$N*+QGHkb>glayout.id)]){ + for(const key of ['configurable', 'configurable-0.4.2', 'configurable-0.4.1', 'configurable-0.4', 'configurable-0.3', ...USB_AUDIO_LAYOUTS.map(layout=>layout.id)]){ const path=manifest.usbAudio?.[key]?.path if(typeof path==='string' && path.endsWith('.mwrm'))named.add(path) } diff --git a/sdk/catalog.json b/sdk/catalog.json index 01ccc9eda6..64059b4ea0 100644 --- a/sdk/catalog.json +++ b/sdk/catalog.json @@ -79,7 +79,7 @@ }, { "id": "usb-audio-out-tracks-main-cue", - "version": "0.4.2-experimental", + "version": "0.4.3-experimental", "addedAt": "2026-10-01T09:19:37Z" }, { diff --git a/sdk/machines/octatrack/module-adapters/usb-audio-input-reconstruction.json b/sdk/machines/octatrack/module-adapters/usb-audio-input-reconstruction.json index fe5f4a5ed6..cd05a4d62d 100644 --- a/sdk/machines/octatrack/module-adapters/usb-audio-input-reconstruction.json +++ b/sdk/machines/octatrack/module-adapters/usb-audio-input-reconstruction.json @@ -1,13 +1,13 @@ { "schema": 1, - "imageSha256": "758a077729ae281527efe2b37fe68b407a3837eaa737dd12bb801bae86c6ec9f", + "imageSha256": "daee16d2c2e13bc1a341c0d3f64bd1e25fce7437cdc70e7576299887f27e61cd", "sources": { - "generatedAssembly": "cf7a8f950ddd6dda12030a279ff98e0b1add646e4e9d9b90f381f399bf8d7427", - "sdk/machines/octatrack/module-adapters/usb_audio_settings.c": "e893cec8f8054a39d53f96124667bd44639122e5c338d5f180d23ce9e0e97f89", + "generatedAssembly": "228cecb149094a44a46597ac13b8f08942031016d8d234c8bb92288391ab4e7b", + "sdk/machines/octatrack/module-adapters/usb_audio_settings.c": "dad422a31bb19b7d0e92c0849ef1709ccb07260bd9778d9560b2dcff8d8d020c", "sdk/machines/octatrack/include/modwerk_events.h": "d669041baeaa2d9bf3b0fb5dbf365ebf28f14903ff24377261c17f7c5eb41981", "sdk/octatrack/modules/usb-audio-out-tracks-main-cue/usb_audio_input_trim.c": "6b128ab96ae73b136afb9ccf3acfb4e9d21168b5452e5f835b7588f80364cba0", "sdk/octatrack/modules/usb-audio-out-tracks-main-cue/usb_audio_output_trim.c": "91aff3f0353b0f10d4f17f68d8ca01df214408cd55a1d058f40012fe7de07ed0", - "generatedSettings": "745826397f23921738e246bb4c2bad60a174a91e59a70949d9e48c44852854b2" + "generatedSettings": "3c583bec5cf4355eeda7c74c2cd97dda179364326291333fbd0796d25b8610a5" }, "copies": [ { @@ -18,21 +18,21 @@ "purpose": "Authored audio_pkt_build + 608 in the USB Audio image" }, { - "offset": 3562, + "offset": 3514, "length": 6, "address": 1073863924, "sha256": "868378f30d4ed1251a28851782180b919dbfbd18ea839b594142244f6e06fb8a", "purpose": "Authored uac2_set_done + 52 in the USB Audio image" }, { - "offset": 3568, + "offset": 3520, "length": 10, "address": 1073864298, "sha256": "c1ed73406504f0066c561fa89bfd547fa1c6825d89a28c3442c7997413e0b84c", "purpose": "Authored uac2_set_done + 58 in the USB Audio image" }, { - "offset": 5014, + "offset": 5104, "length": 12, "address": 1073858896, "sha256": "adf82a9ab72faf6ad2a911fa873acbf3195bd4a8a4a73771edb96a383405204c", diff --git a/sdk/machines/octatrack/module-adapters/usb-audio-reconstruction.json b/sdk/machines/octatrack/module-adapters/usb-audio-reconstruction.json index 7ba1446f03..6598643ff5 100644 --- a/sdk/machines/octatrack/module-adapters/usb-audio-reconstruction.json +++ b/sdk/machines/octatrack/module-adapters/usb-audio-reconstruction.json @@ -1,9 +1,9 @@ { "schema": 1, - "imageSha256": "53a60634a7c3831961c7e99959f454882f07b94f185f45fe43364995462835ca", + "imageSha256": "e339f98b9aabf68f0de97485bb4e88f83a17d40d5ccaff85e527251cf4d3539d", "sources": { - "generatedAssembly": "5b10045507818c7ecfa8addf0db483351854510e7ed61d3242e378b7a8c46095", - "sdk/machines/octatrack/module-adapters/usb_audio_settings.c": "e893cec8f8054a39d53f96124667bd44639122e5c338d5f180d23ce9e0e97f89", + "generatedAssembly": "f6e9fbe4ffde33aeb4bc6d4e8d79e1c87cdfd16af75d5330ed9c5e084669c36a", + "sdk/machines/octatrack/module-adapters/usb_audio_settings.c": "dad422a31bb19b7d0e92c0849ef1709ccb07260bd9778d9560b2dcff8d8d020c", "sdk/machines/octatrack/include/modwerk_events.h": "d669041baeaa2d9bf3b0fb5dbf365ebf28f14903ff24377261c17f7c5eb41981" }, "copies": [ @@ -15,14 +15,14 @@ "purpose": "Authored audio_pkt_build + 556 in the USB Audio image" }, { - "offset": 3368, + "offset": 3320, "length": 6, "address": 1073863924, "sha256": "868378f30d4ed1251a28851782180b919dbfbd18ea839b594142244f6e06fb8a", "purpose": "Authored uac2_set_done + 52 in the USB Audio image" }, { - "offset": 3374, + "offset": 3326, "length": 10, "address": 1073864298, "sha256": "c1ed73406504f0066c561fa89bfd547fa1c6825d89a28c3442c7997413e0b84c", diff --git a/sdk/machines/octatrack/module-adapters/usb_audio_package.py b/sdk/machines/octatrack/module-adapters/usb_audio_package.py index d8bfdc9ac2..20ba118773 100644 --- a/sdk/machines/octatrack/module-adapters/usb_audio_package.py +++ b/sdk/machines/octatrack/module-adapters/usb_audio_package.py @@ -493,7 +493,8 @@ def build(layout, cross='m68k-elf-', *, release=False, capture=None, stock=None, dict(event='ev_usb_bus_end', fn='mwua_bus_end', order=50), dict(event='ev_usb_control', fn='mwua_control', order=50), dict(event='ev_usb_frame', fn='mwua_frame', order=50), dict(event='ot_settings', fn='mwua_setting', order=50)] hooks = loader.subscribe([loader.NONE] * len(loader.HANDLERS), entries, symbols) - # Inventory kind 10 is the configurable package whose recording follows the host's + # Inventory kind 11 is the configurable package that copies runs of ring words and rests with no stream + # (0.4.3), 10 the one whose recording follows the host's # clock while the host plays in (0.4.2), 9 the one with USB input on an adaptive # endpoint (0.4.1), 8 the one with an asynchronous input endpoint (0.4.0), 7 the # output-only one (0.3.0). Kinds 1-6 identify the older fixed layouts. The site @@ -554,7 +555,7 @@ def build(layout, cross='m68k-elf-', *, release=False, capture=None, stock=None, raise ValueError('The installed image differs from the compiled module.') data = loader.package(image, bss, hooks, offsets, sites, name=MODULE, hashed=True, title=TITLE, abi=8, copies=copies, fills=fills, - layout=(10 if input_port else 7) if layout is None else functions.AUDIO_LAYOUTS[layout] + 1) + layout=(11 if input_port else 7) if layout is None else functions.AUDIO_LAYOUTS[layout] + 1) if release and stock: packages = load('usb_audio_package_scan', HERE.parent / 'elekloader/module_packages.py') scanner = load('usb_audio_image_scan', HERE.parent / 'elekloader/check_stock_free.py') diff --git a/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/octamod.module.json b/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/octamod.module.json index f1a358f874..3126ef054f 100644 --- a/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/octamod.module.json +++ b/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/octamod.module.json @@ -1,6 +1,6 @@ { "schemaVersion": 2, - "version": "0.4.2-experimental", + "version": "0.4.3-experimental", "nativeManifest": "manifest.py", "media": [ { diff --git a/src/community/module-changelogs/usb-audio-out-tracks-main-cue.json b/src/community/module-changelogs/usb-audio-out-tracks-main-cue.json index c4cc2ba65e..87efcd928f 100644 --- a/src/community/module-changelogs/usb-audio-out-tracks-main-cue.json +++ b/src/community/module-changelogs/usb-audio-out-tracks-main-cue.json @@ -1,4 +1,15 @@ [ + { + "version": "0.4.3-experimental", + "date": "2026-11-30", + "changes": [ + "Recording to a computer costs less CPU: MAIN about 60% less, the 16 track channels and TRACK 8 a little less.", + "With no computer streaming, USB Audio now costs almost nothing.", + "Tested on Windows 11 with INPUTS AB: no Code 10, recording and playing in at once, every Undo clean.", + "Same audio and settings as 0.4.2. An Octatrack running 0.4.2 gets this version with its next sync.", + "Known issue: rarely, after installing or removing a module, the Octatrack drops off USB until a power cycle." + ] + }, { "version": "0.4.2-experimental", "date": "2026-11-27", diff --git a/src/config/usb-audio.ts b/src/config/usb-audio.ts index b6cca4a5a7..eedc03468e 100644 --- a/src/config/usb-audio.ts +++ b/src/config/usb-audio.ts @@ -20,12 +20,13 @@ export const USB_AUDIO_LAYOUTS = [ { id: 'master', define: 2, key: 'USB AUDIO OUT MASTER', name: 'Track 8 / Master', channels: 2, pairs: ['Track 8'], tap: 'pre', description: 'Track 8 after its effects, before its fader. Enable MASTER TRACK on the Octatrack for a master-bus feed.' }, ] as const export type UsbAudioLayout = typeof USB_AUDIO_LAYOUTS[number]['id'] -/** `configurable` is the published package; `configurable-0.4.1` (its recording on the unit's clock while a Mac plays +/** `configurable` is the published package; `configurable-0.4.2` (the same streams, costlier on the frame interrupt), + * `configurable-0.4.1` (its recording on the unit's clock while a Mac plays * in, which buzzed after a few minutes, #2263), `configurable-0.4` (USB input on an asynchronous endpoint, which Windows * refuses) and `configurable-0.3` (output only) older ones a unit may still run, kept for their exact Undo and replaced * on the next sync. */ -export type UsbAudioPackageKind = UsbAudioLayout | 'configurable' | 'configurable-0.4.1' | 'configurable-0.4' | 'configurable-0.3' -export const isConfigurable = (kind?: UsbAudioPackageKind) => kind === 'configurable' || kind === 'configurable-0.4.1' || kind === 'configurable-0.4' || kind === 'configurable-0.3' +export type UsbAudioPackageKind = UsbAudioLayout | 'configurable' | 'configurable-0.4.2' | 'configurable-0.4.1' | 'configurable-0.4' | 'configurable-0.3' +export const isConfigurable = (kind?: UsbAudioPackageKind) => kind === 'configurable' || kind === 'configurable-0.4.2' || kind === 'configurable-0.4.1' || kind === 'configurable-0.4' || kind === 'configurable-0.3' export type UsbAudioConfiguration = { version: typeof USB_AUDIO_VERSION; layout: UsbAudioLayout; destination: 'computer' | 'outbox'; outboxPairs: number[] } export function usbAudioLayout(id: UsbAudioLayout) { return USB_AUDIO_LAYOUTS.find(layout => layout.id === id)! } export function usbAudioPreset(destination: UsbAudioConfiguration['destination']): UsbAudioConfiguration { diff --git a/src/engine/assets/octatrack-module-packages.json b/src/engine/assets/octatrack-module-packages.json index 247de73564..05f312ee2f 100644 --- a/src/engine/assets/octatrack-module-packages.json +++ b/src/engine/assets/octatrack-module-packages.json @@ -899,6 +899,20 @@ ], "usbAudio": { "configurable": { + "name": "USB Audio", + "version": "0.4.3-experimental", + "path": "octatrack-modules/usb-audio-out-tracks-main-cue/0.4.3-experimental.mwrm", + "bytes": 22360, + "sha256": "b2f271887364448b90f31a31709e120c974a642d04f4c2a54b193469ade167b1", + "abi": 8, + "features": 131, + "sites": 3, + "copies": 4, + "fills": 0, + "installPresets": true, + "requiredBase": "34fe3dd966ef8c417fb4e1820fa76a384096fa4df097f86f258ba538fa8e75b8" + }, + "configurable-0.4.2": { "name": "USB Audio", "version": "0.4.2-experimental", "path": "octatrack-modules/usb-audio-out-tracks-main-cue/0.4.2-experimental.mwrm", diff --git a/src/engine/elekloader/module-set.ts b/src/engine/elekloader/module-set.ts index 6208888815..a423ca9522 100644 --- a/src/engine/elekloader/module-set.ts +++ b/src/engine/elekloader/module-set.ts @@ -43,10 +43,10 @@ export interface RuntimePackageManifest { usbAudio?: Partial> } /** The layout number a USB Audio package carries (usb_audio_package.py: its source's layout define, plus one). */ -export const usbAudioLayoutNumber = (kind: UsbAudioPackageKind) => kind === 'configurable' ? 10 : kind === 'configurable-0.4.1' ? 9 : kind === 'configurable-0.4' ? 8 : kind === 'configurable-0.3' ? 7 : usbAudioLayout(kind).define + 1 +export const usbAudioLayoutNumber = (kind: UsbAudioPackageKind) => kind === 'configurable' ? 11 : kind === 'configurable-0.4.2' ? 10 : kind === 'configurable-0.4.1' ? 9 : kind === 'configurable-0.4' ? 8 : kind === 'configurable-0.3' ? 7 : usbAudioLayout(kind).define + 1 const USB_AUDIO_SETTING_KEY = 0x8c3a257f // settings.c st_key("USB AUDIO") const LAYOUT_BY_NUMBER = new Map(USB_AUDIO_LAYOUTS.map(item => [item.define + 1, item.id])) -for (const kind of ['configurable', 'configurable-0.4.1', 'configurable-0.4', 'configurable-0.3'] as const) LAYOUT_BY_NUMBER.set(usbAudioLayoutNumber(kind), kind) +for (const kind of ['configurable', 'configurable-0.4.2', 'configurable-0.4.1', 'configurable-0.4', 'configurable-0.3'] as const) LAYOUT_BY_NUMBER.set(usbAudioLayoutNumber(kind), kind) export class BaseUpdateRequired extends ModuleSetError { constructor(message = 'Update to the latest Modwerk base to sync this set.') { super(message) } } diff --git a/src/engine/elekloader/usb-audio-package.test.ts b/src/engine/elekloader/usb-audio-package.test.ts index 01f130f781..b7b8b8dfb3 100644 --- a/src/engine/elekloader/usb-audio-package.test.ts +++ b/src/engine/elekloader/usb-audio-package.test.ts @@ -36,11 +36,11 @@ describe('USB Audio as a module package', () => { for (const layout of ['tracks', 'master', 'main-cue'] as const) { const result = await catalogue.prepare(set(layout), empty, fetched, capable) expect(result.changes[0].data).toEqual(data('configurable')) - expect(catalogue.review(set(layout), on(10), capable).needsSync).toBe(false) + expect(catalogue.review(set(layout), on(11), capable).needsSync).toBe(false) } const migration = await catalogue.prepare(set('main'), on(5), fetched, capable) expect(migration.changes[0]).toMatchObject({ data: data('configurable'), undo: data('main'), reconnects: true }) - const removal = await catalogue.prepare(set(), on(10), fetched, capable) + const removal = await catalogue.prepare(set(), on(11), fetched, capable) expect(removal.changes[0].undo).toEqual(data('configurable')) }) it('replaces the output-only 0.3.0 package on the unit, with that package as the Undo', async () => { @@ -53,7 +53,7 @@ describe('USB Audio as a module package', () => { }) it('replaces 0.4.0, whose input endpoint Windows refuses, with that package as the Undo', async () => { const { catalogue, fetched, data, on } = audioCatalogue(['configurable-0.3', 'configurable-0.4', 'configurable']) - expect([on(7), on(8), on(10)].map(inventory => inventory.usbAudioLayout)).toEqual(['configurable-0.3', 'configurable-0.4', 'configurable']) + expect([on(7), on(8), on(11)].map(inventory => inventory.usbAudioLayout)).toEqual(['configurable-0.3', 'configurable-0.4', 'configurable']) expect(catalogue.review(set('main'), on(8), capable)).toMatchObject({ needsSync: true, updates: [USB_AUDIO_MODULE], problem: undefined }) const update = await catalogue.prepare(set('main'), on(8), fetched, capable) expect(update.changes).toEqual([{ module: 'USB Audio', data: data('configurable'), undo: data('configurable-0.4'), replaces: true, reconnects: true }]) @@ -61,11 +61,19 @@ describe('USB Audio as a module package', () => { }) it('replaces 0.4.1, whose recording buzzed on a Mac playing in, with that package as the Undo', async () => { const { catalogue, fetched, data, on } = audioCatalogue(['configurable-0.3', 'configurable-0.4', 'configurable-0.4.1', 'configurable']) - expect([on(7), on(8), on(9), on(10)].map(inventory => inventory.usbAudioLayout)).toEqual(['configurable-0.3', 'configurable-0.4', 'configurable-0.4.1', 'configurable']) + expect([on(7), on(8), on(9), on(11)].map(inventory => inventory.usbAudioLayout)).toEqual(['configurable-0.3', 'configurable-0.4', 'configurable-0.4.1', 'configurable']) const update = await catalogue.prepare(set('main'), on(9), fetched, capable) expect(update.changes).toEqual([{ module: 'USB Audio', data: data('configurable'), undo: data('configurable-0.4.1'), replaces: true, reconnects: true }]) expect((await catalogue.prepare(set(), on(9), fetched, capable)).changes[0].undo).toEqual(data('configurable-0.4.1')) }) + it('replaces 0.4.2 with the cheaper 0.4.3, that package as the Undo', async () => { + const { catalogue, fetched, data, on } = audioCatalogue(['configurable-0.4.1', 'configurable-0.4.2', 'configurable']) + expect([on(9), on(10), on(11)].map(inventory => inventory.usbAudioLayout)).toEqual(['configurable-0.4.1', 'configurable-0.4.2', 'configurable']) + expect(catalogue.review(set('main'), on(10), capable)).toMatchObject({ needsSync: true, updates: [USB_AUDIO_MODULE], problem: undefined }) + const update = await catalogue.prepare(set('main'), on(10), fetched, capable) + expect(update.changes).toEqual([{ module: 'USB Audio', data: data('configurable'), undo: data('configurable-0.4.2'), replaces: true, reconnects: true }]) + expect((await catalogue.prepare(set(), on(10), fetched, capable)).changes[0].undo).toEqual(data('configurable-0.4.2')) + }) it('numbers each layout by its source define plus one', () => { expect(['tracks-main-cue', 'tracks', 'master', 'main-cue', 'main', 'tracks-post'].map(layout => usbAudioLayoutNumber(layout as UsbAudioLayout))).toEqual([1, 2, 3, 4, 5, 6]) }) From cfdedecece337dc27c269f367f4a46e1d673668e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannik=20A=C3=9Ffalg?= <67785539+repeat98@users.noreply.github.com> Date: Mon, 30 Nov 2026 12:36:44 +0100 Subject: [PATCH 05/16] USB Audio 0.4.3-experimental: the performance record and the source-built packages Co-Authored-By: Claude Opus 5.5 --- .../evidence/performance.json | 16 ++++++++-------- src/engine/assets/module-build.json | 10 +++++----- src/engine/assets/requested-packages.json | 4 ++-- src/engine/assets/usb-audio-packages.json | 2 +- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/evidence/performance.json b/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/evidence/performance.json index 0b62d051fd..9856db328b 100644 --- a/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/evidence/performance.json +++ b/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/evidence/performance.json @@ -1,22 +1,22 @@ { "schema": 1, "module": "usb-audio-out-tracks-main-cue", - "version": "0.4.2-experimental", + "version": "0.4.3-experimental", "kind": "coldfire", "cycles": { "unit": "cycles/event", "static": null, "measured": null, "budget": null, - "method": "Not measured in cycles, waived by the owner for 0.4.2 (sdk/approvals, chip-worst-case-cycles) as for 0.3.0 to 0.4.1. The package's work runs in the frame interrupt on every frame while a host streams: the producer, the packet copy and, while the host plays in, the input receiver and the recording's drift trim (usb_audio_output_trim.c, new in 0.4.2: a four-frame Catmull-Rom slip of the sent words, about 3.4 slips a second). In MAIN + CUE at high speed 0.4.2 does the built-in's work: one flag a frame, no track words, the built-in's sixteen-byte copy. No static bound was counted. The load below is the measured whole cost." + "method": "Not measured in cycles, waived by the owner as for 0.3.0 to 0.4.2 (sdk/approvals, chip-worst-case-cycles). The package's work runs in the frame interrupt on every frame while a host streams: the producer, the packet copy and, while the host plays in, the input receiver and the recording's drift trim. New in 0.4.3: a packet that is one run of ring words (MAIN, MAIN + CUE, TRACK 8, the sixteen tracks) is copied with moveml as the built-in copies it, the producer skips the track words when no packet sends one, and with no stream the frame hook returns before its register save. No static bound was counted. The load below is the measured whole cost." }, "load": { "frameUs": 362.8, - "stockLongestUs": 142.2, - "moduleLongestUs": 193.7, - "stockIdlePercent": 64.6, - "moduleIdlePercent": 55.0, - "method": "The owner's Octatrack MKII, development twin 9cf5c4a8 of the 0.8.3 base draft with the USB reset fix (dc9d156a3's source), 27 November 2026, agent-run, a rolled-back trial, nothing kept. Scene: the owner's project, bank C pattern C02 playing, T7 a Thru machine on inputs AB with one trig, the other tracks muted; a Mac connected. Each figure is the base's guard and CPU meter over one 25 s reading. Stock: no module, the longest frame 39.2 % of a 362.8 us frame, the frame interrupt's mean 23.6 %, the CPU meter 35.4 % (idle 64.6). Module: the release (c2597a32) with INPUTS OFF (the default) while the Mac records Main + Cue, two readings: the longest frame 53.0 and 53.4 %, the mean 28.2 and 28.0 %, the CPU meter 45.0 and 40.9 %; the record keeps the higher longest frame and the lower idle (55.0). Installed with no stream: 24.3 %, 47.7 %. With INPUTS AB, on twin 005817e4 the same day in the same scene, recording costs about 1.2 points more of the mean (macOS runs the input stream whenever it records). The built-in original linked into a twin of the same source added 3.2 points of the mean to a recording; this release adds about 4.5 with INPUTS OFF. No late entry, wait or skipped render in any reading. The built-in, recording Main + Cue in the same scene on its own linked twin the same day: the longest frame 60.4 %, the mean 31.1 %, the CPU meter 44.4 % (idle 55.6); that twin also ran 4.3 points above its base at rest, not understood.", + "stockLongestUs": 232.9, + "moduleLongestUs": 258.7, + "stockIdlePercent": 52.0, + "moduleIdlePercent": 45.0, + "method": "The owner's Octatrack MKII, development twin 16c87945 of base 0.8.4 (ee2184ce3 with --dev), 30 November 2026, agent-run, rolled-back trials, nothing kept. Scene: the owner's project, bank A pattern 1 playing, Part 1, a trig on T8 step 1 (a 2 s sample loop), the other tracks silent on the twin; Windows 11 recording over WASAPI exclusive mode, 32-bit. Each figure is the base's guard and CPU meter, three 20 s readings a state, alternated with 0.4.2 built the same way. Stock: no module, the longest frame 64.0-64.2 % of a 362.8 us frame, the mean 30.8 %, the CPU meter 46-48 % (idle 52). Module: this release's code (plain build c7014e80; the release adds only its inventory kind and reconstruction), layout MAIN with INPUTS AB, recording: the longest frame 71.2-71.3 %, the mean 37.4 %, the CPU meter 53-55 % (idle 45); 0.4.2 the same way: 46.7 %, longest 76.2-76.3 %, CPU 59. Recording while Windows played a tone into INPUTS AB: 40.0 % (0.4.2: 50.7 %). Installed with no stream: 30.9 % (0.4.2: 31.3 %). TRACKS (16 channels) recording 50.3 % (0.4.2-equivalent copy 56.7 %), TRACK 8 44.6 % (46.7 %). No late entry, wait or skipped render in any reading.", "builtIn": { "name": "the built-in USB AUDIO OUT MAIN CUE linked into twin ae9154d4 of the same 0.8.3 source", "longestUs": 219.1, @@ -30,6 +30,6 @@ "stuckNotes": null, "hangs": null, "dropped": null, - "droppedExplanation": "Not a MIDI flood (the fields stay empty: it does not apply). Instead, on the 0.8.2 development twin 8a341725 with the release installed: every USB AUDIO setting changed idle (13 changes), while the Mac recorded (6) and while it played in (3); the Mac always ended with the right channel count, the Modwerk link came back, no usb incident, no late entry; a change while playing waited for STOP. A 10-minute duplex run on 26 November 2026 (an earlier build of the same trim) stayed clean." + "droppedExplanation": "Not a MIDI flood (the fields stay empty: it does not apply). 0.4.3 changes no setting or reconnect path; 0.4.2's run of every USB AUDIO setting (13 changes idle, 6 while recording, 3 while playing in, on the 0.8.2 twin 8a341725) stands. On 30 November 2026 a switch from MAIN to TRACK 8 sends silence on track 8 for one ring lap (23 ms), host-tested, not run on the unit." } } diff --git a/src/engine/assets/module-build.json b/src/engine/assets/module-build.json index e1edbeb15e..91046f3b4f 100644 --- a/src/engine/assets/module-build.json +++ b/src/engine/assets/module-build.json @@ -1,9 +1,9 @@ { "schemaVersion": 1, "kind": "source-packages", - "sourceCommit": "7af6aae571d85cd37b9838eaec9d5536ba448cbf", + "sourceCommit": "9df6d09de23a28cda6ca48734c9a01d47c02803f", "nativeRevision": "b8deefc88b2c3e5f3c6158e364eb741df1924e1d", - "sourceTreeSha256": "c60a06a773dc5dff7b100c7251e26d7c779b350c6abeb73c00f2f2f3bfcaf121", + "sourceTreeSha256": "a6751659acf81f052a4f788d80237db16a1906dbe2e6534103db12ca7a32987e", "compilerSha256": "8af49c274be92a98fe2cf59b8a4c64c51ac0b9486b1ace0e42928cb279a576a5", "moduleVersions": { "miniverb": "0.2.3-experimental", @@ -21,7 +21,7 @@ "mackity": "0.1.0-experimental", "midiverb": "0.2.0-experimental", "analog-bassdrum": "0.1.7-experimental", - "usb-audio-out-tracks-main-cue": "0.4.2-experimental", + "usb-audio-out-tracks-main-cue": "0.4.3-experimental", "quantizer": "0.1.5-experimental", "synth": "0.1.5-experimental", "previewvol": "0.1.2-experimental", @@ -81,7 +81,7 @@ }, "requested-packages.json": { "bytes": 1455458, - "sha256": "eea43b735926a89c95262ac835b3e987f2151a18c7f59c9d6544c1add473aa92" + "sha256": "5311ca85d61a02182bc65407200c764a629abfbc086704155c4c45c770e2ae24" }, "utility-packages.json": { "bytes": 11735, @@ -89,7 +89,7 @@ }, "usb-audio-packages.json": { "bytes": 736377, - "sha256": "2d03830655d683e1b2af7ba76e1bd5e86c09291a0139abfa094f6225ae1895a3" + "sha256": "5146f554f9705b06d9f1e024c030016120ca47326ff91114d3820d5cd9ceb0d4" } }, "approval": null, diff --git a/src/engine/assets/requested-packages.json b/src/engine/assets/requested-packages.json index 43d3c4094e..b9cacdd152 100644 --- a/src/engine/assets/requested-packages.json +++ b/src/engine/assets/requested-packages.json @@ -74,7 +74,7 @@ { "label": "usbaudio", "moduleId": "usb-audio-out-tracks-main-cue", - "version": "0.4.2-experimental", + "version": "0.4.3-experimental", "key": "USB AUDIO OUT TRACKS MAIN CUE", "author": "markandrus", "nativeAuthor": "markandrus/octemu", @@ -97,7 +97,7 @@ { "label": "usbmidi_rx", "moduleId": "usb-audio-out-tracks-main-cue", - "version": "0.4.2-experimental", + "version": "0.4.3-experimental", "key": "USB AUDIO OUT TRACKS MAIN CUE", "author": "markandrus", "nativeAuthor": "markandrus/octemu", diff --git a/src/engine/assets/usb-audio-packages.json b/src/engine/assets/usb-audio-packages.json index 2163cced8f..9aa8652a33 100644 --- a/src/engine/assets/usb-audio-packages.json +++ b/src/engine/assets/usb-audio-packages.json @@ -1,6 +1,6 @@ { "schema": 1, - "version": "0.4.2-experimental", + "version": "0.4.3-experimental", "revision": "b8deefc88b2c3e5f3c6158e364eb741df1924e1d", "upstreamRevision": "7b2984c859732ae6c797ae49c7d61d250b1b6519", "sources": { From e9a3240fba1c7ff091590cf20dc616cd5b5c705d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannik=20A=C3=9Ffalg?= <67785539+repeat98@users.noreply.github.com> Date: Mon, 30 Nov 2026 12:40:00 +0100 Subject: [PATCH 06/16] USB Audio 0.4.3-experimental: import the source-built packages of the merge with main Co-Authored-By: Claude Opus 5.5 --- src/engine/assets/module-build.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/engine/assets/module-build.json b/src/engine/assets/module-build.json index c3928b8107..9fa48bbca4 100644 --- a/src/engine/assets/module-build.json +++ b/src/engine/assets/module-build.json @@ -1,9 +1,9 @@ { "schemaVersion": 1, "kind": "source-packages", - "sourceCommit": "d98c48c0653ae5b13d599678903bde120ba0d729", + "sourceCommit": "924f9b55c345eccd7aa0da09379f1d037de36213", "nativeRevision": "b8deefc88b2c3e5f3c6158e364eb741df1924e1d", - "sourceTreeSha256": "543e57f9c1cc7dcf9975cecc05314bd5dda4130226169b7fc1521934cabff80f", + "sourceTreeSha256": "9360708bd68278e77a2cf69835c6bb92aced0836810e9fb431933183ca7b2e0b", "compilerSha256": "0d5ec1690380c1ad4e45371c91f676a07bdb5fd6ec6949f70ff2d460b50caa0a", "moduleVersions": { "miniverb": "0.2.3-experimental", @@ -22,7 +22,7 @@ "midiverb": "0.2.0-experimental", "ringbank": "0.1.0-experimental", "analog-bassdrum": "0.1.7-experimental", - "usb-audio-out-tracks-main-cue": "0.4.2-experimental", + "usb-audio-out-tracks-main-cue": "0.4.3-experimental", "quantizer": "0.1.5-experimental", "synth": "0.1.5-experimental", "previewvol": "0.1.2-experimental", @@ -83,7 +83,7 @@ }, "requested-packages.json": { "bytes": 1470741, - "sha256": "5e1c875c941a1fbcb1f9048ddfc7a97115b8b8b8177bd22f1ed9d81069b4b4c0" + "sha256": "fc81e72e99971cf7e67d46953c5823955877adb0fdac8a83cfede178594f8713" }, "utility-packages.json": { "bytes": 11735, @@ -91,7 +91,7 @@ }, "usb-audio-packages.json": { "bytes": 736377, - "sha256": "2d03830655d683e1b2af7ba76e1bd5e86c09291a0139abfa094f6225ae1895a3" + "sha256": "5146f554f9705b06d9f1e024c030016120ca47326ff91114d3820d5cd9ceb0d4" } }, "approval": null, From b95c6f842a48cf949c4b2b3a12b7506d073d6ec4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannik=20A=C3=9Ffalg?= <67785539+repeat98@users.noreply.github.com> Date: Mon, 30 Nov 2026 12:40:27 +0100 Subject: [PATCH 07/16] USB Audio 0.4.3-experimental: TESTING.md, the Windows records and what is not run yet Co-Authored-By: Claude Opus 5.5 --- .../usb-audio-out-tracks-main-cue/TESTING.md | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/TESTING.md b/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/TESTING.md index fa5dedcecb..3318140a10 100644 --- a/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/TESTING.md +++ b/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/TESTING.md @@ -1,5 +1,28 @@ # USB Audio testing +## 0.4.3-experimental (draft), 30 November 2026 + +**The release costs less to record and almost nothing at rest; the release package itself has not run its test procedure yet.** Owner's MKII, OS 1.40C, development twin `16c87945` of base 0.8.4 (`ee2184ce3` built with `--dev` and the beta flags), Windows 11 over WASAPI exclusive mode (32-bit integers; WDM-KS where Windows refused an endpoint). Agent-run, rolled-back trials, nothing kept. Builds: plain packages of this branch's code alternated with 0.4.2's code built the same way (`29322d74`); they differ from the release only by its inventory kind and reconstruction. + +- **0.4.2 on Windows 11 (the release `c2597a32` with the install preset MAIN + INPUTS AB, `84943664`, on the flashed 0.8.4):** the audio function started with `usbaudio2`, no Code 10, for a 150 s trial; a 1 kHz tone played into the Octatrack while Main was recorded, no stream status flags either way, the output counters showed no underrun or overrun. Undo clean. This closes 0.4.2's open Windows check. +- **What 0.4.3 changes:** a packet that is one run of ring words (MAIN, MAIN + CUE, TRACK 8, the sixteen tracks) is copied with `moveml` as the built-in copies it, not through the routed C copy; the producer skips the sixteen track words a frame whenever no packet sends one (MAIN as well as MAIN + CUE); with no stream the frame hook returns before its register save. A setting change that starts sending tracks without a reconnect (MAIN to TRACK 8) keeps those tracks silent for one ring lap (23 ms) instead of sending older ring words. +- **Cost** (the base's guard and CPU meter, three 20-25 s readings a state, bank A pattern 1 playing with a 2 s sample loop on T8; frame interrupt mean): + + | | Base alone | 0.4.2 | 0.4.3 | + | --- | --- | --- | --- | + | Installed, no stream | 30.8 % | 31.3 % | 30.9 % | + | Recording MAIN (INPUTS AB) | | 46.7 % | 37.4 % | + | Recording MAIN while Windows plays into INPUTS AB | | 50.7 % | 40.0-40.1 % | + | Recording TRACKS, 16 channels (INPUTS OFF) | | 56.7 % (0.4.3 without the run copy) | 50.3 % | + | Recording TRACK 8 (INPUTS OFF) | | 46.7 % (0.4.3 without the run copy) | 44.6 % | + + No late entry, wait or skipped render in any reading. An earlier scene on the same twin (before a power cycle) gave the same differences: MAIN 51.6 to 41.6-42.8 %, with input 54.3 to 45.9 %. +- **The audio:** each recording lined up against 0.4.2's on a 2 s loop differs in 0.5-0.9 % of frames, by 1-2 steps of 24 bits, the DELAY residue T8's own loop shows against itself; the peaks of every recorded channel are identical. +- **Bit exactness (both versions):** with INPUTS OFF, 13 loops of the recording held no shifted frame. While Windows plays into INPUTS AB, the recording repeats about 2.4 frames a second (the unit about 55 ppm slow), each a four-frame interpolated slip: not bit exact, by design since 0.4.2. Both directions bit exact needs an explicit feedback endpoint, which the base must give (owner, 30 November 2026). +- **Host:** the router test steps through the silent lap (MAIN to TRACK 8, MAIN + CUE ONLY to ALL CHANNELS); the package test pins the run copy and the at-rest return; the site test replaces 0.4.2 (kind 10) with 0.4.3 (kind 11) and keeps 0.4.2 as its Undo. +- **Not run:** the test procedure on the release package (`b2f27188`): its scripted pass stopped at its first STOP key ("panel key sequence did not finish cleanly") after installing, and `recover` rolled the trial back; the soak and the at-rest price (`device:price`); macOS (the owner, the evening of 30 November 2026); the setting changes on the unit, POST LEVEL, 20 channels, INPUTS ABCD, full speed, an MKI, a Keep and a power cycle. Input-side counters (vendor request 0x56) came back empty on Windows; not explained. +- **USB lost once:** a 0.4.2 install for the A/B (the seventh trial of the day) left Windows with `VID_0000&PID_0001`, port reset failed, until a power cycle: the base's known rare loss, not this release's code. + ## 0.4.2-experimental, 26-27 November 2026 **#2263 reproduced with 0.4.1 on macOS and its cause found; 0.4.2's fix held a 10-minute run with no buzz and no frame spikes, and the release build more than halves what a Main + Cue recording costs.** Release package `c2597a32fa3d8634…`. Owner's MKII, macOS, development twins of the 0.8.3 base draft (`65f8604c`, `ec9f6ccc`, `764b6e71`, `005817e4`), Main + Cue, INPUTS AB, a 1 kHz tone from the Mac through a Thru on T7 of a test Part, Main recorded back over USB (`rec.swift`, `tone.swift`). From 6534ef93f8b4ff677f967680606fca8d24e8470d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannik=20A=C3=9Ffalg?= <67785539+repeat98@users.noreply.github.com> Date: Mon, 30 Nov 2026 12:42:21 +0100 Subject: [PATCH 08/16] USB Audio 0.4.3-experimental: release notes without test status; regenerate the module documents Co-Authored-By: Claude Opus 5.5 --- src/catalog/module-documents.json | 2 +- .../module-changelogs/usb-audio-out-tracks-main-cue.json | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/catalog/module-documents.json b/src/catalog/module-documents.json index f6fe4fce3c..9ba26d51bd 100644 --- a/src/catalog/module-documents.json +++ b/src/catalog/module-documents.json @@ -5552,7 +5552,7 @@ "id": "usb-audio-out-tracks-main-cue", "key": "USB AUDIO OUT TRACKS MAIN CUE", "name": "USB Audio", - "version": "0.4.2-experimental", + "version": "0.4.3-experimental", "category": "midi-usb", "source": { "repository": "https://github.com/sambanks/octabam", diff --git a/src/community/module-changelogs/usb-audio-out-tracks-main-cue.json b/src/community/module-changelogs/usb-audio-out-tracks-main-cue.json index 87efcd928f..7b47eef427 100644 --- a/src/community/module-changelogs/usb-audio-out-tracks-main-cue.json +++ b/src/community/module-changelogs/usb-audio-out-tracks-main-cue.json @@ -5,7 +5,6 @@ "changes": [ "Recording to a computer costs less CPU: MAIN about 60% less, the 16 track channels and TRACK 8 a little less.", "With no computer streaming, USB Audio now costs almost nothing.", - "Tested on Windows 11 with INPUTS AB: no Code 10, recording and playing in at once, every Undo clean.", "Same audio and settings as 0.4.2. An Octatrack running 0.4.2 gets this version with its next sync.", "Known issue: rarely, after installing or removing a module, the Octatrack drops off USB until a power cycle." ] From df370ef5782977c57476e4569ee1290dca583957 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannik=20A=C3=9Ffalg?= <67785539+repeat98@users.noreply.github.com> Date: Mon, 30 Nov 2026 12:56:14 +0100 Subject: [PATCH 09/16] USB Audio 0.4.3-experimental: the silent lap in the packet copy, not in the routes; the base's settings test back as on main The routing snapshot keeps every route as before; mwua_begin_frame raises mwua_tracks_stale for one ring lap after the producer stores track words again, and the packet copy then sends those tracks silent (mwua_copy_fresh). The new checks live in sdk/tests/usb_audio_runs_test.c, outside the base's sources. Co-Authored-By: Claude Opus 5.5 --- .../0.4.3-experimental.mwrm | Bin 22360 -> 22564 bytes .../elekloader/test_usb_audio_settings.c | 34 +------ .../usb-audio-input-reconstruction.json | 10 +-- .../usb-audio-reconstruction.json | 6 +- .../module-adapters/usb_audio_configurable.py | 23 +++-- .../module-adapters/usb_audio_settings.c | 47 +++++----- sdk/tests/test_usb_audio_package.py | 13 ++- sdk/tests/usb_audio_runs_test.c | 83 ++++++++++++++++++ .../assets/octatrack-module-packages.json | 4 +- 9 files changed, 151 insertions(+), 69 deletions(-) create mode 100644 sdk/tests/usb_audio_runs_test.c diff --git a/public/octatrack-modules/usb-audio-out-tracks-main-cue/0.4.3-experimental.mwrm b/public/octatrack-modules/usb-audio-out-tracks-main-cue/0.4.3-experimental.mwrm index 4d679c29ffb840154e186ff92cc08874f923cfe4..87fc712b7aba795278eba6d392ec5718f420195f 100644 GIT binary patch delta 6186 zcmb7|4{Q@xp2vSPHi;A5#Ia2a#U?~sxoTukI0($))eMLDh|g+=-4)(B-rTF7!wJ1bP% zy+h$|0>bsV?Kwx)h{Lj&gmkNB73)miA@pT0KM@xedtZyXrN#HB3nMIqsEM0>P1`Rn zHG7AmMCUiZ4L`4IQ(}4C+h5O|?u`(cSt+~`C6iG_M~jPIVTw)09=rv9W-U8~w1 zl%-e;xBPm{C{qj3{(3cPeEJ_FUp4KY9v0;CU*@hbE~gMoX1#9YHLo} zX~+dCf9-uvf9>@!gU#jaIhgI>hZNFn+7V;D;#Cw9PM4i!N@Zv8Y~@zg>nc&VY?6(# zDD$X7TQLc#@Y_UX<4@foi}dUzl)X(-!H3C@ldgi#cMbG-x=q5H%C(g132tGh);!JW z^EQbH-jI=a*aJOiV)L5MB%jqqE52c-wV`Qcg(>NQ7RpnUa?}Ygr?d;x=Gb_hKt9&5 z_4jWxr&@a23DLVxJCRf8mhJ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a6qv@BA_21<4-2pXR?gEaeoz`;iBcs9fg0S$n8uH3{Fug%Y5bVN5A}Yi_Cu{7 zDg#g#fTjSn1e`zuJ`e=ZhtF7guoi3pTYv(d1uAF(8t4FB*pvqkq0kME;nKi>Dh#N? zfGP~A!hk9asKS6M45-3@D)g^H|0>o$g-fO%q`@$_3`W2xxCth}6ww+27GMX?knlg| aEXoqTlS;S#$H_l$&K5++gg*Va@BaWIy;9Bq diff --git a/sdk/machines/octatrack/elekloader/test_usb_audio_settings.c b/sdk/machines/octatrack/elekloader/test_usb_audio_settings.c index 8365520cd1..37b6b7e488 100644 --- a/sdk/machines/octatrack/elekloader/test_usb_audio_settings.c +++ b/sdk/machines/octatrack/elekloader/test_usb_audio_settings.c @@ -31,11 +31,6 @@ static void apply(uint32_t w) mwua_active = mwua_requested; mwua_begin_frame(); } -/* One lap of the ring: a track the producer started storing again is routed only after it. */ -static void settle(void) -{ - for (unsigned i = 0; i < RING_BLOCKS; ++i) mwua_begin_frame(); -} int main(void) { for (unsigned i=0; i<60; ++i) input[i]=0x100+i*19; @@ -49,10 +44,7 @@ int main(void) apply(w); assert(mwua_direct && mwua_fs_sum && !mwua_post); for (unsigned i=0; i= MAIN_CUE ? route[0] : SUM; mwua_fs_sum = mwua_fs_pair == SUM; - unsigned direct = profile == USB20 && mode == 0; - unsigned no_tracks = !direct && !mwua_post && !(sent & 0xffffu) && mwua_fs_pair >= 8u && !mwua_fs_sum; - if (mwua_no_tracks && !no_tracks) stale = RING_BLOCKS; - mwua_no_tracks = (uint8_t)no_tracks; - if (stale) { - for (unsigned i = 0; i < mwua_pairs; ++i) if (route[i] < 8u) route[i] = SILENCE; - if (mwua_fs_pair < 8u) mwua_fs_pair = SILENCE; - sent &= ~0xffffu; - direct = 0; - } - mwua_direct = (uint8_t)direct; - mwua_sent_words = direct ? 0xfffffu : sent; + mwua_direct = profile == USB20 && mode == 0; + mwua_sent_words = mwua_direct ? 0xfffffu : sent; + mwua_no_tracks = !mwua_direct && !mwua_post && !(sent & 0xffffu) && mwua_fs_pair >= 8u && !mwua_fs_sum; + mwua_tracks_stale = !mwua_no_tracks && fresh < RING_BLOCKS; unsigned run = 0, i = 1; - if (!direct && route[0] < SILENCE) { + if (!mwua_direct && route[0] < SILENCE) { while (i < mwua_pairs && route[i] == route[0] + i) ++i; if (i == mwua_pairs && (i == 1u || i == 2u || i == 8u)) run = 2u * i; } @@ -204,14 +197,24 @@ void mwua_begin_frame(void) } /* Source words already have the UAC2 byte order. The assembly reader splits * a wrapped ring into two straight runs and calls this for each. */ -void mwua_copy(uint32_t *dst, const uint32_t *src, unsigned frames, unsigned full_speed) +__attribute__((always_inline)) static inline void copy(uint32_t *dst, const uint32_t *src, unsigned frames, unsigned full_speed, unsigned fresh_only) { unsigned pairs = full_speed ? 1u : mwua_pairs; for (unsigned frame=0; frameH', data, 66)[0], 7) - # The duplex package is the published one: its own kind, so the site replaces 0.3.0, 0.4.0 and 0.4.1 with it. - self.assertEqual(struct.unpack_from('>H', builder.build(None, usb_input=True)[0], 66)[0], 10) + # The duplex package is the published one: its own kind, so the site replaces 0.3.0, 0.4.0, 0.4.1 and 0.4.2 with it. + self.assertEqual(struct.unpack_from('>H', builder.build(None, usb_input=True)[0], 66)[0], 11) self.assertLess(facts['image'] + facts['bss'], 128 * 1024) hook_count = struct.unpack_from('>I', data, 20)[0] hook_index = next(e['index'] for e in events.load()['events'] if e['event'] == 'ot_usb_functions') @@ -108,6 +115,8 @@ def test_the_configurable_producer_skips_what_its_layout_does_not_send(self): self.assertIn(test, skip) route = text.split('mwua_route:', 1)[1].split(' bsr mwua_copy\n', 1)[0] self.assertLess(route.index('tstb aud_hs'), route.index('bne mwua_copy_run')) + self.assertLess(route.index('tstb mwua_tracks_stale'), route.index('tstb aud_hs')) + self.assertIn('bsr mwua_copy_fresh', text.split('mwua_route:', 1)[1].split('mwua_copy_run:', 1)[0]) self.assertLess(route.index('bne audio_copy80'), route.index('bne mwua_copy_run')) # At rest the frame hook returns before its register save, and only then. frame = text.split('mwua_frame:', 1)[1].split(' moveml %d2-%d7/%a2-%a6,%sp@\n', 1)[0] diff --git a/sdk/tests/usb_audio_runs_test.c b/sdk/tests/usb_audio_runs_test.c new file mode 100644 index 0000000000..2a9e8ff8de --- /dev/null +++ b/sdk/tests/usb_audio_runs_test.c @@ -0,0 +1,83 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later + * USB Audio 0.4.3's packet runs, skipped track stores and silent lap (usb_audio_settings.c), on the host. + * Compiled and run by test_usb_audio_package.py. */ +#include +#include +#include "../machines/octatrack/module-adapters/usb_audio_settings.c" + +volatile uint8_t mwua_requested, mwua_active; +static uint32_t input[3*20], output[3*20]; +static uint32_t select_option(uint32_t saved, const char *field, const char *option) +{ + struct modwerk_choice_page group = {0}, page = {0}; + audio_page(saved, MODWERK_SETTING_FIELDS, &group); + for (unsigned i=0; i Date: Mon, 30 Nov 2026 13:06:38 +0100 Subject: [PATCH 10/16] USB Audio 0.4.3-experimental: import the source-built packages; TESTING.md names the release and its last change Co-Authored-By: Claude Opus 5.5 --- .../modules/usb-audio-out-tracks-main-cue/TESTING.md | 8 ++++---- src/engine/assets/module-build.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/TESTING.md b/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/TESTING.md index 3318140a10..2da18d535f 100644 --- a/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/TESTING.md +++ b/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/TESTING.md @@ -2,10 +2,10 @@ ## 0.4.3-experimental (draft), 30 November 2026 -**The release costs less to record and almost nothing at rest; the release package itself has not run its test procedure yet.** Owner's MKII, OS 1.40C, development twin `16c87945` of base 0.8.4 (`ee2184ce3` built with `--dev` and the beta flags), Windows 11 over WASAPI exclusive mode (32-bit integers; WDM-KS where Windows refused an endpoint). Agent-run, rolled-back trials, nothing kept. Builds: plain packages of this branch's code alternated with 0.4.2's code built the same way (`29322d74`); they differ from the release only by its inventory kind and reconstruction. +**The release costs less to record and almost nothing at rest; the release package itself has not run its test procedure yet.** Owner's MKII, OS 1.40C, development twin `16c87945` of base 0.8.4 (`ee2184ce3` built with `--dev` and the beta flags), Windows 11 over WASAPI exclusive mode (32-bit integers; WDM-KS where Windows refused an endpoint). Agent-run, rolled-back trials, nothing kept. Builds: plain packages of this branch's code (`c7014e80`, `a3bbbb8c`) alternated with 0.4.2's code built the same way (`29322d74`). The release (`3c3c996d`) differs from them by its inventory kind, its reconstruction and one later change not measured on the unit: the silent lap moved from the routes into the packet copy (a byte test a packet, two a block). - **0.4.2 on Windows 11 (the release `c2597a32` with the install preset MAIN + INPUTS AB, `84943664`, on the flashed 0.8.4):** the audio function started with `usbaudio2`, no Code 10, for a 150 s trial; a 1 kHz tone played into the Octatrack while Main was recorded, no stream status flags either way, the output counters showed no underrun or overrun. Undo clean. This closes 0.4.2's open Windows check. -- **What 0.4.3 changes:** a packet that is one run of ring words (MAIN, MAIN + CUE, TRACK 8, the sixteen tracks) is copied with `moveml` as the built-in copies it, not through the routed C copy; the producer skips the sixteen track words a frame whenever no packet sends one (MAIN as well as MAIN + CUE); with no stream the frame hook returns before its register save. A setting change that starts sending tracks without a reconnect (MAIN to TRACK 8) keeps those tracks silent for one ring lap (23 ms) instead of sending older ring words. +- **What 0.4.3 changes:** a packet that is one run of ring words (MAIN, MAIN + CUE, TRACK 8, the sixteen tracks) is copied with `moveml` as the built-in copies it, not through the routed C copy; the producer skips the sixteen track words a frame whenever no packet sends one (MAIN as well as MAIN + CUE); with no stream the frame hook returns before its register save. A setting change that starts sending tracks without a reconnect (MAIN to TRACK 8) sends those tracks silent for one ring lap (23 ms, `mwua_tracks_stale` and `mwua_copy_fresh`) instead of older ring words; the routes themselves change at once, as before. - **Cost** (the base's guard and CPU meter, three 20-25 s readings a state, bank A pattern 1 playing with a 2 s sample loop on T8; frame interrupt mean): | | Base alone | 0.4.2 | 0.4.3 | @@ -19,8 +19,8 @@ No late entry, wait or skipped render in any reading. An earlier scene on the same twin (before a power cycle) gave the same differences: MAIN 51.6 to 41.6-42.8 %, with input 54.3 to 45.9 %. - **The audio:** each recording lined up against 0.4.2's on a 2 s loop differs in 0.5-0.9 % of frames, by 1-2 steps of 24 bits, the DELAY residue T8's own loop shows against itself; the peaks of every recorded channel are identical. - **Bit exactness (both versions):** with INPUTS OFF, 13 loops of the recording held no shifted frame. While Windows plays into INPUTS AB, the recording repeats about 2.4 frames a second (the unit about 55 ppm slow), each a four-frame interpolated slip: not bit exact, by design since 0.4.2. Both directions bit exact needs an explicit feedback endpoint, which the base must give (owner, 30 November 2026). -- **Host:** the router test steps through the silent lap (MAIN to TRACK 8, MAIN + CUE ONLY to ALL CHANNELS); the package test pins the run copy and the at-rest return; the site test replaces 0.4.2 (kind 10) with 0.4.3 (kind 11) and keeps 0.4.2 as its Undo. -- **Not run:** the test procedure on the release package (`b2f27188`): its scripted pass stopped at its first STOP key ("panel key sequence did not finish cleanly") after installing, and `recover` rolled the trial back; the soak and the at-rest price (`device:price`); macOS (the owner, the evening of 30 November 2026); the setting changes on the unit, POST LEVEL, 20 channels, INPUTS ABCD, full speed, an MKI, a Keep and a power cycle. Input-side counters (vendor request 0x56) came back empty on Windows; not explained. +- **Host:** `sdk/tests/usb_audio_runs_test.c` checks each layout's run and skipped stores, POST LEVEL, and the silent lap (MAIN to TRACK 8 and to the 16 tracks); the base's own settings test is unchanged; the package test pins the run copy, the stale dispatch and the at-rest return; the site test replaces 0.4.2 (kind 10) with 0.4.3 (kind 11) and keeps 0.4.2 as its Undo. +- **Not run:** the test procedure on the release package (an earlier build of it, `b2f27188`): its scripted pass stopped at its first STOP key ("panel key sequence did not finish cleanly") after installing, and `recover` rolled the trial back; the soak and the at-rest price (`device:price`); macOS (the owner, the evening of 30 November 2026); the setting changes on the unit, POST LEVEL, 20 channels, INPUTS ABCD, full speed, an MKI, a Keep and a power cycle. Input-side counters (vendor request 0x56) came back empty on Windows; not explained. - **USB lost once:** a 0.4.2 install for the A/B (the seventh trial of the day) left Windows with `VID_0000&PID_0001`, port reset failed, until a power cycle: the base's known rare loss, not this release's code. ## 0.4.2-experimental, 26-27 November 2026 diff --git a/src/engine/assets/module-build.json b/src/engine/assets/module-build.json index 9fa48bbca4..12de20feee 100644 --- a/src/engine/assets/module-build.json +++ b/src/engine/assets/module-build.json @@ -1,7 +1,7 @@ { "schemaVersion": 1, "kind": "source-packages", - "sourceCommit": "924f9b55c345eccd7aa0da09379f1d037de36213", + "sourceCommit": "df370ef5782977c57476e4569ee1290dca583957", "nativeRevision": "b8deefc88b2c3e5f3c6158e364eb741df1924e1d", "sourceTreeSha256": "9360708bd68278e77a2cf69835c6bb92aced0836810e9fb431933183ca7b2e0b", "compilerSha256": "0d5ec1690380c1ad4e45371c91f676a07bdb5fd6ec6949f70ff2d460b50caa0a", From 5d594b2d0f6718d8e6724b5b33640b9b81762ab0 Mon Sep 17 00:00:00 2001 From: repeat98 Date: Mon, 30 Nov 2026 18:23:36 +0100 Subject: [PATCH 11/16] USB Audio 0.4.3-experimental: ten minutes on a Mac, the release itself, no buzz Co-Authored-By: Claude Opus 5.5 --- sdk/octatrack/modules/usb-audio-out-tracks-main-cue/TESTING.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/TESTING.md b/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/TESTING.md index 2da18d535f..7cc6e72bec 100644 --- a/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/TESTING.md +++ b/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/TESTING.md @@ -19,8 +19,9 @@ No late entry, wait or skipped render in any reading. An earlier scene on the same twin (before a power cycle) gave the same differences: MAIN 51.6 to 41.6-42.8 %, with input 54.3 to 45.9 %. - **The audio:** each recording lined up against 0.4.2's on a 2 s loop differs in 0.5-0.9 % of frames, by 1-2 steps of 24 bits, the DELAY residue T8's own loop shows against itself; the peaks of every recorded channel are identical. - **Bit exactness (both versions):** with INPUTS OFF, 13 loops of the recording held no shifted frame. While Windows plays into INPUTS AB, the recording repeats about 2.4 frames a second (the unit about 55 ppm slow), each a four-frame interpolated slip: not bit exact, by design since 0.4.2. Both directions bit exact needs an explicit feedback endpoint, which the base must give (owner, 30 November 2026). +- **Ten minutes on a Mac, the release itself** (`3c3c996d` as a 25-minute RAM trial on the same twin `16c87945`, rebuilt on the Mac from `ee2184ce3` with the same flags and the same identity; it came up MAIN + CUE with INPUTS AB, 4 in and 2 out; macOS; bank C pattern 02, T7 a Thru on AB with a step-1 trig, the other tracks muted, as in 0.4.2's Mac run; 1 kHz at -30 dBFS from the Mac into INPUTS AB for 600 s, MAIN recorded back; agent-run, 30 November 2026): no buzz. Sidebands at 1,000 ± 86 Hz stayed at -62 to -75 dB in every 10 s (0.4.2: -67 to -74 dB; 0.4.1 reached -6 dB), the tone steady at -44.9 dBFS, no sample jump above a clean sine's (×1.06) except the recording's first sample (silence, then the running tone), the slips steady at about 3.7 a second. The guard read each minute: no late entry or wait, the frame interrupt 31.0 % (24.7 % in this scene with no stream), the longest frame 56-66 %. The rollback logged no crash, stall, freeze or skipped track; nothing kept. Not listened to. - **Host:** `sdk/tests/usb_audio_runs_test.c` checks each layout's run and skipped stores, POST LEVEL, and the silent lap (MAIN to TRACK 8 and to the 16 tracks); the base's own settings test is unchanged; the package test pins the run copy, the stale dispatch and the at-rest return; the site test replaces 0.4.2 (kind 10) with 0.4.3 (kind 11) and keeps 0.4.2 as its Undo. -- **Not run:** the test procedure on the release package (an earlier build of it, `b2f27188`): its scripted pass stopped at its first STOP key ("panel key sequence did not finish cleanly") after installing, and `recover` rolled the trial back; the soak and the at-rest price (`device:price`); macOS (the owner, the evening of 30 November 2026); the setting changes on the unit, POST LEVEL, 20 channels, INPUTS ABCD, full speed, an MKI, a Keep and a power cycle. Input-side counters (vendor request 0x56) came back empty on Windows; not explained. +- **Not run:** the test procedure on the release package (an earlier build of it, `b2f27188`): its scripted pass stopped at its first STOP key ("panel key sequence did not finish cleanly") after installing, and `recover` rolled the trial back; the soak and the at-rest price (`device:price`); listening on a Mac (the owner); the setting changes on the unit, POST LEVEL, 20 channels, INPUTS ABCD, full speed, an MKI, a Keep and a power cycle. Input-side counters (vendor request 0x56) came back empty on Windows; not explained. - **USB lost once:** a 0.4.2 install for the A/B (the seventh trial of the day) left Windows with `VID_0000&PID_0001`, port reset failed, until a power cycle: the base's known rare loss, not this release's code. ## 0.4.2-experimental, 26-27 November 2026 From ceaddfa047ffe01dd8aa085565436d0f876c178c Mon Sep 17 00:00:00 2001 From: repeat98 Date: Mon, 30 Nov 2026 18:46:47 +0100 Subject: [PATCH 12/16] USB Audio 0.4.3-experimental: the release names base 0.8.5, its bytes unchanged Co-Authored-By: Claude Opus 5.5 --- sdk/octatrack/modules/usb-audio-out-tracks-main-cue/TESTING.md | 2 +- src/engine/assets/octatrack-module-packages.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/TESTING.md b/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/TESTING.md index 7cc6e72bec..f03b5d592f 100644 --- a/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/TESTING.md +++ b/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/TESTING.md @@ -19,7 +19,7 @@ No late entry, wait or skipped render in any reading. An earlier scene on the same twin (before a power cycle) gave the same differences: MAIN 51.6 to 41.6-42.8 %, with input 54.3 to 45.9 %. - **The audio:** each recording lined up against 0.4.2's on a 2 s loop differs in 0.5-0.9 % of frames, by 1-2 steps of 24 bits, the DELAY residue T8's own loop shows against itself; the peaks of every recorded channel are identical. - **Bit exactness (both versions):** with INPUTS OFF, 13 loops of the recording held no shifted frame. While Windows plays into INPUTS AB, the recording repeats about 2.4 frames a second (the unit about 55 ppm slow), each a four-frame interpolated slip: not bit exact, by design since 0.4.2. Both directions bit exact needs an explicit feedback endpoint, which the base must give (owner, 30 November 2026). -- **Ten minutes on a Mac, the release itself** (`3c3c996d` as a 25-minute RAM trial on the same twin `16c87945`, rebuilt on the Mac from `ee2184ce3` with the same flags and the same identity; it came up MAIN + CUE with INPUTS AB, 4 in and 2 out; macOS; bank C pattern 02, T7 a Thru on AB with a step-1 trig, the other tracks muted, as in 0.4.2's Mac run; 1 kHz at -30 dBFS from the Mac into INPUTS AB for 600 s, MAIN recorded back; agent-run, 30 November 2026): no buzz. Sidebands at 1,000 ± 86 Hz stayed at -62 to -75 dB in every 10 s (0.4.2: -67 to -74 dB; 0.4.1 reached -6 dB), the tone steady at -44.9 dBFS, no sample jump above a clean sine's (×1.06) except the recording's first sample (silence, then the running tone), the slips steady at about 3.7 a second. The guard read each minute: no late entry or wait, the frame interrupt 31.0 % (24.7 % in this scene with no stream), the longest frame 56-66 %. The rollback logged no crash, stall, freeze or skipped track; nothing kept. Not listened to. +- **Ten minutes on a Mac, the release itself** (`3c3c996d` as a 25-minute RAM trial on the same twin `16c87945`, rebuilt on the Mac from `ee2184ce3` with the same flags and the same identity; it came up MAIN + CUE with INPUTS AB, 4 in and 2 out; macOS; bank C pattern 02, T7 a Thru on AB with a step-1 trig, the other tracks muted, as in 0.4.2's Mac run; 1 kHz at -30 dBFS from the Mac into INPUTS AB for 600 s, MAIN recorded back; agent-run, 30 November 2026): no buzz. Sidebands at 1,000 ± 86 Hz stayed at -62 to -75 dB in every 10 s (0.4.2: -67 to -74 dB; 0.4.1 reached -6 dB), the tone steady at -44.9 dBFS, no sample jump above a clean sine's (×1.06) except the recording's first sample (silence, then the running tone), the slips steady at about 3.7 a second. The guard read each minute: no late entry or wait, the frame interrupt 31.0 % (24.7 % in this scene with no stream), the longest frame 56-66 %. The rollback logged no crash, stall, freeze or skipped track; nothing kept. Not listened to. Since main brought base 0.8.5 (`ddb56b72`), the release names it as its base; rebuilt against it, the package is byte-identical (`3c3c996d`), and it has not run on 0.8.5. - **Host:** `sdk/tests/usb_audio_runs_test.c` checks each layout's run and skipped stores, POST LEVEL, and the silent lap (MAIN to TRACK 8 and to the 16 tracks); the base's own settings test is unchanged; the package test pins the run copy, the stale dispatch and the at-rest return; the site test replaces 0.4.2 (kind 10) with 0.4.3 (kind 11) and keeps 0.4.2 as its Undo. - **Not run:** the test procedure on the release package (an earlier build of it, `b2f27188`): its scripted pass stopped at its first STOP key ("panel key sequence did not finish cleanly") after installing, and `recover` rolled the trial back; the soak and the at-rest price (`device:price`); listening on a Mac (the owner); the setting changes on the unit, POST LEVEL, 20 channels, INPUTS ABCD, full speed, an MKI, a Keep and a power cycle. Input-side counters (vendor request 0x56) came back empty on Windows; not explained. - **USB lost once:** a 0.4.2 install for the A/B (the seventh trial of the day) left Windows with `VID_0000&PID_0001`, port reset failed, until a power cycle: the base's known rare loss, not this release's code. diff --git a/src/engine/assets/octatrack-module-packages.json b/src/engine/assets/octatrack-module-packages.json index d648d076e0..11954a5bfe 100644 --- a/src/engine/assets/octatrack-module-packages.json +++ b/src/engine/assets/octatrack-module-packages.json @@ -944,7 +944,7 @@ "copies": 4, "fills": 0, "installPresets": true, - "requiredBase": "34fe3dd966ef8c417fb4e1820fa76a384096fa4df097f86f258ba538fa8e75b8" + "requiredBase": "ddb56b72d1ac0b606f5969bc4984b6b22662e87d1b1d56a480ef0da1aac53b49" }, "configurable-0.4.2": { "name": "USB Audio", From c1d7bebc8a5bb5e51d189a175ac41602bd9361e0 Mon Sep 17 00:00:00 2001 From: repeat98 Date: Mon, 30 Nov 2026 19:05:59 +0100 Subject: [PATCH 13/16] USB Audio 0.4.3-experimental: the owner's approval (30 November 2026) Co-Authored-By: Claude Opus 5.5 --- .../usb-audio-out-tracks-main-cue-build-approval.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sdk/approvals/usb-audio-out-tracks-main-cue-build-approval.json b/sdk/approvals/usb-audio-out-tracks-main-cue-build-approval.json index 89299531fa..a156aac033 100644 --- a/sdk/approvals/usb-audio-out-tracks-main-cue-build-approval.json +++ b/sdk/approvals/usb-audio-out-tracks-main-cue-build-approval.json @@ -1,10 +1,10 @@ { "kind": "owner-approved-update", "id": "usb-audio-out-tracks-main-cue", - "version": "0.4.2-experimental", - "sourceSha256": "0999bbb9d4b86aadfece80c13c0f1480f5eec9c89ee097a70ddab2463ce18b19", + "version": "0.4.3-experimental", + "sourceSha256": "d1ab3ccfa213a09a15413e4bbf31bf60c63c50cd9ef581e2ab4907cd4529314f", "approvedBy": "repeat98", - "approvedOn": "2026-11-27", + "approvedOn": "2026-11-30", "waived": [ "current-build-hardware", "chip-worst-case-cycles", @@ -12,6 +12,6 @@ "release-documentation" ], "retainedUiVersion": "0.4.0-experimental", - "ownerStatement": "I approve USB Audio 0.4.2-experimental: it fixes the #2263 buzz on macOS and costs less CPU than 0.4.1; tested on my MKII on 26-27 November 2026.", - "reason": "#2263: on macOS, 0.4.1's adaptive input and asynchronous recording slid the Mac's I/O buffer 2.6 frames a second until it buzzed; 0.4.2 sends the recording on the host's clock while the host plays in and trims the drift on the unit. Main + Cue now does the built-in's work (once-a-frame flag, the built-in's copy) and the POST gain history runs only for POST. Owner's MKII, macOS: 10 minutes clean; a Main + Cue recording's own cost about half of 0.4.1's (16 to 7.6 points of the frame interrupt in one scene), then 1.2 points and 9 of the longest frame less with the built-in's copy (A/B in one scene); every USB AUDIO setting changed idle, recording and playing in on 0.8.2 with no USB incident; the release on the flashed 0.8.2 installed, recorded and rolled back. Windows after the release, on the owner's PC (owner, 27 November 2026). Not run: 20 channels, an MKI, a Keep and a power cycle. Package SHA-256 c2597a32fa3d863490d17e728a7c7a40b2c7dc147e661df77ff62e94b5bb12db." + "ownerStatement": "I approve USB Audio 0.4.3-experimental: recording costs less CPU and almost nothing at rest; the release ran ten minutes on my MKII on macOS with no buzz (30 November 2026).", + "reason": "Recording costs less CPU and almost nothing at rest: a packet that is one run of ring words is copied with moveml, the producer skips the sixteen track words whenever no packet sends one, and the frame hook returns before its register save while no computer streams; a change that starts sending tracks without a reconnect sends them silent for one ring lap. Owner's MKII, 0.8.4 twin 16c87945: recording MAIN 46.7 to 37.4 % of the frame interrupt, with Windows playing in 50.7 to 40.0 %, 16 channels 56.7 to 50.3 %, installed at rest +0.1 over the base; the audio the same as 0.4.2's; Windows 11 duplex clean. The release itself ten minutes on macOS playing into INPUTS AB while recording: no buzz (sidebands -62 to -75 dB). Not run: 20 channels, INPUTS ABCD, POST LEVEL, an MKI, a Keep and a power cycle. Package SHA-256 3c3c996d2789f4aa96526628c5e794c4b52c056b19615499307b42092a87fb79." } From f99f5cff6db68abf1dc5ccb2c5ebe5f33bea0171 Mon Sep 17 00:00:00 2001 From: repeat98 Date: Mon, 30 Nov 2026 19:58:46 +0100 Subject: [PATCH 14/16] USB Audio 0.4.3-experimental: the benchmark against the built-in in one scene on 0.8.5, the release note for busy projects, the owner's approval on this source Co-Authored-By: Claude Opus 5.5 --- ...audio-out-tracks-main-cue-build-approval.json | 6 +++--- .../evidence/performance.json | 16 ++++++++-------- .../usb-audio-out-tracks-main-cue.json | 3 ++- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/sdk/approvals/usb-audio-out-tracks-main-cue-build-approval.json b/sdk/approvals/usb-audio-out-tracks-main-cue-build-approval.json index a156aac033..56bdeed6e8 100644 --- a/sdk/approvals/usb-audio-out-tracks-main-cue-build-approval.json +++ b/sdk/approvals/usb-audio-out-tracks-main-cue-build-approval.json @@ -2,7 +2,7 @@ "kind": "owner-approved-update", "id": "usb-audio-out-tracks-main-cue", "version": "0.4.3-experimental", - "sourceSha256": "d1ab3ccfa213a09a15413e4bbf31bf60c63c50cd9ef581e2ab4907cd4529314f", + "sourceSha256": "860ffa3425d3ae25122ddfbf8cd6b1d9659e3051f260d329cc667c17a47de11e", "approvedBy": "repeat98", "approvedOn": "2026-11-30", "waived": [ @@ -12,6 +12,6 @@ "release-documentation" ], "retainedUiVersion": "0.4.0-experimental", - "ownerStatement": "I approve USB Audio 0.4.3-experimental: recording costs less CPU and almost nothing at rest; the release ran ten minutes on my MKII on macOS with no buzz (30 November 2026).", - "reason": "Recording costs less CPU and almost nothing at rest: a packet that is one run of ring words is copied with moveml, the producer skips the sixteen track words whenever no packet sends one, and the frame hook returns before its register save while no computer streams; a change that starts sending tracks without a reconnect sends them silent for one ring lap. Owner's MKII, 0.8.4 twin 16c87945: recording MAIN 46.7 to 37.4 % of the frame interrupt, with Windows playing in 50.7 to 40.0 %, 16 channels 56.7 to 50.3 %, installed at rest +0.1 over the base; the audio the same as 0.4.2's; Windows 11 duplex clean. The release itself ten minutes on macOS playing into INPUTS AB while recording: no buzz (sidebands -62 to -75 dB). Not run: 20 channels, INPUTS ABCD, POST LEVEL, an MKI, a Keep and a power cycle. Package SHA-256 3c3c996d2789f4aa96526628c5e794c4b52c056b19615499307b42092a87fb79." + "ownerStatement": "I approve USB Audio 0.4.3-experimental: it costs almost nothing at rest, records cheaper than 0.4.2 in lighter projects and no dearer in busy ones, and the release ran ten minutes on my MKII on macOS with no buzz (30 November 2026).", + "reason": "Recording costs less CPU and almost nothing at rest: a packet that is one run of ring words is copied with moveml, the producer skips the sixteen track words whenever no packet sends one, and the frame hook returns before its register save while no computer streams; a change that starts sending tracks without a reconnect sends them silent for one ring lap. Owner's MKII, 0.8.4 twin 16c87945: recording MAIN 46.7 to 37.4 % of the frame interrupt, with Windows playing in 50.7 to 40.0 %, 16 channels 56.7 to 50.3 %, installed at rest +0.1 over the base; the audio the same as 0.4.2's; Windows 11 duplex clean. Against the built-in MAIN + CUE on twins of the same 0.8.5 source in one busy scene (C02, DELAY on every track), recording with INPUTS OFF: 3.1 % of a frame longer and 3.6 idle points less; with INPUTS AB both 0.4.2 and 0.4.3 record at about 51 % against the built-in's 41 %, longest frames up to 104-105 %, no late entry wait. The release itself ten minutes on macOS playing into INPUTS AB while recording: no buzz (sidebands -62 to -75 dB). Not run: 20 channels, INPUTS ABCD, POST LEVEL, an MKI, a Keep and a power cycle. Package SHA-256 3c3c996d2789f4aa96526628c5e794c4b52c056b19615499307b42092a87fb79." } diff --git a/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/evidence/performance.json b/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/evidence/performance.json index 9856db328b..87402e791a 100644 --- a/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/evidence/performance.json +++ b/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/evidence/performance.json @@ -12,15 +12,15 @@ }, "load": { "frameUs": 362.8, - "stockLongestUs": 232.9, - "moduleLongestUs": 258.7, - "stockIdlePercent": 52.0, - "moduleIdlePercent": 45.0, - "method": "The owner's Octatrack MKII, development twin 16c87945 of base 0.8.4 (ee2184ce3 with --dev), 30 November 2026, agent-run, rolled-back trials, nothing kept. Scene: the owner's project, bank A pattern 1 playing, Part 1, a trig on T8 step 1 (a 2 s sample loop), the other tracks silent on the twin; Windows 11 recording over WASAPI exclusive mode, 32-bit. Each figure is the base's guard and CPU meter, three 20 s readings a state, alternated with 0.4.2 built the same way. Stock: no module, the longest frame 64.0-64.2 % of a 362.8 us frame, the mean 30.8 %, the CPU meter 46-48 % (idle 52). Module: this release's code (plain build c7014e80; the release adds only its inventory kind and reconstruction), layout MAIN with INPUTS AB, recording: the longest frame 71.2-71.3 %, the mean 37.4 %, the CPU meter 53-55 % (idle 45); 0.4.2 the same way: 46.7 %, longest 76.2-76.3 %, CPU 59. Recording while Windows played a tone into INPUTS AB: 40.0 % (0.4.2: 50.7 %). Installed with no stream: 30.9 % (0.4.2: 31.3 %). TRACKS (16 channels) recording 50.3 % (0.4.2-equivalent copy 56.7 %), TRACK 8 44.6 % (46.7 %). No late entry, wait or skipped render in any reading.", + "stockLongestUs": 320.4, + "moduleLongestUs": 341.8, + "stockIdlePercent": 44.1, + "moduleIdlePercent": 37.5, + "method": "The owner's Octatrack MKII, OS 1.40C, 30 November 2026, agent-run, rolled-back trials, nothing kept. Two development twins of base 0.8.5 built from the same source (ceaddfa04, the beta flags without the sample editor and the stream channel, --dev): 5ac74d69 with the packaged USB Audio slot and input transfer, 8fb901eb with the built-in USB AUDIO OUT MAIN CUE linked. Scene on both: the owner's project, bank C pattern C02 playing (DELAY on every track), T7 a Thru machine with one trig, the other tracks muted; a Mac recording MAIN + CUE over 32 s takes. Each state three 22 s readings of the base's guard and CPU meter; the record keeps the highest longest frame and the lowest idle. Stock (twin 5ac74d69, no module, six readings before and after the trials): the longest frame 84.2-88.3 % of a 362.8 us frame, the mean 36.2-36.4 %, the CPU meter 54.4-55.9 % (idle 44.1). Module: the release 3c3c996d with INPUTS OFF, as the built-in has no inputs: installed with no stream 36.4 %; recording the longest frame 93.0-94.2 %, the mean 45.9 %, the CPU meter 61.4-62.5 % (idle 37.5). The built-in recording MAIN + CUE: the longest frame 90.2-91.1 %, the mean 41.2 %, the CPU meter 58.4-58.9 % (idle 41.1); at rest 36.4 %. With INPUTS AB (macOS runs the input path whenever it records) the release recording reads 50.5-50.8 % and its longest frame 94.6-103.8 %; 0.4.2 (c2597a32) the same way 51.0 % and 95.2-104.9 %, at rest 37.0 % against 0.4.3's 36.5 %; 0.4.3 on the 0.8.4 twin 16c87945 in the same scene 52.7 % against its base's 37.2 %. In a lighter scene the input path cost far less (0.8.4 twin, the Mac playing in while recording: 24.7 to 31.0 %; Windows, bank A pattern 1: 30.8 to 37.4 % recording MAIN, 40.0 % with Windows playing in, 0.4.2 46.7 and 50.7 %). No late entry wait or skipped render in any reading.", "builtIn": { - "name": "the built-in USB AUDIO OUT MAIN CUE linked into twin ae9154d4 of the same 0.8.3 source", - "longestUs": 219.1, - "idlePercent": 55.6 + "name": "the built-in USB AUDIO OUT MAIN CUE linked into twin 8fb901eb of the same 0.8.5 source, the same scene", + "longestUs": 330.5, + "idlePercent": 41.1 } }, "stress": { diff --git a/src/community/module-changelogs/usb-audio-out-tracks-main-cue.json b/src/community/module-changelogs/usb-audio-out-tracks-main-cue.json index 7b47eef427..7c08bdfefb 100644 --- a/src/community/module-changelogs/usb-audio-out-tracks-main-cue.json +++ b/src/community/module-changelogs/usb-audio-out-tracks-main-cue.json @@ -3,7 +3,8 @@ "version": "0.4.3-experimental", "date": "2026-11-30", "changes": [ - "Recording to a computer costs less CPU: MAIN about 60% less, the 16 track channels and TRACK 8 a little less.", + "Recording to a computer costs less CPU in lighter projects: MAIN about 60% less, the 16 track channels and TRACK 8 a little less.", + "In busy projects with INPUTS on, recording costs about as much as 0.4.2.", "With no computer streaming, USB Audio now costs almost nothing.", "Same audio and settings as 0.4.2. An Octatrack running 0.4.2 gets this version with its next sync.", "Known issue: rarely, after installing or removing a module, the Octatrack drops off USB until a power cycle." From 3ba239a041da8f4e6d485d2fc23b9d4313c202a9 Mon Sep 17 00:00:00 2001 From: repeat98 Date: Mon, 30 Nov 2026 20:16:27 +0100 Subject: [PATCH 15/16] USB Audio 0.4.3-experimental: the test procedure on 0.8.5, the at-rest price (+0.1 % of a frame), the record Co-Authored-By: Claude Opus 5.5 --- sdk/module-cpu-prices-pending.json | 1 - .../usb-audio-out-tracks-main-cue/TESTING.md | 41 +++++++++-- .../evidence/cpu-price.json | 68 +++++++++++++++++++ .../octamod.module.json | 9 +++ 4 files changed, 114 insertions(+), 5 deletions(-) create mode 100644 sdk/octatrack/modules/usb-audio-out-tracks-main-cue/evidence/cpu-price.json diff --git a/sdk/module-cpu-prices-pending.json b/sdk/module-cpu-prices-pending.json index 355f536787..96d0831795 100644 --- a/sdk/module-cpu-prices-pending.json +++ b/sdk/module-cpu-prices-pending.json @@ -6,7 +6,6 @@ "poly8": "price not yet measured", "stem-rec": "price not yet measured", "syntiz": "price not yet measured", - "usb-audio-out-tracks-main-cue": "price not yet measured", "vector": "price not yet measured" } } diff --git a/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/TESTING.md b/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/TESTING.md index f03b5d592f..911ee17706 100644 --- a/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/TESTING.md +++ b/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/TESTING.md @@ -2,7 +2,7 @@ ## 0.4.3-experimental (draft), 30 November 2026 -**The release costs less to record and almost nothing at rest; the release package itself has not run its test procedure yet.** Owner's MKII, OS 1.40C, development twin `16c87945` of base 0.8.4 (`ee2184ce3` built with `--dev` and the beta flags), Windows 11 over WASAPI exclusive mode (32-bit integers; WDM-KS where Windows refused an endpoint). Agent-run, rolled-back trials, nothing kept. Builds: plain packages of this branch's code (`c7014e80`, `a3bbbb8c`) alternated with 0.4.2's code built the same way (`29322d74`). The release (`3c3c996d`) differs from them by its inventory kind, its reconstruction and one later change not measured on the unit: the silent lap moved from the routes into the packet copy (a byte test a packet, two a block). +**The release costs almost nothing at rest (+0.1 % of a frame, priced), records cheaper than 0.4.2 in lighter scenes and no dearer in busy ones, and passed steps 1-9 of the test procedure on a 0.8.5 twin.** First runs: owner's MKII, OS 1.40C, development twin `16c87945` of base 0.8.4 (`ee2184ce3` built with `--dev` and the beta flags), Windows 11 over WASAPI exclusive mode (32-bit integers; WDM-KS where Windows refused an endpoint). Agent-run, rolled-back trials, nothing kept. Builds: plain packages of this branch's code (`c7014e80`, `a3bbbb8c`) alternated with 0.4.2's code built the same way (`29322d74`). The release (`3c3c996d`) differs from them by its inventory kind, its reconstruction and one later change not measured on the unit: the silent lap moved from the routes into the packet copy (a byte test a packet, two a block). - **0.4.2 on Windows 11 (the release `c2597a32` with the install preset MAIN + INPUTS AB, `84943664`, on the flashed 0.8.4):** the audio function started with `usbaudio2`, no Code 10, for a 150 s trial; a 1 kHz tone played into the Octatrack while Main was recorded, no stream status flags either way, the output counters showed no underrun or overrun. Undo clean. This closes 0.4.2's open Windows check. - **What 0.4.3 changes:** a packet that is one run of ring words (MAIN, MAIN + CUE, TRACK 8, the sixteen tracks) is copied with `moveml` as the built-in copies it, not through the routed C copy; the producer skips the sixteen track words a frame whenever no packet sends one (MAIN as well as MAIN + CUE); with no stream the frame hook returns before its register save. A setting change that starts sending tracks without a reconnect (MAIN to TRACK 8) sends those tracks silent for one ring lap (23 ms, `mwua_tracks_stale` and `mwua_copy_fresh`) instead of older ring words; the routes themselves change at once, as before. @@ -19,10 +19,43 @@ No late entry, wait or skipped render in any reading. An earlier scene on the same twin (before a power cycle) gave the same differences: MAIN 51.6 to 41.6-42.8 %, with input 54.3 to 45.9 %. - **The audio:** each recording lined up against 0.4.2's on a 2 s loop differs in 0.5-0.9 % of frames, by 1-2 steps of 24 bits, the DELAY residue T8's own loop shows against itself; the peaks of every recorded channel are identical. - **Bit exactness (both versions):** with INPUTS OFF, 13 loops of the recording held no shifted frame. While Windows plays into INPUTS AB, the recording repeats about 2.4 frames a second (the unit about 55 ppm slow), each a four-frame interpolated slip: not bit exact, by design since 0.4.2. Both directions bit exact needs an explicit feedback endpoint, which the base must give (owner, 30 November 2026). -- **Ten minutes on a Mac, the release itself** (`3c3c996d` as a 25-minute RAM trial on the same twin `16c87945`, rebuilt on the Mac from `ee2184ce3` with the same flags and the same identity; it came up MAIN + CUE with INPUTS AB, 4 in and 2 out; macOS; bank C pattern 02, T7 a Thru on AB with a step-1 trig, the other tracks muted, as in 0.4.2's Mac run; 1 kHz at -30 dBFS from the Mac into INPUTS AB for 600 s, MAIN recorded back; agent-run, 30 November 2026): no buzz. Sidebands at 1,000 ± 86 Hz stayed at -62 to -75 dB in every 10 s (0.4.2: -67 to -74 dB; 0.4.1 reached -6 dB), the tone steady at -44.9 dBFS, no sample jump above a clean sine's (×1.06) except the recording's first sample (silence, then the running tone), the slips steady at about 3.7 a second. The guard read each minute: no late entry or wait, the frame interrupt 31.0 % (24.7 % in this scene with no stream), the longest frame 56-66 %. The rollback logged no crash, stall, freeze or skipped track; nothing kept. Not listened to. Since main brought base 0.8.5 (`ddb56b72`), the release names it as its base; rebuilt against it, the package is byte-identical (`3c3c996d`), and it has not run on 0.8.5. +- **Ten minutes on a Mac, the release itself** (`3c3c996d` as a 25-minute RAM trial on the same twin `16c87945`, rebuilt on the Mac from `ee2184ce3` with the same flags and the same identity; it came up MAIN + CUE with INPUTS AB, 4 in and 2 out; macOS; bank C pattern 02, T7 a Thru on AB with a step-1 trig, the other tracks muted, as in 0.4.2's Mac run; 1 kHz at -30 dBFS from the Mac into INPUTS AB for 600 s, MAIN recorded back; agent-run, 30 November 2026): no buzz. Sidebands at 1,000 ± 86 Hz stayed at -62 to -75 dB in every 10 s (0.4.2: -67 to -74 dB; 0.4.1 reached -6 dB), the tone steady at -44.9 dBFS, no sample jump above a clean sine's (×1.06) except the recording's first sample (silence, then the running tone), the slips steady at about 3.7 a second. The guard read each minute: no late entry or wait, the frame interrupt 31.0 % (24.7 % in this scene with no stream), the longest frame 56-66 %. The rollback logged no crash, stall, freeze or skipped track; nothing kept. Not listened to. Since main brought base 0.8.5 (`ddb56b72`), the release names it as its base; rebuilt against it, the package is byte-identical (`3c3c996d`). +- **Against the built-in in a busy scene** (30 November 2026, agent-run; two development twins of base 0.8.5 from one source, `ceaddfa04` with the beta flags but the sample editor and the stream channel, which overflow a flash slot with `--dev`: `5ac74d69` with the package slot, `8fb901eb` with the built-in USB AUDIO OUT MAIN CUE linked; bank C pattern 02 playing with DELAY on every track, T7 a Thru with one trig, the others muted; the Mac recording MAIN + CUE; three 22 s readings a state; frame interrupt mean, longest frame): + + | | At rest | Recording MAIN + CUE | + | --- | --- | --- | + | Base alone | 36.2-36.4 %, 84-88 % | | + | Built-in | 36.4 % | 41.2 %, 90-91 % | + | 0.4.3, INPUTS OFF | 36.4 % | 45.9 %, 93-94 % | + | 0.4.3, INPUTS AB | 36.5 % | 50.5-50.8 %, 95-104 % | + | 0.4.2, INPUTS AB | 37.0 % | 51.0 %, 95-105 % | + + INPUTS OFF, like for like with the built-in, is 3.1 % of a frame and 3.6 idle points from it (`evidence/performance.json`). With INPUTS AB, macOS runs the input path whenever it records, and in this scene it costs about 5 points more; 0.4.3 records no cheaper than 0.4.2 here, unlike the Windows scene above. 0.4.3 on the 0.8.4 twin `16c87945` in the same scene: 37.2 % to 52.7 %, so the scene, not 0.8.5, makes the difference. No late entry, wait or skipped render; a longest frame over 100 % in single readings with INPUTS AB on both versions. A first round pressed PLAY before the install, which stopped the transport; those readings are not used. - **Host:** `sdk/tests/usb_audio_runs_test.c` checks each layout's run and skipped stores, POST LEVEL, and the silent lap (MAIN to TRACK 8 and to the 16 tracks); the base's own settings test is unchanged; the package test pins the run copy, the stale dispatch and the at-rest return; the site test replaces 0.4.2 (kind 10) with 0.4.3 (kind 11) and keeps 0.4.2 as its Undo. -- **Not run:** the test procedure on the release package (an earlier build of it, `b2f27188`): its scripted pass stopped at its first STOP key ("panel key sequence did not finish cleanly") after installing, and `recover` rolled the trial back; the soak and the at-rest price (`device:price`); listening on a Mac (the owner); the setting changes on the unit, POST LEVEL, 20 channels, INPUTS ABCD, full speed, an MKI, a Keep and a power cycle. Input-side counters (vendor request 0x56) came back empty on Windows; not explained. -- **USB lost once:** a 0.4.2 install for the A/B (the seventh trial of the day) left Windows with `VID_0000&PID_0001`, port reset failed, until a power cycle: the base's known rare loss, not this release's code. +- **Not run:** listening on a Mac (the owner); the setting changes on the unit, POST LEVEL, 20 channels, INPUTS ABCD, full speed, an MKI, a Keep and a power cycle. Input-side counters (vendor request 0x56) came back empty on Windows; not explained. +- **USB lost three times:** a 0.4.2 install for the A/B (the seventh trial of the day) left Windows with `VID_0000&PID_0001`, port reset failed, until a power cycle; on the Mac the evening's 0.4.3 install on twin `5ac74d69` and the rollback after the procedure's price step each left the unit off the bus until a power cycle, in about 30 install and removal reconnects. The base's known rare loss, which 0.4.2 has as well. + +### Test procedure, 30 November 2026 + +**Steps 1-4 and 6-9 passed on the release package; step 10's inventory read met the USB loss above.** Package `3c3c996d2789f4aa…` on the owner's MKII, OS 1.40C, development twin `5ac74d69` of base 0.8.5 (above), the owner's project Dev17 bank C pattern C04, Part 1 (working copy equal to the saved one), an empty module set, a Mac connected, INPUTS AB. `npm run test:procedure -- usb-audio-out-tracks-main-cue --package public/octatrack-modules/usb-audio-out-tracks-main-cue/0.4.3-experimental.mwrm --no-emulator --price-base "development twin 5ac74d69 of base 0.8.5 …" --scene "…"` at `f99f5cff6`, with `cbcd00b70` applied uncommitted: a trial waits until the USB function has reconnected (it changes the tool, not the module; its own Fix pull request). Without it the first run's soak lost its link 0.9 s after the install. + +- **Scripted pass (step 7):** installed as a RAM trial and rolled back, nothing kept; self-test passed, longest frame 375 µs; 12 of 12 Part switches; the inventory as before. The STOP key that stopped `b2f27188`'s pass did not recur. +- **Soak (step 8):** 2,400 operations in 122 s, no crash, stall or loader error, health reads 13 ms median and 36 ms p95. +- **Price (step 9):** installed with no stream, +0.1 % of a frame and +0.1 points of the CPU meter while C04 plays (rerun alone after the power cycle, the first reading +0.1 and +0.3); written to the manifest and `evidence/cpu-price.json`, off the pending list. +- **Put back (step 10):** the unit was off USB after the price's rollback; after the power cycle the flashed 0.8.4 base loaded the owner's kept set, and after the price rerun the twin's inventory was empty and Part 1 equal to its saved copy. + +| Case | Why this change makes it a risk | How run | Result | +| --- | --- | --- | --- | +| A stream starts after rest | the frame hook returns early at rest | every recording after an install, Windows and Mac | pass | +| The Mac playing in for 10 minutes | 0.4.2's buzz fix lives on this path | the release, 1 kHz into INPUTS AB, MAIN recorded back | pass: sidebands -62 to -75 dB | +| A busy scene, recording | the stream's cost under load | the benchmark above | pass against the built-in with INPUTS OFF; with INPUTS AB as dear as 0.4.2 | +| Beside other modules | the shared sites and pool | `modules:compat` (step 2) | passed; not run on the unit beside other modules | +| MAIN to TRACK 8 without a reconnect | the ring's track words are old for one lap | host test | pass on the host; not run on the unit | +| Install and rollback reconnects | each one reconnects USB | about 30 on the Mac this evening | two left the unit off USB until a power cycle (the known loss) | +| Persistence: Keep and power cycle | the saved settings | not run | the owner's, after release | + +Tested on a unit: package 3c3c996d2789, MKII OS 1.40C, test:procedure steps 6, 7, 8, 9; the developer's stage not done (no listening test); the owner approved the release on 30 November 2026. +Edge cases: the table above. ## 0.4.2-experimental, 26-27 November 2026 diff --git a/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/evidence/cpu-price.json b/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/evidence/cpu-price.json new file mode 100644 index 0000000000..52d77803b1 --- /dev/null +++ b/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/evidence/cpu-price.json @@ -0,0 +1,68 @@ +{ + "module": "usb-audio-out-tracks-main-cue", + "version": "0.4.3-experimental", + "base": "development twin 5ac74d69 of base 0.8.5 (ceaddfa04, the beta flags without the sample editor and the stream channel), MKII", + "scene": "the owner's project Dev17 bank C pattern C04 playing, Part 1, an empty module set; a Mac connected, INPUTS AB (the unit's saved choice), no stream", + "inputs": { + "transport": "playing" + }, + "seconds": 8, + "readings": 3, + "measuredAt": "2026-11-30T19:14:05.184Z", + "result": { + "id": "usb-audio-out-tracks-main-cue", + "version": "0.4.3-experimental", + "packageSha256": "3c3c996d2789f4aa96526628c5e794c4b52c056b19615499307b42092a87fb79", + "before": { + "frame": 36.6, + "frameMax": 85.3, + "frames": 67046, + "skipped": 0, + "cpu": 58.9, + "dsp1to4": 32.7, + "dsp5to8": 41.9, + "dsp1to4Peak": 33.7, + "dsp5to8Peak": 42.9, + "readings": 3, + "spread": { + "frame": 0, + "cpu": 0.3, + "dsp1to4": 0, + "dsp5to8": 0, + "frameMax": 1.2, + "dsp1to4Peak": 0, + "dsp5to8Peak": 0.8 + } + }, + "atRest": { + "frame": 36.7, + "frameMax": 86.3, + "frames": 67029, + "skipped": 0, + "cpu": 59, + "dsp1to4": 32.7, + "dsp5to8": 41.9, + "dsp1to4Peak": 33.8, + "dsp5to8Peak": 42.9, + "readings": 3, + "spread": { + "frame": 0, + "cpu": 0.2, + "dsp1to4": 0, + "dsp5to8": 0, + "frameMax": 1.7, + "dsp1to4Peak": 0.1, + "dsp5to8Peak": 0.9 + } + }, + "atRestAdds": { + "frame": 0.1, + "cpu": 0.1, + "dsp1to4": 0, + "dsp5to8": 0, + "dsp1to4Peak": 0.1, + "dsp5to8Peak": 0 + }, + "rolledBack": true + } +} diff --git a/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/octamod.module.json b/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/octamod.module.json index 3126ef054f..c9f7bd191a 100644 --- a/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/octamod.module.json +++ b/sdk/octatrack/modules/usb-audio-out-tracks-main-cue/octamod.module.json @@ -174,6 +174,15 @@ "rationale": "All layouts use the same release package. Its linked section sizes are recorded in TESTING.md. Complete memory use including stack and DMA remains unmeasured.", "source": "README.md" } + }, + "cpuPrice": { + "value": 0.1, + "unit": "percent-of-frame", + "measure": "frame-interrupt", + "tool": "npm run device:price -- --write", + "date": "2026-11-30", + "conditions": "the owner's project Dev17 bank C pattern C04 playing, Part 1, an empty module set; a Mac connected, INPUTS AB (the unit's saved choice), no stream; base development twin 5ac74d69 of base 0.8.5 (ceaddfa04, the beta flags without the sample editor and the stream channel), MKII; 3 readings of 8 s a state. Frame interrupt 36.6 % before, 36.7 % installed and used nowhere; CPU meter 58.9 % before, 59 % at rest.", + "source": "evidence/cpu-price.json" } }, "tests": { From 4832cc69aae4054d01225c92135f8b9bae6ff95e Mon Sep 17 00:00:00 2001 From: repeat98 Date: Mon, 30 Nov 2026 20:25:56 +0100 Subject: [PATCH 16/16] USB Audio 0.4.3-experimental: regenerate the module documents Co-Authored-By: Claude Opus 5.5 --- src/catalog/module-documents.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/catalog/module-documents.json b/src/catalog/module-documents.json index 17732a349f..ae7f8f5d51 100644 --- a/src/catalog/module-documents.json +++ b/src/catalog/module-documents.json @@ -5622,6 +5622,15 @@ "rationale": "All layouts use the same release package. Its linked section sizes are recorded in TESTING.md. Complete memory use including stack and DMA remains unmeasured.", "source": "README.md" } + }, + "cpuPrice": { + "value": 0.1, + "unit": "percent-of-frame", + "measure": "frame-interrupt", + "tool": "npm run device:price -- --write", + "date": "2026-11-30", + "conditions": "the owner's project Dev17 bank C pattern C04 playing, Part 1, an empty module set; a Mac connected, INPUTS AB (the unit's saved choice), no stream; base development twin 5ac74d69 of base 0.8.5 (ceaddfa04, the beta flags without the sample editor and the stream channel), MKII; 3 readings of 8 s a state. Frame interrupt 36.6 % before, 36.7 % installed and used nowhere; CPU meter 58.9 % before, 59 % at rest.", + "source": "evidence/cpu-price.json" } }, "tests": {