Commit 82b851d
hwci: record generative sketches clean; fix cross-sketch audio contamination
Two contamination bugs made World-suite scores unstable and misleading:
- The previous sketch's loop() keeps executing while the next sketch's
SysEx transfer streams in, re-arming sequencer events after our
amy.reset() — so e.g. house_generator kept playing underneath the
woodpiano recording (its 0.44-0.74 'failures' were never a bad ref:
with the bleed fixed woodpiano scores 1.0000 against the UNCHANGED
ref). load_world_sketch now stops the sequencer transport (zY0Z),
kills the running sketch (amyboard.stop_sketch()) and clears held
notes before resetting and transferring.
- The board boots into its SAVED sketch, which also answers MIDI and
contaminated the built-in-tones recording on warm (--no-flash) runs
(hwci_basic 0.9997 -> 0.6456 when woodpiano was the saved sketch).
The same silencing now runs before the basic test.
Also per review-by-ear: generative sketches (acid/house) are recorded
as-is, without the A-minor MIDI arpeggio on top — the pattern now only
drives non-generative patch sketches (woodpiano), which still proves
the USB-MIDI note path. acid/house references re-captured from the
bench accordingly (their old refs had the arpeggio baked in; they also
predate the Gamma9001 kit switch to patch 384).
Verified on the bench against current main firmware:
hwci_basic 0.9997 / acid 0.9698 / house 0.9476 / woodpiano 0.9999
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 9953133 commit 82b851d
3 files changed
Lines changed: 32 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
176 | 177 | | |
177 | 178 | | |
178 | 179 | | |
179 | | - | |
180 | | - | |
181 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
182 | 194 | | |
183 | 195 | | |
184 | 196 | | |
| |||
446 | 458 | | |
447 | 459 | | |
448 | 460 | | |
449 | | - | |
450 | | - | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
451 | 465 | | |
452 | 466 | | |
453 | 467 | | |
| |||
465 | 479 | | |
466 | 480 | | |
467 | 481 | | |
468 | | - | |
469 | | - | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
470 | 487 | | |
471 | 488 | | |
472 | 489 | | |
| |||
589 | 606 | | |
590 | 607 | | |
591 | 608 | | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
592 | 615 | | |
593 | 616 | | |
594 | 617 | | |
| |||
Binary file not shown.
Binary file not shown.
0 commit comments