Skip to content

Phase 3: add smoothing and sample-accurate automation - #20

Merged
norbot7865 merged 1 commit into
masterfrom
norbot/issue-9-automation
Jul 15, 2026
Merged

norbot7865 merged 1 commit into
masterfrom
norbot/issue-9-automation

Conversation

@norbot7865

Copy link
Copy Markdown
Collaborator

Summary

  • adds deterministic linear parameter smoothing evaluated in the audio engine
  • adds bounded authoritative automation lanes with exact start/end semantics
  • implements linear, exponential, smoothstep, and hold curves
  • implements explicit/current-start ramp, point-based automate, and immediate/scheduled cancellation
  • deterministically replaces overlapping lanes and retains cancellation-frame values
  • adds automation start/cancel scheduler events, trace output, high-water/cancellation statistics, and --automation-trace
  • resets generation-specific automation safely on patch updates
  • adds endpoint/formula, invalid curve/range/duration, smoothing, cancellation, overlap, nREPL ramp, and 64–1024 block invariance tests
  • adds docs, fixture, make test-automation, and MP3 artifact

Validation

  • make acceptance
  • make test-automation
  • go test -race ./internal/audio ./internal/lisp ./internal/nrepl
  • linear fixture starts at frame 0 and completes exactly at frame 44100

Audio: examples/audio/issue-9-linear-automation.mp3

Closes #9.

@norbot7865
norbot7865 merged commit cf809d7 into master Jul 15, 2026
4 checks passed
@norbot7865
norbot7865 deleted the norbot/issue-9-automation branch July 15, 2026 08:35
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.

Phase 3 / M4: Add deterministic smoothing and automation lanes

1 participant