Hi, I’m a casual programmer so this thread might seem stupid.
I had an idea to make a desktop program that would listen for a specific hotkey to be held down. When that condition is met, it would make the mouse cursor disappear and use some processing to generate MIDI CC messages based on its movement speed. Hopefully it feel similar to a stringed instrument bow if done right. You would be able to find this program in your DAW’s MIDI input devices and record it on a track.
I’m a bit confused where to do this processing though, since no audio is actually processed. Should I be doing stuff in getNextAudioBlock()?
When I try to do something simple like just read the location of the mouse on the screen and print it, it only updates when the app first starts up.