ebu / ear-production-suite

The EAR Production Suite is a set of VST® plugins and tools for producing immersive and personalizable audio content suitable for any Next Generation Audio codec. It is based on the Audio Definition Model (ITU-R BS.2076) and the ITU ADM Renderer (ITU-R BS.2127) and enables monitoring on any ITU-R BS.2051 loudspeaker configuration.
https://ear-production-suite.ebu.io/
GNU General Public License v3.0
102 stars 19 forks source link

Improve performance when creating Reaper automation points #250

Closed carmethene closed 1 year ago

carmethene commented 1 year ago

See: Reaper API - InsertEnvelopePoint

InsertEnvelopePoint()'s sort control flag works opposite to the way you'd expect. Flipping this code around prevents Reaper from re-sorting the automation curve for each point added, which significantly reduces import time.

firthm01 commented 1 year ago

Good spot! Looks good to me. I've just created a rebased version in #252 to ensure CI runs and passes tests (main had a fix for the failing runners)