Accesso rapido:  

Forum: VirtualDJ Plugins

Topic: Other input options for DSP besides knobs?

Questo argomento è obsoleto e potrebbe contenere informazioni obsolete o errate.

clc54PRO InfinityMember since 2015
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?
 

Inviato Wed 14 Oct 15 @ 3:04 am
SBDJPRO Infinity Member since 2006
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.
 

Inviato Wed 14 Oct 15 @ 9:12 am
clc54PRO InfinityMember since 2015
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?
 

Inviato Wed 14 Oct 15 @ 5:37 pm
SBDJPRO Infinity Member since 2006
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().
 

Inviato Wed 14 Oct 15 @ 6:17 pm
clc54PRO InfinityMember since 2015
Thanks. Is implementing a skin interface any different for a plugin than it is for the entire program?
 

Inviato Thu 15 Oct 15 @ 2:39 am
SBDJPRO Infinity Member since 2006
It's the same skin engine - you just pass the XML and PNG in OnGetUserInterface().
 

Inviato Thu 15 Oct 15 @ 1:13 pm


(Vecchi argomenti e forum sono automaticamente chiusi)