I am trying to implement VST audio player (or virtual instrument) plugin.
The main idea is to have simple interface, lets say with one button, and when button is pressed, .wav file is loaded from file system and streamed to one of virtual audio output channels.
My question is: which classes should I use and which methods should I overwrite? I am seeking for general guidelines, but some code examples would be fine too.
I have spent quite a lot of time trying to find code examples on internet, but without success.
I understand “hello world” example plugin which is generated with Introjucer. There you have to overwrite AudioProcessor::processBlock(…) method in which you process input buffer and result will be streamed to output. But in my case, there is no input event which will call processBlock method. I want to call it manually, for example on button press.