Login :       Password :       Ricorda login e password su questo computer

Forum: Virtual DJ Plugins - Topic: Virtual DJ Plugin for newbies - How to

Post here comments on the Virtual DJ Plugins (Audio effects, Video effects, Video transitions, Devices mapper, Tools, ...).
We remind that plugins are downloadable by registered PRO users only.
Il forum di VirtualDJ
Virtual DJ Plugins
Virtual DJ Plugin...


Autore - Topic: Virtual DJ Plugin for newbies - How to -

djcel

Senior Team
Posted Sat 09 Apr 05 @ 3:47 am
SDK VirtualDJ v5.x

You need 2 or 3 files:
* VdjPlugin.h with all the basic functions to "talk" with Virtual DJ (it's what we call the SDK)
* Maybe one more .h to add new and specialized functions to the SDK (audio, video, controller,...) [this .h depends of VdjPlugin.h]
* .cpp your plugin using functions of the .h and actions of Virtual DJ

With these 2 or 3 files, you just need to use the action of the .h
SendCommand(What,Deck); to send a real-time string command What (actions=keyboard shortcuts) to VDJ on the deck Deck

You need also to understand the keyboard shortcuts as in the plugins it's the same thing

And to send command, the functions wsprint() [or sprintf() from the external library stdio.h (use #include) ]

Simple example: First plugin to do at the beginning: one slider to move the main crossfader on the skin. It's easy but it enables you to be sure of what you believe to understand


If you succeed try other action and buttons
Then, you can add the function in the .h :
GetInfo(What, &In); to make queries What (from parameters list) from VDJ
[see forum or GetInfo.dll to have the list]

djcel

Senior Team
Posted Sat 11 Jun 05 @ 4:52 pm
If you don't have Microsoft Visual Studio .NET 2003, i advise you Dev-C++, it's a free c++ compilator and you can DOWNLOAD HERE

If you want to use Visual C++ 2005 Express, follow these:instructions

JeremK

Senior Moderator
Posted Tue 09 Aug 05 @ 12:18 am
When you use Dev-c++, you must first create a new project, choose a name for the project and also choose DLL, or else it won't compile as a .exe which won't work with VDJ.

First correct the file vdjdsp2.h to avoid the problem with enum:
http://www.virtualdj.com/forums/40237/Plugins/To_write_plugin_with_Dev-C____.html?page=1

Then you must write your plugin and finally compile it by clicking on the logo that has four squares in different colors.

Hopefully if you don't have any errors while compiling, you will have a new plugin to use with VirtualDJ

djcel

Senior Team
Posted Thu 01 Sep 05 @ 4:57 pm
Just some advices about compilators [IN FRENCH]:
Si vous cherchez un compilateur C & C++ ou des infos sur tout ce qui se fait, lisez ceci en français:
http://c.developpez.com/compilateurs/

halo_djk

VIP Member
Posted Sat 03 Jun 06 @ 10:36 am
Don't spose we could have a step by step guide to plugin creation. I have access to Visual Studio 2003, but aside from loading the .CPP a .H files I'm completly confuesd. I just want to modify the DAC2 default mapper file then create a .DLL file that suits virtual DJ?

I'm not fluent in C++, but do pick this kind of programming up easly if pointed in the right direction.

djcel

Senior Team
Posted Sun 04 Jun 06 @ 12:56 am
halo_djk wrote :
I have access to Visual Studio 2003


You can so download the plugins SDK Wizard for Visual Studio 2003 that you can find here:
http://www.virtualdj.com/support/developers/effects.html

halo_djk

VIP Member
Posted Sun 04 Jun 06 @ 11:20 am
I had a look at that, but does it build mappers for controllers though? Think I really need a VS Tutorial!

djcel

Senior Team
Posted Mon 05 Jun 06 @ 9:27 pm
adrianh wrote :
Hi All

In order to use the wizard in VS2005, all you need to do is the following:

1) Install wizard (VdjDspWizard.exe) as per normal.

2) Copy the "vdjdspwizard" directory under ".\Microsoft Visual Studio .NET 2003\Vc7\VCWizards" to your VS2005 installation directory, which by default is ".\Microsoft Visual Studio 8\VC\VCWizards".

3) Copy the "VirtualDJ" directory under ".\Microsoft Visual Studio .NET 2003\Vc7\VCProjects" to your VS2005 installation directory, which by default is ".Microsoft Visual Studio 8\VC\VCProjects".

4) Edit the "vdjdspwizard.vsz" file located in ".\Microsoft Visual Studio 8\VC\VCProjects\VirtualDJ" and replace this line

Wizard=VsWizard.VsWizardEngine.7.1

with this line

Wizard=VsWizard.VsWizardEngine.8.0

5) Should work (holding thumbs), because mine did!


Yes it works

halo_djk

VIP Member
Posted Tue 06 Jun 06 @ 9:35 am
This is a full wizard? I installed that wizard, it asked me one window, IE don't process audio, do process audio, what type of interface, then that was that, right into the virtual studio manual window. Even though i clicked NO AUDIO, and NO INTERFACE, it still gave me buttons, and started dumping debugs in the EFFECTS folder!?

Where do you start the wizard from??

djcel

Senior Team
Posted Tue 06 Jun 06 @ 5:36 pm
With the VdjDspWizard.exe, the DEBUG mode automatically sends the files in the virtualdj folder. It's better to debug his plugin ;-)
(if you enable the debug mode F5,it will launch VirtualDJ in addition)


If you change to RELEASE mode (final compilation), the output folder is created locally and not in VirtualDJ folders.

low-fat-al

VIP Member
Posted Sat 02 Sep 06 @ 10:43 am
Can someone please be update this information for version 4 and also for us newbies who haven't a clue on how to do this...

hold my hand and guide me through the process if you must...

I want to learn...

so I don't have to bug you guys on what I would love to make for a plug-in.. (mainly video transitions)

FJMSoft

No license user
Posted Wed 15 Nov 06 @ 12:21 am
Can I make a plugin using delphi?

djcel

Senior Team
Posted Fri 17 Nov 06 @ 3:49 pm
FJMSoft wrote :
Can I make a plugin using delphi?

As it uses COM, i guess yes but i don't know how (i don't know delphi)

Soby

Limited edition user
Posted Thu 28 Dec 06 @ 12:27 pm
Must be delphi for v. 4?

skyfxl

VIP Member
Posted Thu 28 Dec 06 @ 4:39 pm
Soby wrote :
Must be delphi for v. 4?

no , can be C+

aslo



Site map
(C)opyright Atomix Productions 2009

Software
Hardware
VirtualDJ Pro
VirtualVinyl
Numark CUE
AtomixMP3
VDJ HomeEdition
DJC Edition
eJay DJMixStation
DJ-Box
Caratteristiche
Screenshots
Versione Dimostrativa
Plugins
Aggiornamento Software
Materiale Promozionale
SDK sviluppatori
Timecode CD
Skins
Effetti Audio
Effetti Video
Samples audio
Linguaggi
Sfondi per Desktop
Mappers & Tools
Forums
Rete Utenti
Wiki
Radio
Atomix Productions
VIP DJs
Regolamento
Richieste
Controlla le tue richieste
Wiki