Quick Sign In:  

Forum: VirtualDJ Plugins

Topic: Noob question audio plugin dev
Hola - Mac m1

Trying my hand at plugin development, making slow progress but I've got the example working of audio-plugin-dsp-example-2

Is there an example anywhere that shows how to make use of buttons, or create your own interface? Sliders, toggle switches etc.

What I'd really like to do is have a http request spitting out to localhost every few seconds, with the current key of the deck - but I'm a while a way from that I think.
 

Posted Wed 27 Sep 23 @ 8:01 am
locoDogPRO InfinityModeratorMember since 2013
For a user made interface there's
https://www.virtualdj.com/wiki/Plugins_SDKv8_Example4.html

for all plugins sliders/buttons are made in OnLoad with DeclareParameter_
you can see the available types in vdjPlugin.h


HRESULT VDJ_API CMyPlugin8::OnLoad()
{
DeclareParameterSlider(&m_Wet,ID_SLIDER_1,"Dry/Wet","D/W",1.0f);
return S_OK;
}

params =
the variable it controls,
the id OnParameter() will use if you need to do stuff when interacting with it,
the dial name shown on the fx gui,
a short name shown some places on the skin,
the default value of the variable if you double click the dial, or if an .ini file isn't available to save the dial position between sessions.

each type of "thing" button/switch/slider etc is mostly the same params with minor differences. dials use float, buttons/switches use integers, buttons don't have a default value because a button is momentary.
 

Posted Wed 27 Sep 23 @ 3:10 pm
djcelPRO InfinityModeratorMember since 2004
user25567481 wrote :
What I'd really like to do is have a http request spitting out to localhost every few seconds, with the current key of the deck - but I'm a while a way from that I think.

NetworkControl plugin maybe directly?

http://www.virtualdj.com/wiki/NetworkControlPlugin.html

Then javascript
 

Posted Fri 29 Sep 23 @ 5:46 pm