Posted by Justin on April 24 2021, 1:10pm:
Definitely do not call most of the REAPER API via another thread. Instead, use SetTimer() and create a timer that runs at a faster rate (e.g. every 10ms) and call things from that.
Posted by Airon (77.191.10.x) on April 25 2021, 8:45am:
Good interpolation will definitely be a help for guys like me, who do very fast fader moves on dialogue
Posted by Airon (77.191.10.x) on April 25 2021, 8:46am:
Good interpolation will definitely be a help for guys like me, who do very fast fader moves on dialogue. That is, once this is actually possible with
Posted by Airon (77.191.10.x) on April 25 2021, 8:48am:
Sorry for the double post. iPad troubles. ..... Reaper has some problems recording these kinds of moves from control surfaces as well as old Protools did from an Ethernet controller 20 years ago.
Posted by helgoboss (92.212.0.x) on April 25 2021, 1:24pm:
Ah cool, learned something. Didn't know the timer can run faster than IReaperControlSurface.Run() and is allowed to call REAPER functions. Great!
Posted by DeBased (90.252.255.x) on May 2 2021, 10:52pm:
On Windows at least I seem to have zero issues running from my own Run() thread. A second independent thread does the fader interpolation, again MIDI output appears threadsafe with no glitches. I'll look into timers.
Posted by DeBased (90.252.255.x) on May 2 2021, 10:54pm:
My point doing this is that when I recently came to surfaces fresh, I didn't understand why they are treated as low-priority input devices. They are human-expression devices like any other MIDI devices, ideally they should be recorded the same (sample accurate etc). Not just for precision but latency, eg. time-critical punch ins, mutes etc.
Posted by DeBased (90.252.255.x) on May 2 2021, 11:10pm:
FYI, my CSI mod's Run() tops out at just under 100 Hz on my system (CSI relies heavily on polling state from Reaper, some of that could be optimised). That should help with recording precision/latency. And my fader output interpolation is around 300Hz max with USB/LAN (~100Hz max via classic MIDI). On my Behringer X-Touch (which doesn't interpolate faders) it went from a grinding noisy mess to almost butter smooth. I'm hoping to release a beta on the Reaper forum within a week or so (will post link).