Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Advanced GUI Topics
Avatar
Chaes
Member
Members
July 17, 2020 - 1:33 am
Member Since: February 21, 2020
Forum Posts: 51
sp_UserOfflineSmall Offline

Hi everyone, 

Does anyone know if the Advanced GUI topics in the SDK are available anywhere? I have not come across them. Seems trivial but I am stuck on the sub-controller section (finish the views without issue) and the knobs wont link together for the life of me! 

C.

Avatar
W Pirkle
Admin
July 17, 2020 - 10:41 am
Member Since: January 29, 2017
Forum Posts: 573
sp_UserOfflineSmall Offline

The SDK has the advanced GUI topics here:

http://aspikplugins.com/sdkdoc....._u_i6.html

and the sub-controller is here:

http://aspikplugins.com/sdkdoc.....ner12.html

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.

Will 

Avatar
Chaes
Member
Members
July 19, 2020 - 7:40 pm
Member Since: February 21, 2020
Forum Posts: 51
sp_UserOfflineSmall Offline

Thanks Will,

I missed the sample files. Working with that and reading the SDK a few times allowed me to find the missing piece of code. 

C.

Avatar
Chaes
Member
Members
July 26, 2020 - 3:18 am
Member Since: February 21, 2020
Forum Posts: 51
sp_UserOfflineSmall Offline

mm thought I posted. Has anyone noticed with the custom views that both are always spectral? I compiled the downloaded folders without touching it. Unless its something to do with the FFT externals but both mine view as waveforms when I compile. 

Avatar
W Pirkle
Admin
October 21, 2020 - 9:56 am
Member Since: January 29, 2017
Forum Posts: 573
sp_UserOfflineSmall Offline

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:

https://www.willpirkle.com/support/fftw/

Following the instructions at the link above, for Windows your FFTW folder should look like this:

fftw1.pngImage Enlarger

Will 

Inside of the x64 folder (for ASPiK VST and AAX) you need to supply these files:

fftwwin.pngImage Enlarger

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:

fftwmac.pngImage Enlarger

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:

cmakefft.pngImage Enlarger

You can also see that there is a dependency in the customviews.h file that says:

#ifdef HAVE_FFTW

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:

fftwvs.pngImage Enlarger

For Xcode, you will see this in your preproc macros:

fftwxcode.pngImage Enlarger

Avatar
Chaes
Member
Members
October 30, 2020 - 10:27 am
Member Since: February 21, 2020
Forum Posts: 51
sp_UserOfflineSmall Offline

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. 

Thanks again;

C!

Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online:
8 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Chaes: 51

Skyler: 48

Derek: 46

Frodson: 45

Peter: 43

TheSmile: 43

clau_ste: 39

jim: 34

JimmyM: 33

Gwen: 32

Member Stats:

Guest Posters: 1

Members: 696

Moderators: 1

Admins: 5

Forum Stats:

Groups: 13

Forums: 41

Topics: 757

Posts: 2894

Newest Members:

Jas, Rowan, sojourn, fabhenr, rg1, Niklas, Wutru, Tim Campbell, Danny Jonel, Valentin

Moderators: W Pirkle: 573

Administrators: Tom: 74, JD Young: 80, Will Pirkle: 0, W Pirkle: 573, VariableCook: 3