VST3 KIck Buttons seem not to work in cubase | Installing and Using RackAFX7 | Forum


Please consider registering

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
VST3 KIck Buttons seem not to work in cubase
May 29, 2019 - 1:52 pm
Member Since: March 13, 2017
Forum Posts: 18
sp_UserOfflineSmall Offline

Great work on RackAFX7


I've got a little problem the momentary buttons work in rackafx but when i export and compile and using them in cubase they dont seem to trigger, the gui triggers but the function on it does not.


any idea why ?



May 29, 2019 - 2:22 pm
Member Since: January 28, 2017
Forum Posts: 701
sp_UserOfflineSmall Offline

Yes - assuming you are talking about RackAFX7 with ASPiK exported project. 

The answer has to do with the Custom View attribute of the VSTGUI4 controls. I am still working on a video about this, but it is actually fairly simple. In the Custom View field of the Momentary button you enter one of the following (without the quotes):

"CustomKickButton" -- my overridden version of the KickButton; this will issue mouse click commands when the user releases the mouse (mouse up)

"CustomKickButtonDU" -- this will issue two mouse click messages one for mouse down (D) and the other for mouse up (U)

"CustomKickButtonD" -- kick button that only issues mouse click for the mouse down (D) event

"CustomKickButtonU" -- kick button that only issues mouse click for the mouse up (U) event; this is the same as "CustomKickButton" and is redundant to support older GUIs I was working with prior to ASPiK

You will need to rebuild the plugin for these changes. Note that there are several other custom view options, and you can find the strings and decoding mechanism in the function:

CView* PluginGUI::createView(const UIAttributes& attributes, const IUIDescription* description)

The old RackAFX6 automatically wrote the custom views for you. However, when I cleaned the code for RackAFX7 and ASPiK, I removed it because it caused bloating of the logic code that handled the RAFX GUI designer (which is admittedly far more complex than the audio processing part). 

I'm not sure if you saw the YouTube video I posted on RackAFX7 and ASPiK. But, I cut out half a gigabyte of the product (code as well as gigantic static libs) and I was a bit vigilant there - I left a lot of old code on the floor after that. 

Please try this and let me know if you have any problems at all. I put that code in place during the Summer of 2017 when I did most of the PluginGUI object. 

Note that you can also do this via the ASPiK GUI Designer - it has the same custom view field as the RackAFX GUI Designer.

- Will

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: 56

Skyler: 48

StevieD: 46

Derek: 46

Frodson: 45

Peter: 43

TheSmile: 43

Nickolai: 43

clau_ste: 39

jeanlecode: 37

Member Stats:

Guest Posters: 2

Members: 794

Moderators: 1

Admins: 6

Forum Stats:

Groups: 13

Forums: 42

Topics: 857

Posts: 3395

Moderators: W Pirkle: 701