Skip to content

LFO Learn 0.1.0-experimental (draft): an empty LFO starts at the parameter you last turned - #2690

Draft
funkymog wants to merge 1 commit into
repeat98:mainfrom
funkymog:module/lfo-learn
Draft

funkymog wants to merge 1 commit into
repeat98:mainfrom
funkymog:module/lfo-learn

Conversation

@funkymog

@funkymog funkymog commented Dec 6, 2026

Copy link
Copy Markdown

What works: nothing runs yet. This draft holds the plan and the scaffold for LFO Learn, so others can see the direction and comment.

What it means musically: you turn a knob on SRC, AMP, FX1 or FX2, for example the filter cutoff. When you then open LFO SETUP ([FUNC]+[LFO]) and turn PMTR on an LFO that isn't modulating anything yet (DEPTH 0), the first turn lands on that parameter. LFOs already in use behave exactly as stock. Nothing new is saved in the project.

Who must act: the owner (@repeat98). LFO Learn needs two base hooks, asked on the agent board (question 7fa8c7a5):

  1. A notify-only knob-turn hook. The existing ev_knob_store is a take hook, and taking it would take knob turns away from Scale Quantizer and Midiverb.
  2. A take hook on the LFO SETUP editor's PMTR edit. Disassembly of stock 1.40C shows that editor never reaches the knob store, and the base already patches that function.

Tested on a unit: no. Testing so far is the emulator only, which isn't hardware evidence.

Next step: after the owner's answer, draft the hooks on the cumulative base draft, then build and try the module in ot_emu.

Details
  • Category system: it changes how a stock page behaves, with no slot and no sound of its own.
  • The remembered parameter is one RAM byte per audio track. PMTR indexes 0–29 are the stock parameter slots (SRC 0–5, LFO 6–11, AMP 12–17, FX1 18–23, FX2 24–29). Turns on the LFO page and on setup pages don't count.
  • The work runs only on a knob turn, on the UI task, with nothing per frame.
  • uiClaims is empty.
  • module:doctor --draft lfo-learn: the experimental lines are green.
  • What the guides lacked: nothing found yet.

🤖 Generated with Claude Code

An empty LFO's first PMTR turn lands on the track's last-turned parameter.
Waits on two base hooks asked of the owner on the agent board.

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

This branch has not been deployed

No deployments
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.

1 participant