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
Extra parameters?
Avatar
Matt
Member
Members
July 22, 2018 - 11:28 pm
Member Since: July 20, 2018
Forum Posts: 21
sp_UserOfflineSmall Offline

Hi,

 

Just a question about parameters:

 

When I create a RackAFX plugin with one parameter, e.g. "Volume", and export and compile it to VST3, and then open it in my DAW (Reaper 5.93 / x64), a list of extra parameters appears. Aside from the "Volume" parameter I was expecting, I also get:

- VectorJoystick X and Y

- B1, B2, B3

- Bypass

- PitchBend

- MIDI Vol, Pan, Mod Wheel, Expression, Channel Pressure, Sustain Pedal

- All Notes Off.

 

When creating an audio effect plugin, in my case these parameters will most of the time have no meaning.

Is there a way to switch these off if not needed?

I plan on creating VST plugins for others to use, and I would like to have only the parameters show up as I defined them, if possible.

Any help appreciated!

Many thanks,

 

Matt

ScreenshotImage Enlarger

Avatar
W Pirkle
Admin
July 23, 2018 - 10:54 am
Member Since: January 29, 2017
Forum Posts: 573
sp_UserOfflineSmall Offline

The extra parameters are as follows:

Bypass: soft bypass support is now required by Steinberg, so this parameter is added for you as a convenience; do not remove it otherwise your VST plugin won't be legal and DAWs may refuse to load it.

Vector Joystick, B1, B2, B3 are RackAFX GUI items that may not be used, but need to have VST3 parameters assigned to them in case you use them later.

MIDI: In VST3, Steinberg seriously mangled the MIDI CC handling of their plugins, and do not allow the plugin to receive MIDI CC updates directly. In order to support the most common CC messages that are often used in non-synth plugins (Volume, Pan, etc...) I have declared proxy variables (see the VST3 Forum, where this issue pops up all the time) in order to allow your plugin to optionally process these common MIDI CCs. Again, this is done as a convenience.

You can find the instantiations of all of the optional parameters in the VST3 function named

Processor::initialize(FUnknown* context)

Scroll down midway and you can find the parameter assignments, starting with the joystick, you will find the comment:

// --- NOTE: these must be the following 2 parameters after the normal UI Control List params

You can simply delete the extra parameters you don't want to support but don't delete the bypass parameter. Stop the deleting when you see the comment:

// --- check for presets, avoid crashy

If you later decide that you want to handle MIDI CCs in your plugin (for example to allow the user to use a MIDI control surface's knobs to control your GUI directly) then you'll have to go back and redo all the proxy variables. The MIDI CCs I support with this export are for the most common CC parameters that are usually sent on all channels (e.g. Volume). Due to the VST3 MIDI mangling, the channel info is lost - in other words to support all CCs on all MIDI channels, you need 128 X 16 proxy parameters. Oh, they also lump non CC MIDI messages in with the other CCs, so there are actually 130 (not the standard 128) non-messages to deal with...

If you are doing a lot of VST3 development, you should join, or at least lurk, on the VST3 Developer's Forum. Many of these issues are discussed there. 

https://sdk.steinberg.net/viewforum.php?f=3

- Will

Avatar
Matt
Member
Members
July 23, 2018 - 11:02 am
Member Since: July 20, 2018
Forum Posts: 21
sp_UserOfflineSmall Offline

Hi Will,

 

Thanks so much for the swift reply. This has clarified it, many thanks.

 

I'll have a look at the Steinberg forum as you mentioned.

 

Best of luck with the book! 🙂

 

Matt

Avatar
W Pirkle
Admin
July 23, 2018 - 2:43 pm
Member Since: January 29, 2017
Forum Posts: 573
sp_UserOfflineSmall Offline

Cool - glad you got it sorted out. BTW, I posted a question to the VST3 forum specifically about creating parameters which are hidden on the default GUI for just this purpose - they said there was no way to do that... 

Avatar
Matt
Member
Members
July 23, 2018 - 3:31 pm
Member Since: July 20, 2018
Forum Posts: 21
sp_UserOfflineSmall Offline

W Pirkle said
Cool - glad you got it sorted out. BTW, I posted a question to the VST3 forum specifically about creating parameters which are hidden on the default GUI for just this purpose - they said there was no way to do that...   

Hi Will,

 

Yeah, found your post there on https://sdk.steinberg.net/viewtopic.php?f=4&t=330.

 

It's not a big deal to be honest, I seriously doubt many users will ever use the DAW-provided default GUIs over my marvellously beautiful GUIs, hahaha (just kidding).

 

Thanks again for your swift help and your incredible work (a rarity in today's rather selfish world...).

 

I'll continue to discover all the good that is in RackAFX; it's truly marvellous.

 

Matt

Avatar
W Pirkle
Admin
July 23, 2018 - 5:05 pm
Member Since: January 29, 2017
Forum Posts: 573
sp_UserOfflineSmall Offline

Hi Matt

Stay tuned - a new version of RackAFX is coming in the fall that adds my new plugin framework ASPiK (which is actually independent of RackAFX, though RAFX will export ASPiK projects). ASPiK, which has been two years in development, significantly cleans up many issues involved in trying to implement a plugin core that is cross-API and cross-platform compatible. It is a complete overhaul and re-build from the ground up. And, part of that involves trying to make new SDKs easier to integrate when the designers change stuff. 

I'll make posts here on the Forum in the Sneak Preview section as the time nears. 

- Will

Avatar
Matt
Member
Members
July 23, 2018 - 6:19 pm
Member Since: July 20, 2018
Forum Posts: 21
sp_UserOfflineSmall Offline

Hi Will,

 

That sounds indeed exciting.

 

Is it like a layer in between, on the one hand, RackAFX, and on the other VST / AU / AAX?

Like:

SchematicImage Enlarger

Avatar
W Pirkle
Admin
July 24, 2018 - 1:11 pm
Member Since: January 29, 2017
Forum Posts: 573
sp_UserOfflineSmall Offline

Here's an answer to your question:

http://www.willpirkle.com/foru.....pik/#p2117

- WP

Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online:
5 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