Skip to main content
Lightning Jar - Web Studio Lightning Jar Wordmark

Findings No. 29

`setValueCurveAtTime` curves may not overlap, not even at their ends

A clip's fade-in and fade-out curves each take at most half the clip's span less a hair, and nothing else is scheduled inside a curve's interval (`scheduleFades` in `studio.svel...

Stem Shovel Web Audio verified
  • setValueCurveAtTime curves may not overlap, not even at their ends. A clip's fade-in and fade-out curves each take at most half the clip's span less a hair, and nothing else is scheduled inside a curve's interval (scheduleFades in studio.svelte.ts, D4). Setting param.value before the first curve replaces the usual setValueAtTime(0, at), which would land on the curve's start time.

Source: stem-shovel (stem-shovel/FINDINGS.md)

Ask Eljay

Ask about the studio's work, research, packages, or writing. A few starters:

Answers come from this site's own content and link their sources. For anything that matters, email hello@lightningjar.com.