Are there other input options besides the fader knob for DSP plugins (not video plugins)? I have knobs currently, but they're being used to set duration, and twisting that tiny knob from 0 to 480 doesn't give very fine grained control. A text input would be awesome. Any way to do that? Related, what are the DeclareParameterCustom and DeclareParameterCommand functions for?
Posté Wed 14 Oct 15 @ 3:04 am
Knobs and buttons only.
If you want other controls then you would have to implement either a skin interface or native window.
DeclareParameterCustom is used for storing data, you can store data in its parameter that is then saved in the ini and recalled.
DeclareParameterCommand passes a string, so you can send/receive data from outside the plugin. Useful if say you have a grid of buttons, instead of having 16 effect buttons you could have one command with a text value to denote the button, "get C6" or "down C6" or example.
If you want other controls then you would have to implement either a skin interface or native window.
DeclareParameterCustom is used for storing data, you can store data in its parameter that is then saved in the ini and recalled.
DeclareParameterCommand passes a string, so you can send/receive data from outside the plugin. Useful if say you have a grid of buttons, instead of having 16 effect buttons you could have one command with a text value to denote the button, "get C6" or "down C6" or example.
Posté Wed 14 Oct 15 @ 9:12 am
Thanks. I had a vst plugin before that used a native window, but on Virtual DJ 8 Mac the native window wouldn't appear, it showed a VDJ plugin window instead. Is there some magic to make Mac do a native window? (Native window worked in Windows).
Or is there some way to make a native window still using the VDJ DSP SDK?
Or is there some way to make a native window still using the VDJ DSP SDK?
Posté Wed 14 Oct 15 @ 5:37 pm
The easiest way to create a native window is to use the relevant APIs for that system, or a cross-platform windowing API. You'll have to create, control, interface, draw and destroy the window yourself (or the platform APIs).
You can specify the handle to the window to VDJ in OnGetUserInterface().
You can specify the handle to the window to VDJ in OnGetUserInterface().
Posté Wed 14 Oct 15 @ 6:17 pm
Thanks. Is implementing a skin interface any different for a plugin than it is for the entire program?
Posté Thu 15 Oct 15 @ 2:39 am
It's the same skin engine - you just pass the XML and PNG in OnGetUserInterface().
Posté Thu 15 Oct 15 @ 1:13 pm