locodog wrote :
look at this, OnLoad() declares your params, OnParameter() is called when the param is adjusted
HRESULT VDJ_API CLocoDog4::OnParameter(int id)
{
switch (id)
{
case LocoDog4_Param_Slider_Vol:
parSliderVol;
break;
}
return S_OK;
}
parSliderVol;
is a sentence that has only variable name;
What does this sentence do?
Mensajes Mon 13 Jul 20 @ 5:56 am
Yes something is bad here...
as parSliderVol is declared as a variable:
float parSliderVol;
and defined to contain slider value :
DeclareParameterSlider(&parSliderVol, LocoDog4_Param_Slider_Vol, "Volume", "VOL", 1.0f);
// there is something wrong...
case LocoDog4_Param_Slider_Vol:
// parSliderVol; // can't be used alone like that
// the value in parSliderVol was updated; you can use it right now to follow your needs
// in this example (simple volume) parSliderVol don't need to be used at all
break;
as parSliderVol is declared as a variable:
float parSliderVol;
and defined to contain slider value :
DeclareParameterSlider(&parSliderVol, LocoDog4_Param_Slider_Vol, "Volume", "VOL", 1.0f);
// there is something wrong...
case LocoDog4_Param_Slider_Vol:
// parSliderVol; // can't be used alone like that
// the value in parSliderVol was updated; you can use it right now to follow your needs
// in this example (simple volume) parSliderVol don't need to be used at all
break;
Mensajes Mon 13 Jul 20 @ 6:31 am
I had other stuff going on testing various curve types.
Mensajes Mon 13 Jul 20 @ 11:36 am
Can we access the buffer's element at the CuePoint?
If buffer[x] is at the CuePoint, how is x written in source code?
If buffer[x] is at the CuePoint, how is x written in source code?
Mensajes Tue 21 Jul 20 @ 3:28 pm
How can we realize graphical user interface like beatgrid?
How did this developer draw this?
How did this developer draw this?
Mensajes Tue 28 Jul 20 @ 2:40 pm
Mensajes Tue 28 Jul 20 @ 2:40 pm
Your plugin can implement OnGetUserInterface, set the pluginInterface Type to VDJINTERFACE_SKIN, and fill Xml with a pointer to xml data and ImageBuffer/ImageSize to a png image.
Those will then be used like a regular vdj skin.
Those will then be used like a regular vdj skin.
Mensajes Tue 28 Jul 20 @ 2:55 pm
Can we find sample source code with GUI other than this page?
https://www.virtualdj.com/wiki/Developers.html
Audio plugin (DSP) - Example 1 / Audio plugin (DSP) - Example 2
Audio plugin (Buffer DSP)
I'd like to study in more detail.
https://www.virtualdj.com/wiki/Developers.html
Audio plugin (DSP) - Example 1 / Audio plugin (DSP) - Example 2
Audio plugin (Buffer DSP)
I'd like to study in more detail.
Mensajes Fri 31 Jul 20 @ 2:56 am
Never saw one other than "Basic plugin (with skin interface)" which is self explanatory
Only setting raw xml data in pluginInterface->Xml and raw png data in pluginInterface->ImageBuffer and png size in pluginInterface->ImageSize is just enough
the example shows both how to bundle the skin in a windows resource file (as a bmp/png and a xml) and how to load from external file (mac version)
if using VisualStudio 2019... create the resource is a is a real pain.... but it's VisualStudio 2019 related
Only setting raw xml data in pluginInterface->Xml and raw png data in pluginInterface->ImageBuffer and png size in pluginInterface->ImageSize is just enough
the example shows both how to bundle the skin in a windows resource file (as a bmp/png and a xml) and how to load from external file (mac version)
if using VisualStudio 2019... create the resource is a is a real pain.... but it's VisualStudio 2019 related
Mensajes Fri 31 Jul 20 @ 5:35 am