Quick Sign In:  

Forum: VirtualDJ Technical Support

Topic: Script Experts wanted

Dieses Thema ist veraltet und kann veraltete oder falsche Informationen enthalten.

ewewoHome userMember since 2018
Hi there, can anybody help me fix some vdjscripts which are buggy?
 

geposted Mon 19 Nov 18 @ 5:47 pm
Anybody?
 

geposted Mon 19 Nov 18 @ 7:40 pm
maybe if you post the problem scrips some people when they have time will have a look and post fixes

good luck :-)
 

geposted Mon 19 Nov 18 @ 11:08 pm
locoDogPRO InfinityModeratorMember since 2013
Go ahead, I'm getting back in to it after a disastrous few month.
 

geposted Tue 20 Nov 18 @ 2:40 am
Thank you!
 

geposted Tue 20 Nov 18 @ 7:46 am
@locodog: so you‘re available? ;-p
 

geposted Tue 20 Nov 18 @ 10:26 am
let me guess you script is top secret and you are not willing to post it?

aaaah well good luck.
 

geposted Tue 20 Nov 18 @ 11:27 am
Haha no;)
Ok 1st question: is it possible to crossfade bar/bpm relative? Instead of using values like crossfade 2000ms somethig like crossfade: 8bars

There this get_bpm command so it might be possible?
 

geposted Tue 20 Nov 18 @ 11:33 am
ewewoHome userMember since 2018
ok, here we go:

All scripts should generally be designed for keyboard keys or controller keys and bidirectional? work, so that the script works, whether Deck 1 or 2 is currently active.

For synchronous transitions, duration of fades etc should be bar-timed and not a static duration, for example: not 2000ms but something like 4bars. I do not know if that's possible, but maybe with "get_bpm" and a divide of the value or something similar?

For synchronous transitions, the sync should be "beat-synchronized" in the beatkeeper, ie not just synced, maybe this would be possible using "get_beat"?

Script 1 (asynchrone Transition, synced version possible):
Deck should play a backspin (4 bars long) while playing, and then immediately make a full crossfade to the other deck and start it.
#########
set 'rsGainBS' '`gain' & gain -20% & slip on & effect_active 'backspin' & repeat_start_instant 'rsiBackSpin' 10ms & effect_active 'backspin' 1 ? nothing : repeat_stop 'rsiBackSpin' & play & slip off & get_var 'rsGainBS' & param_cast & gain & mix_now
#########
known issues:
- Length of the backspin static and not tact-relative
- sometimes the backspin effect is not heard
- It generally works only with one deck, not on the other deck

Script 2 (synced Transition):
Activce Deck should simulate the typical engine-off effect of a record player and stop the active track, and the other deck should start slow (ie the opposite of Motor-On) begin. Between the two effects there should be a crossfade from one deck to another
#########
slip on & effect_active 'brakeStart' & repeat_start_instant 'rsibrakeStart' 10ms & effect_active 'brakeStart' 1 ? nothing : repeat_stop 'rsibrakeStart' & play & slip off & mix_now
#########
known issues:
- the crossfade takes too long
- the active deck is not stopped
- The inactive deck starts directly and does not provide the engine-off effect

Script 3 (asynchron Transition, synced version possible):
Deck active should loop a bar and then be pitched lower and slower (similar to the end of Timberlakes - cry me a river) and then fade to the other deck and then start this song.
#########
slip on & loop 1 & repeat 235ms & down ? key 0 ? key -1 : key -1 ? key -2 : key -2 ? key -3 : key -4 : loop 0 & key 0 & slip off & mix_now
#########
known issues:
- sometimes the script works, sometimes not
- Routine for crossfade not implemented
- Loop does not slow down (routine is not implemented)

Script 4 (synced Transition)
Deck active should loop a bar and then, after a loop pass, half the length of the loop and repeat the whole process until 1/4 loop is repeated and then crossfade directly on the other deck and start this track
#########
loop 2 & down ? blink 300ms & repeat_start "rsAHL" 33ms & loop 2 ? loop_position & param_bigger 90% ? set "top" 1 : var "top" 1 ? loop 1 & set "top" 0 : nothing : loop 1 ? loop_position & param_bigger 90% ? set "top" 1 : var "top" 1 ? loop 0.5 & set "top" 0 : nothing : nothing : loop 0 & repeat_stop "rsAHL"
#########
known issues:
- unfortunately does not work VDJ 8.3 (copied from the script examples)
- Routine for switch to the other track is not implemented

