Wykres commitów

3 Commity (develop)

Autor SHA1 Wiadomość Data
James H Ball 320fab7f09 Refactor effect animation to block-based processing for performance
- Replace per-sample animateValues() with block-based processing
- Process each parameter as a complete block instead of sample-by-sample
- Move LFO type and sidechain checks outside sample loops (reduces branching)
- Remove unnecessary per-sample caching (phaseInc, cachedSmoothingWeight,
  lastLfoRate, lfoStartNorm, lfoEndNorm, cachedLfoMinBound, etc.)
- Keep only essential state: phase (LFO) and rngState (noise)
- Simplify prepareToPlay() - only stores sample rate
- Remove nextPhase() helper function (inlined into animateValues)
- Replace jassert in SimpleEffect with fallback to static parameter values
- Remove OSCI_UNINITIALIZED_F sentinel (no longer needed)

This refactor significantly reduces CPU overhead by eliminating redundant
per-sample branching and cache checks, while maintaining exact same behavior.
2025-12-13 16:31:11 +00:00
James H Ball a6f05a864c Convert many doubles to floats 2025-09-14 20:40:40 +01:00
James H Ball 2bf9c9d4b4 Initial performance refactor work 2025-09-14 15:05:36 +01:00