Skip to content

v0.6.0

Choose a tag to compare

@charCulbert charCulbert released this 30 Oct 12:05
· 2 commits to main since this release

chardraw

  • Knobs and sliders follow Compost's curves. A parameter's curve is "log" or linear, and its mid is the value halfway along the travel. Log with a mid bends so the mid sits at the middle; log without one is the plain log law. Linear with a mid is two straight lines through it; without one, the travel is even. The same parameter now feels the same in Compost and in chardraw.
  • This changes v0.5.0's mid. The exponential curve through a mid is gone: a mid with no curve now means two straight lines. To keep a bent knob, add "curve": "log" beside "mid" in the parameter's "params" entry, or "log" after the mid in a chardraw starter's paramTable row.
  • A log curve needs min above 0, and is linear otherwise. Stepped parameters are always even. A control's log argument still overrides the curve and mid.
  • Out-of-range values clamp to the range when placing a control, and a non-finite value counts as min.
  • Nothing reaches the host. CLAP parameter info, automation and saved state don't change.
  • Examples. The starters' rows take a curve. instrument-chardraw's cutoff and release are log, and feel as before; the gallery's Cutoff is log through 1 kHz, and its Drive two lines through 2.