Files
soundcraft/crates/engine
Dylan M. Taylor 9fa0deb4e1 Clip gain to volume: index envelope lookups
Converting clip gain to volume (and baking volume into clip gain)
evaluated the clip's gain envelope by walking it from the start for
every breakpoint being converted, so a large envelope in an opened or
imported session cost envelope points squared and blocked the engine.

Build a running-maximum index over the envelope once per clip and
binary-search it. It returns exactly what the walk returned, including
for envelopes stored out of order.
2026-11-02 22:16:52 -05:00
..