Latency between adding and playing a midi note

Thanks for the clarification. You’ve warned me against doing this on the audio thread in the past, so I think I’ll stick to plan A for now. I feel like I’m getting close to a solution that will work tolerably well using the AudioTrack::Listener to catch notes that have been dropped. If that doesn’t work, I’ll think about the audio thread again.