Login :     Password :     Remember me


Forum: VirtualDJ Plugins - Topic: Virtual DJ Plugin for newbies - How to - Page: 1
   
Post here comments on the VirtualDJ Plugins (audio effects, video effects, video transitions, devices mapper, ...).
We remind you that plugins are downloadable by registered users only. Home users may download - plugins marked home level , pro users may download all plugins.
See the latest plugins submissions
Virtual DJ forums
VirtualDJ Plugins
  Virtual DJ Plugin...
- Post a new Message -

Page :

Author - Topic: Virtual DJ Plugin for newbies - How to -
djcel

Team
Posted Sat 09 Apr 05 @ 09:47:30
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 <b>wsprint</b>() [or <b>sprintf</b>() 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

Team
Posted Sat 11 Jun 05 @ 22:52:08
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

Moderator

Posted Tue 09 Aug 05 @ 06:18:58
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

Team
Posted Thu 01 Sep 05 @ 22:57:58
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 @ 16:36:41
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

Team
Posted Sun 04 Jun 06 @ 06:56:18
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 @ 17:20:52
I had a look at that, but does it build mappers for controllers though? Think I really need a VS Tutorial!
djcel

Team
Posted Tue 06 Jun 06 @ 03:27:33
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 2003Vc7VCWizards" to your VS2005 installation directory, which by default is ".Microsoft Visual Studio 8VCVCWizards".

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

4) Edit the "vdjdspwizard.vsz" file located in ".Microsoft Visual Studio 8VCVCProjectsVirtualDJ" 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 @ 15:35:58
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

Team
Posted Tue 06 Jun 06 @ 23:36:19
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 @ 16:43:44
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 @ 06:21:30
Can I make a plugin using delphi?
djcel

Team
Posted Fri 17 Nov 06 @ 21:49:34
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

Home edition user
Posted Thu 28 Dec 06 @ 18:27:24
Must be delphi for v. 4?
skyfxl

Experienced professional user

Posted Thu 28 Dec 06 @ 22:39:55
Soby wrote :
Must be delphi for v. 4?

no , can be C+

aslo
- Topic or forum closed -

Page :

Site map
(C)opyright Atomix Productions 2008
Software
Hardware
VirtualDJ
VirtualVinyl
CUE
AtomixMP3
VDJ HomeEdition
DJC Edition
eJay DJMixStation
DJ-Box
Comparison
Features
Screenshots
Trial Version
Plugins
Software updates
Press Material
Developer SDK
Timecode CD
Skins
Sound Effects
Video Effects
Samples
Languages
Wallpapers
External tools
Online Shop
Forums
Blogs
Wiki
Radio
WorldMap
Charts
Atomix Productions
VIP DJs
VIP Zone
Disclaimer
Ask a question
View your tickets
Guides & Tutorials