Hey, I’m quite new to Juce, and I’m building my first application with the framework.
I started out just following a tutorial making a gain slide, and when I made a vst plugin, it came out great! However, later I tried making an Audio application, being based on the AudioAppComponent. I followed this tutorial on spectrum analysis and the code is running fine. I’ve also got an AudioDeviceSelectorComponent, so I can change the buffer size, etc. My problem is that there’s significant latency in my output, and I’m not even doing anything with the audio yet! My plan is to make a audio to midi converter, acting as a virtual midi port, and this kind of latency will render the application useless. What am I doing wrong? I’ve tried playing with the buffer size and tried using Windows low latency audio device as driver.
Edit: Adding a pastebin link
The solution was to simply use ASIO. I used this Juce forum thread for help.