The SDK has the advanced GUI topics here:
and the sub-controller is here:
There is also a sub-controller demo project in the SDK with the Custom Views stuff. With that project, you can load up the plugin into a DAW, then set breakpoints in key locations (e.g. the KnobLinkController's functions). Run the debugger and watch how the sub-controller functions work. You can watch the sub-controller get created, and then place a breakpoint in the valueChanged( ) function.Â
For the sub-controller, all the work is done in the sub-controller and GUI objects. The PluginCore does not play a role and doesn't know the sub-controller exists or the knobs are linked together.Â
When I designed the ASPiK GUI object, I do allow for you to "register" the sub-controller with the PluginCore -- I put functions and messages in place for this. But, I have yet to find a reason for doing so, and I don't use that particular feature.
You need the FFTW DLLs and .libs for either MacOS or Windows for the spectrum view to work.
So, the first question is - do you have the FFTW DLLs and libs installed in their folders? The instructions are here:
Following the instructions at the link above, for Windows your FFTW folder should look like this:
Inside of the x64 folder (for ASPiK VST and AAX) you need to supply these files:
The files for 32-bit RackAFX have identical names so there is no sense in posting a picture of that.
For MacOS, the .lib file winds up in your /opt/local/bin folder after following the instructions at the link:
The second part is a pre-processor definition for HAVE_FFTW. So, the second question is - do you see this in your compiler? Note that this option is enabled int he CMake script you ran when you installed the ASPiK project, this is in CMakeLists.txt for the DemoFFTViews, that was done with ASPiKreator:
You can also see that there is a dependency in the customviews.h file that says:
For both Visual Studio and Xcode, this is #defined in the compiler project setup, as a result of the CMake setting in the image above.
For Visual Studio, you will find this in your C++ preprocessor definitions:
For Xcode, you will see this in your preproc macros:
Thanks Will; This really has reaffirmed how powerful taking time to read and explore the code files, including the cmake text files. I had installed the files after the project had been made without it linked. This resulted in the preprocessor (I think, basically the IF FFTW section) was deactivated even though the files were in the project and included.Â
Most Users Ever Online: 152
Currently Browsing this Page:
Guest Posters: 2
Moderators: W Pirkle: 693