Quick Sign In:  

Forum: VirtualDJ Plugins

Topic: "manual" automix - Page: 1

This part of topic is old and might contain outdated or incorrect information

Hello,

I would like to developp a plugin for manual "automix":

-> move continuous or no-continuous the crossfader to the other channel by selecting a length (for example a slider).
MAXLENGTH=32s or more
by default = the default selection in settings if it exists
(as I don't like to have a fixed value)
-> possibility to modify the length during the "manual" automix
-> add buttons with different speed for no-continuous move
-> a special buttons to change instantly to the other channel


I have already integrated that to my personnal skin but it would be easier to concentrate all the functions for crossfader in the same place and independant of the skin => to free a part of the skin.


If you have finished programming before me, no probleme but share.
=> Macourteau or Kaleo: if you had a little time to do it, it would be great.

 

Posted Wed 06 Oct 04 @ 10:09 pm
An other vision of my idea:

-> set the crossfader in the middle
-> decreasing the volume level of current channel and increasing with synchro the volume level of the other channel in a defined time (=length) => slider

Maybe by using the same idea as the "FadeOut" effect by clax
=> first a "FadeIn"
=> then a "FadeInOut"
 

I have very little free time these days -- barely enough to read the forum -- but other developers could give it a shot... This definitely sounds like a great idea, but also not a simple plugin.

macourteau
 

Clax:

It would be nice if I could get the source file (.cpp) of the "FadeOut" effet (the best would be without the option flanger) as now I'm spending my time recreating something which already exists.

or create your own .h if you don't want to share your work

Thanks
 

Check your mail.
I sent you FadeOut source with a lot of comments.

++
Clax
 

Thanks
 

I think I will post your wish soon. Thr problem is to find time to.
 

In VdjDsp2.h

In the structures TPluginInfos and TProvidedInterfaceInit:
what is "int size" ? Never seen in examples and I have no idea of what is refered to.
 

I think that "CurrentDesk=0" means the corresponding desk in play. My definition is not clear :-(
However which integer when the other is in use : 1 ??
 

What is "CurrentSlot"?

So to sum up: define "CurrentDesk" and "CurrentSlot" with the possible values and their meaning

Thanks
 

CurrentDesk returns on which deck the plugin is loaded (you do not need to know the values, it's used only for sending commands).

CurrentSlot returns on which slot on the current deck (1, 2 or 3) the plugin is placed. This (again) is used only for sending commands.

macourteau
 

djcel;

For Currentdesk and Currentslot, you can check the .cpp file that I sent to you; there's an example inside.

For "int size" I don't know; sorry.

Clax
 

Hi, need help again

How can I know if desk=0 is linked to crossfader=0 or crossfader=4096 ?
 

Does it work with :

int position_crossfader
...
GetParam(0,"Crossfader",position_crossfader)

??

And after i use "if (position_crossfader=0) " and "if (position_crossfader=4096)" to separate the two case.

But I can't reset th crossfader to the max at first
 

-- With if ... else ... You have to write if (a==b) and not if (a=b).

-- Never tried with the crossfader but I'll start to create a plugin for this. I don't have much free time at all but I'll check ASAP.

++
Clax


 

yes of course ==
Sorry for that
I didn't focuse on the right expression but only on the idea
 

;)
 

Well I have success in my plugin. The crossfader moves as I want

Just for info. It's the same algorythm as clax for FadeOut by only changing level by crossfader and by specifying some particular cases.
I had the idea to keep the flanger during the fade and i was supprised: it's great !!


Now I need FadeIn to finish my plugin and I have some other things to avoid (for example, forbidden the same plugin twice:one for each deck)
 

I even think Fade is the big solution to my probleme
(only by changing level by crossfader)

;-) Clax
 

I would like to tell that the greatest interest of my plugin is that you can change the length of fade for crossfader during the mix without entering settings

Sniff, same problem as FadeOut when you are in a loop
 

95%