I’m saying sorry in advance because I’m asking tonnes of questions that probably seem obvious to seasoned C++ coders and Juce users.
I’ve been playing around with the plugin in host demo today. It’s fantastic. I’m working through the code and slowly starting to understand how it all works. It’s great because I can instantiate sound generator and effect VSTs within the app. Now, I want to create an ADSR, or LFO modulator, display it in the FilterGraph, and create the necessary components using the STK. I want to connect the modulator up to a VST to modulate some parameter.
I’m going to use Dave96’s STK wrapper here: http://www.rawmaterialsoftware.com/viewtopic.php?f=6&t=9216 .I’ve already got this module included in my project.
So, my general question is: are there any tips to how I would go about creating a graph class to display the ADSR/LFO? The existing class for plugins/midi in/out etc. is AudioProcessorGraph. Should create a new class which is like AudioProcessorGraph? Extend/alter AudioProcesserGraph? An ADSR doesn’t technically process audio so not exactly sure what to do here.
Any tips to point me in the right direction would be great. Anything at all.