I recently tried to build a keyboard drum machine using
ofSoundPlayer and quickly ran into audio latency issues. This led me down the rabbit hole of ASIO sound drivers,
audioOut() and the Maximilian / ofxMaxim addon.
If anyone is interested, I’ve put together a sample oF project with the results of my investigation:
The project also includes basic sound visualization (based on code I found somewhere on these forums but can no longer track down to provide attribution).
I’ve only tested this project on Windows using VoiceMeeter Banana as the ASIO sound driver.