Skip to content

SY RAVE 0.2.0: quiet after the AMP, lighter, on pads 1 to 8, several at once - #2509

Merged
repeat98 merged 9 commits into
repeat98:mainfrom
chevyone:rytm-sy-rave-lite
Dec 3, 2026
Merged

repeat98 merged 9 commits into
repeat98:mainfrom
chevyone:rytm-sy-rave-lite

Conversation

@chevyone

@chevyone chevyone commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

SY RAVE 0.2.0: it goes quiet after the AMP, it is about 40 % lighter, it is on pads 1 to 8, and several ring together. Its author played the pinned package (RV16) on a MKII beside a full groove with up to six SY RAVE ringing: "solid like a rock". The owner reviews it, as chevyone is not yet in .github/module-authors.json.

  • What was wrong: the author's Rytm hung with SY RAVE on three tracks (RS, CP and MT, nothing else added). 0.1.0 has no envelope of its own and never falls below the base's quiet level, so every track that had played it kept rendering, 6.8 % of the audio block each, for good.
  • What changes for a musician:
    • SY RAVE goes quiet once the track's AMP has closed and costs nothing until its next trig. HLD 60 with DEC INF, or a long DEC, still rings until the AMP closes.
    • It is offered on every track of pads 1 to 8 (BD, SD, RS/CP, BT, LT, MT/HT), and each rings on its own. After the review the author asked to drop the one-at-a-time rule this draft had: six ringing together cost 14.5 % of the block.
    • About 5 % of the block while one rings (4 % as a saw, 6.5 % for a wide chord high up), with the same sound.
  • Ran on a unit: yes, the author's MKII, OS 1.74, RAM-booted, nothing flashed. RV16 is the pinned package ac7cb38a… linked as a prebuilt package on main's development voices base 7814615b (after Improvement: Analog Rytm MKII cumulative base draft for 0.7.1 #1934).
  • Open: once on RV16, the unit hung right after the author loaded the project with that set, before SY RAVE had rendered a block. It was not reproduced: the same kit built over MIDI with 36 hits in a burst, the project loaded step by step by the author, and four SY RAVE tracks played by the author all ran without a hang. Its cause is not known.
  • Next step: the owner reviews it; the rave-stab board claim on Base: FM engine take hooks for synth and cx-osc (69-90) #2352 is the owner's to sort out.

Tested on a unit: RV16 (sha256 f8bc9343db81e2d5951293a9099b98eb4d953559aabbc870bfff2ea11899eae1, package ac7cb38abfcef3f56cdf46876f7a13da32430d8642d6751530630854449566a8 on the development voices base 7814615b), Analog Rytm MKII, OS 1.74, RAM-booted over the link, nothing written to the flash: the author's set that hung, the author's groove with four tracks on SY RAVE. RV14 (the earlier 0.2.0 package) and RV15 (this source): the AMP cases, six at once, a save and power cycle, a takeover by ear.

The review's cases

  1. RV13 and the package: RV13 was a local build of the same source. RV14 and RV16 link the pinned packages themselves (bfd5e98b…, then ac7cb38a…) as prebuilt packages, not the source.
  2. Save Project and a power cycle (RV14): BD and BT on SY RAVE, CHD MAJ, AMP DEC INF; saved as a new project, powered off and on, RV14 RAM-booted again, the project loaded: SY RAVE, CHD MAJ, DEC INF and a chord on each pad.
  3. The set that hung: no other modules; SY RAVE on RS, CP (one shared voice) and MT, stock machines elsewhere. See "Open" above.
  4. A takeover by ear (RV14): two tracks panned apart, hit in turn while one rang: no click. Then dropped: in RV15 and RV16 each track rings on its own.
  5. HLD ~60 with DEC INF, and a long DEC (npp1993): slot 39's blocks a second every 0.35 s on BD (RV14): HLD 60 with DEC INF rendering throughout 6 s; DEC 100 throughout 10 s; HLD 60 with DEC 60 quiet after 3.8 s; DEC 40 after 1.4 s. The chord rings until the AMP closes.
  6. AMP state -1: on RV14 the state went 2 (hold), then 3, and stayed 3 after every decay; -1 never showed, nor with a pattern played and stopped. The guide note from Docs: the Rytm's amp state stays in decay after a decay ends #2500 is right. This PR's RV09 line said a hold went straight to idle; RV09 read -1 on all eight voices at once, and what set it is not known. The TESTING.md line is corrected. The gate still treats -1 as closed after its grace.

Edge cases

Case Why this change makes it a risk How run Result
A track left on SY RAVE at rest 0.1.0 rendered for good meter after a hit at DEC 40, 60 and 0 pass: quiet within 1.4 s, 3.8 s and 0.7 s (RV14)
AMP DEC INF, HLD 60 the gate must not stop a held chord meter 6 s after a hit pass: still rendering (RV14)
A long DEC the gate's estimate must not end early meter 10 s after a hit at DEC 100 pass: still rendering (RV14)
Six tracks at once the block's spare time is shared CC 15 on six channels, DEC INF, hits in turn pass: 14.5 % in all (RV15)
Beside a full groove as above the author: up to six ringing, chromatic play, knob turns pass on RV15 (as reported); dearest block 9.1 %
RS and CP both on SY RAVE one shared voice CC 15 on both, hits in turn and in a burst pass: no hang (RV16)
The author's project that hung the case this release is for loaded and played by the author one hang, not reproduced (RV16)
Project save and power cycle the register and settings in mod storage the author, RV14 pass (as reported)
TUN, DET and PCH moved while it rings the kept steps must follow the pitch host test against 0.1.0's render pass: within -132.7 dB
Details
  • The AMP: ev_amp_record at order 80 (src/amp_follow.s) records each voice's amp state and record. src/ra_gate.c estimates the fall to silence from the rate word with margin, and closes when the amp state is -1 after a hit's grace.
  • The render: each oscillator's step and reciprocal are kept while its pitch holds; between the wave's edges a note's saw is a line and its pulse a level, and only the samples beside an edge are worked out as 0.1.0 did. 0.1.0's render stays as tools/ra_ref.c for the match test.
  • Host tests: 38 pass (tools/run_host_test.sh).
  • Package: rave-stab-0.2.0-experimental-os1.74.elemod ac7cb38a…, built by scripts/build-elemod-isolated.sh (image 81b0c4b6…) from a clean checkout of e0cbd2272, committed in ce27a7f48, pinned and vendored in a7976ec23; verify-elemod-release-exports.mjs reproduced 68 exports. It replaces the earlier 0.2.0 package bfd5e98b…, which was never released. Merge with a merge commit, not a squash.
  • main merged (the Rytm base 0.7.1, Improvement: Analog Rytm MKII cumulative base draft for 0.7.1 #1934).
  • Screenshots from RV13 (media/capture.json); the pages are unchanged.

What the guides lacked: no guide says how to find where a digital voice's time goes; probe builds selected by a knob and mw_voice_meter did it here. The guide's note on AMP state -1 (#2500) was right; this PR's own RV09 line was wrong and is corrected.

  • Automatically merge and publish my module update after checks pass.
  • I verified the source, licences, UI and qualification reports, including instance isolation and Part/project/reboot persistence where applicable; no required acceptance check is failed or untested.

Validation commands and results: tools/run_host_test.sh 38 pass; npm run pr:ready; node scripts/verify-elemod-release-exports.mjs 68 reproduced. Locally, four device tests in scripts/mc-device.test.mjs and scripts/rytm-device.test.mjs fail to link with the macOS 27.2 SDK (tapi error: malformed file) and pass with SDKROOT set to the 26.5 SDK.

🤖 Generated with Claude Code

chevyone and others added 3 commits December 1, 2026 22:07
…pads 1-8

SY RAVE follows its track's AMP (ev_amp_record) and goes quiet once the AMP
has closed or gone idle, so the base ends the hit and the voice costs nothing
until its next trig. 0.1.0 rendered on for good on every track that had
played it.

Only the last SY RAVE track hit plays; another one ringing fades out over a
block. The machine is now offered on pads 1 to 8 (BD, SD, RS/CP, BT, LT,
MT/HT).

The render keeps each oscillator's step while its pitch holds, and between
the wave's edges treats a note as a line (saw) and a level (pulse), working
out only the samples at an edge: about 5 % of the block a voice on a MKII
(was 8.3 % with the same settings), within -132.7 dB of 0.1.0's output.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Built by scripts/build-elemod-isolated.sh (image 81b0c4b6) from a clean
checkout of 404d2d4, source tree b8517342; exported with
package-elemod-recipe.mjs: sha256 bfd5e98b.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The browser builder's pin moves to sdk/imports/elekloader-rave-stab-2026-12-01.json
(commit 9f2555d), the vendored copy to 0.2.0. Verification note added.

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

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, this is a clear write-up, and the 0.1.0 tracks that never stopped rendering are a real fix for players. The amp follower only reads, the gate errs on the late side, and the new render matches 0.1.0 at -132 dB, so the approach looks right.

Before you mark it ready, three things for your test record in TESTING.md, on the build made from the pinned package (bfd5e98b…). Please say whether RV13 is that exact package or a local build of the same source:

  1. Save Project and a power cycle, then SY RAVE's settings and a chord again. That's still marked as not run.
  2. The set that hung. Run 0.2.0 beside the modules you had installed when the Rytm hung, and name them. That's the case this release is for.
  3. A takeover by ear. Hit two SY RAVE tracks in turn while one rings, and say whether the one-block fade clicks.

The board claim for rave-stab and machine id 39 is held on #2352. You've already asked there, so no action is needed from you; the owner will sort it out if it's a mistake.

Once these are in, run npm run pr:ready and mark the pull request ready. As you're not registered as an author yet, the owner reviews this release.

@npp1993

npp1993 commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

Thanks, this reads well and the gate is a real fix. One case to add beside the bot's three: the gate goes quiet as soon as the amp state is -1 (ra_gate.c:50). Could you run a hit with HLD around 60 and DEC at INF, and one with a long DEC, and say whether the chord keeps ringing until the AMP closes? And the guide note from #2500 (now on main) says -1 comes only after a choke, while RV09 saw it after a hold, so please correct whichever is wrong in this PR. Thanks!

chevyone and others added 6 commits December 2, 2026 07:04
…14 and RV15

The author asked for every SY RAVE track to ring on its own: six at once
cost 14.5 % of the block. RV14 (the pinned package on main's base): the
AMP cases, a save and power cycle, no click between tracks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chevyone chevyone changed the title SY RAVE 0.2.0: quiet after the AMP, one voice, lighter, on pads 1-8 SY RAVE 0.2.0: quiet after the AMP, lighter, on pads 1 to 8, several at once Dec 2, 2026
@chevyone
chevyone marked this pull request as ready for review December 2, 2026 21:53
@repeat98
repeat98 merged commit 2ff59ef into repeat98:main Dec 3, 2026
16 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants