快速登录:  

Forum: VirtualDJ Plugins

话题: "manual" automix - Page: 1

由于该帖子的部分内容已年深日久,可能包含陈旧过时或描述错误的信息。

djcelPRO InfinityModeratorMember since 2004
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.

 

发表时间 Wed 06 Oct 04 @ 10:09 pm
djcelPRO InfinityModeratorMember since 2004
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"
 

发表时间 Wed 06 Oct 04 @ 10:26 pm
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
 

发表时间 Wed 06 Oct 04 @ 11:00 pm
djcelPRO InfinityModeratorMember since 2004
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
 

发表时间 Thu 07 Oct 04 @ 1:17 am
claxPRO InfinityMember since 2004
Check your mail.
I sent you FadeOut source with a lot of comments.

++
Clax
 

发表时间 Thu 07 Oct 04 @ 5:24 am
djcelPRO InfinityModeratorMember since 2004
Thanks
 

发表时间 Thu 07 Oct 04 @ 11:32 am
claxPRO InfinityMember since 2004
I think I will post your wish soon. Thr problem is to find time to.
 

发表时间 Thu 07 Oct 04 @ 5:26 pm
djcelPRO InfinityModeratorMember since 2004
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.
 

发表时间 Fri 08 Oct 04 @ 4:09 pm
djcelPRO InfinityModeratorMember since 2004
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 ??
 

发表时间 Fri 08 Oct 04 @ 4:44 pm
djcelPRO InfinityModeratorMember since 2004
What is "CurrentSlot"?

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

Thanks
 

发表时间 Fri 08 Oct 04 @ 5:27 pm
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
 

发表时间 Fri 08 Oct 04 @ 9:37 pm
claxPRO InfinityMember since 2004
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
 

发表时间 Fri 08 Oct 04 @ 9:44 pm
djcelPRO InfinityModeratorMember since 2004
Hi, need help again

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

发表时间 Tue 12 Oct 04 @ 6:29 pm
djcelPRO InfinityModeratorMember since 2004
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
 

发表时间 Tue 12 Oct 04 @ 6:50 pm
claxPRO InfinityMember since 2004
-- 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


 

发表时间 Tue 12 Oct 04 @ 7:23 pm
djcelPRO InfinityModeratorMember since 2004
yes of course ==
Sorry for that
I didn't focuse on the right expression but only on the idea
 

发表时间 Tue 12 Oct 04 @ 7:29 pm
claxPRO InfinityMember since 2004
;)
 

发表时间 Tue 12 Oct 04 @ 7:37 pm
djcelPRO InfinityModeratorMember since 2004
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)
 

发表时间 Tue 12 Oct 04 @ 8:37 pm
djcelPRO InfinityModeratorMember since 2004
I even think Fade is the big solution to my probleme
(only by changing level by crossfader)

;-) Clax
 

发表时间 Tue 12 Oct 04 @ 9:01 pm
djcelPRO InfinityModeratorMember since 2004
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
 

发表时间 Tue 12 Oct 04 @ 9:25 pm
95%