feat: add Arp de Lévy app - #607
Draft
kosmar wants to merge 26 commits into
Draft
Conversation
Lévy-flight generative arpeggiator (app ID 32) with classic arp modes, V/Oct + bypass quantizer, and configurator manual with gesture tables.
kosmar
marked this pull request as draft
July 24, 2026 14:17
Short press (and CV Dest Reroll) picks a new expression amount that scales per-note velocity and gate-length randomness. Co-authored-by: Cursor <cursoragent@cursor.com>
Mirror Chord Vamp: schedule hits on the clock path, await MIDI/quantizer only in a separate voice loop so USB MIDI cannot stall clock ticks. Co-authored-by: Cursor <cursoragent@cursor.com>
Tighter local steps, wilder leaps (up to 4 octaves), and a lean curve so Third-layer alpha extremes separate more clearly. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
Author
|
Pushed latest: CV Out Pitch/Gate/Velocity + LED feedback polish. |
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Authored by an AI coding agent on behalf of kosmar. Co-authored-by: Cursor <cursoragent@cursor.com>
The branch still used the ID it was first drafted with. ID 32 now belongs to another app in docs/wip-app-ids.md, and 28 is reserved for Sift, so two of these app branches would have collided on merge. Authored by an AI coding agent on behalf of kosmar.
…ream App::wait_while_perf_muted does not exist on main. The mechanism behind it gates the shared MIDI path and is used by several stock apps on the integration branch, so it needs its own PR and its own review rather than arriving as a side effect of an app. Without a host perf mute on main there is nothing for this call to wait on, so removing it changes no behaviour here. Authored by an AI coding agent on behalf of kosmar.
Note-generating apps each carried their own idea of Root and Scale, so the device-wide Key/Tonic — live on the Scene button plus Fader 4/5 — could not act as a transpose. This adds one shared place to resolve it: the normalized device Key, the tonic pitch class, a root retuned onto it keeping its octave, and a combined call that costs a single GlobalConfig copy instead of two. Resolving copies the whole GlobalConfig, so the module documents that callers must cache per bar or phrase rather than per note. Authored by an AI coding agent on behalf of kosmar. Co-authored-by: Cursor <cursoragent@cursor.com>
…g it The note pool holds absolute MIDI notes and is persisted, so following a transpose has to move it. Shifting by the interval keeps the melodic shape the pool has evolved into; rerolling would have thrown it away. Resolved once per phrase, and the resolved root travels to the voice task through a global. Also pins the historical-layout check in from_values, which tested values.len() >= PARAMS and would have misread the old layout as soon as PARAMS grew. Authored by an AI coding agent on behalf of kosmar. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
The integration branch exposes the same counter twice, as Clock::get_ticker and as App::clock_ticker; only the latter is on its way upstream. Both hand out the same fn() -> u64 reading TICK_COUNTER, so this is a rename at the call site. Authored by an AI coding agent on behalf of kosmar. Co-authored-by: Cursor <cursoragent@cursor.com>
Review feedback on ATOVproject#639: a dropped NoteOff hangs the note with no later message to correct it, and APP_MIDI_CHANNEL is shared by all 16 channels, so a busy neighbour can cause the drop. Every NoteOff here already runs in the async voice task, where awaiting queue space costs at most a late NoteOff in this app's own loop. Authored by an AI coding agent on behalf of kosmar. Co-authored-by: Cursor <cursoragent@cursor.com>
Upstream PR ATOVproject#601 asserts at compile time that CONFIG strings are pure ASCII, because postcard-bindgen JavaScript codec cannot round-trip anything else. Doc and inline comments keep their typography. Authored by an AI coding agent on behalf of kosmar.
Same mutate+save API as ATOVproject#640 so WIP apps can call params.update now. Host AppState push stays out until the real writeback lands. Authored by an AI coding agent on behalf of kosmar. Co-authored-by: Cursor <cursoragent@cursor.com>
ParamStore::update polyfill (mutate+FRAM, no host push). Authored by an AI coding agent on behalf of kosmar. Co-authored-by: Cursor <cursoragent@cursor.com>
A modulator that never reaches its rails could only nudge the target a little, since CV Att could at most pass the input through unchanged. Allowing gain up to 4x lets a tame LFO drive the destination across the full range, with the existing clamp in attenuate_bipolar turning the excess into a hold at the end stops. Stored presets keep their behaviour: the scale is linear and 100 still means unity. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
IDs 28–31 reserved for Heat Pump (#603), Grooves (#604), Golden Gate (#605), Super LFO (#606). Independent from
main.Test plan
Prerequisites
The platform pieces this app needs are under review as their own PRs, so that
each app PR stays small enough to review on its own.
Required — these APIs do not exist on current
main:App::clock_ticker, which replaces theClock::get_tickerthis branch was written againsttry_send_*)ParamStore::update, so an app can write its own params back to the hostThis branch is still based on an older
mainthat still had the removed clockhelper, which is why it builds on its own but not after a rebase.
One more dependency is deliberately not proposed yet:
App::wait_while_perf_muted, which this branch calls. That mechanism does notexist on
mainat all, and on the integration branch it is used by seven stockapps — so it needs its own PR and its own review rather than riding along here.
The call will be dropped from this branch until that PR exists.
Building any of this on a current Rust nightly also needs the toolchain fix in
#632.