Script 5 (synced Transition)
Crossfade to the inactive deck which starts back forth - the crossfader now shifts to the other deck very fast (bpm relative, not static) to the other deck, the whole thing is getting faster, from 1/4-beat fader switches to 1/16 and in the end the crossfader will remain on the new track
#########
Here I completely miss the approach, because I do not know how to create such "switches" isochronous and not temporally static
cycle "$AutoXF" 2 & var_equal "$AutoXF" 1 ? var_equal "$XFside" 1 ? deck master repeat_start_instant "rsiXF" 10ms 101 & crossfader +1% & crossfader 100% ? deck master repeat_stop "rsiXF" & set "$XFside" 2 & set "$AutoXF" 0 : nothing : var_equal "$XFside" 2 ? deck master repeat_start_instant "rsiXF" 10ms 101 & crossfader -1% & crossfader 0% ? deck master repeat_stop "rsiXF" & set "$XFside" 1 & set "$AutoXF" 0 : nothing : nothing : deck master repeat_stop "rsiXF"
#########
known issues:
- Script not functional

Script 6 (synced Transition)
The active deck should execute an "infinite" but fadening echo / delay effect at the push of a button and then sync to the inactive deck and start it
#########
effect_button "loop out" 1 1 & effect_button "loop out" 2 1 & effect_slider "loop out" 1 50% & effect_slider "loop out" 2 24% & effect_slider "echo" 1 50% & effect_slider "echo" 2 50% & effect_active "loop out" 1 & effect_active "echo" 1 & repeat_start_instant "rsiLoopOutOff" 33ms & effect_active "loop out" ? nothing : repeat_stop "rsiLoopOutOff" & repeat_start "rsEchoOff" 2000ms 1 effect_active "echo" 0 & mix_now & auto_crossfade 8000ms
#########
known issues:
- Script does not fade Delay / Echo effect
- Script sometimes does not work
- Clock-accurate crossfade functions not implemented

Script 7 (synced Transition)
The active deck should switch to the other track at for example the last beat of the song, the new track should start immediately (hard cut).
#########
cycle "$AutoXF" 2 & var_equal "$AutoXF" 1 ? var_equal "$XFside" 1 ? deck master repeat_start_instant "rsiXF" 10ms 101 & crossfader +100% & crossfader 100% ? deck master repeat_stop "rsiXF" & set "$XFside" 2 & set "$AutoXF" 0 : nothing : var_equal "$XFside" 2 ? deck master repeat_start_instant "rsiXF" 10ms 101 & crossfader -100% & crossfader 0% ? deck master repeat_stop "rsiXF" & set "$XFside" 1 & set "$AutoXF" 0 : nothing : nothing : deck master repeat_stop "rsiXF"
#########
known issues:
- Script not accurate/beat-synchronized (in Beatkeeper)

Script 8 (synced Transition)
The active deck should crossfade to the other deck with a duration of 8 Bars (beat synced within beatkeeper)
#########
crossfader 0% ? auto_crossfade 1000ms & deck 2 play : auto_crossfade 1000ms & deck 1 play
#########
known issues:
- Script not accurate (in Beatkeeper)
- Duration of face not relative but static

Script 9 (synced Transition)
Das aktive Deck soll zum anderen Deck mit einer Dauer von 8 Bars crossfaden und dieses schlagggenau im Beatkeeper starten und dabei die EQ Crossfaden
#########
repeat_start_instant 'eqchanger' 100ms 50 & deck 1 eq_low -1% & deck 1 eq_high -1% & deck 2 eq_low +1% & deck 2 eq_high +1%
#########
known issues:
- EQ thread works only on a deck, so it is not bidirectional
- Script not accurate (in Beatkeeper)
- Duration of face not relative but static
 

geposted Tue 20 Nov 18 @ 1:26 pm
Sorry for my bad translation...
 

geposted Tue 20 Nov 18 @ 9:15 pm
ewewoHome userMember since 2018
is somebody out there who could save my scripts? ;)
 

geposted Wed 21 Nov 18 @ 8:07 pm


(Alte Themen und Foren werden automatisch geschlossen)