Entra:     


Forum: VirtualDJ Technical Support

Topic: Help with a script for StemFX
I've tried a few versions, but I keep getting stuck.

What I'm trying to do:
Create a stemfx pad that does a vinylbrake effect coupled with a light reverb on the melorhythm stem.

What's happening:
I got it to work somewhat like I wanted, but the effect state for the reverb keeps randomly getting crossed up to where turning the stempad OFF is turning the reverb ON, and it's now reverbing the playing song's melorthym stem rather than reverbing the melorhythm stem on the BRAKE.

Here are a couple of examples of the scripts I have tried. Can anyone help me sort this out? Loco?

var 'brakeRev' 1 ? toggle 'brakeRev' & padfx 'reverb' 9% 35% 50% 65% 'stemfx:MeloRhythm' & wait 20ms & ( padfx 'vinylbrake' 60% 1bt 50% 50% 'BPF:off' 'stemfx:MeloRhythm' ? padfx 'vinylbrake' 60% 1bt 50% 50% 'BPF:off' 'stemfx:MeloRhythm' : ) : toggle 'brakeRev' & ( padfx 'vinylbrake' 60% 1bt 50% 50% 'BPF:off' 'stemfx:MeloRhythm' ? : padfx 'vinylbrake' 60% 1bt 50% 50% 'BPF:off' 'stemfx:MeloRhythm' ) & padfx 'reverb' 9% 35% 50% 65% 'stemfx:MeloRhythm'

var 'brakeRev' 1 ? toggle 'brakeRev' & ( padfx 'vinylbrake' 60% 1bt 50% 50% 'BPF:off' 'stemfx:MeloRhythm' ? padfx 'vinylbrake' 60% 1bt 50% 50% 'BPF:off' 'stemfx:MeloRhythm' : ) & ( padfx 'reverb' 9% 35% 50% 65% 'stemfx:MeloRhythm' ? padfx 'reverb' 9% 35% 50% 65% 'stemfx:MeloRhythm' : ) : toggle 'brakeRev' & ( padfx 'vinylbrake' 60% 1bt 50% 50% 'BPF:off' 'stemfx:MeloRhythm' ? : padfx 'vinylbrake' 60% 1bt 50% 50% 'BPF:off' 'stemfx:MeloRhythm' ) & ( padfx 'reverb' 9% 35% 50% 65% 'stemfx:MeloRhythm' ? : padfx 'reverb' 9% 35% 50% 65% 'stemfx:MeloRhythm' ) & wait 3bt & ( padfx 'reverb' 9% 35% 50% 65% 'stemfx:MeloRhythm' ? padfx 'reverb' 9% 35% 50% 65% 'stemfx:MeloRhythm' : )

I tried this one, and it worked reasonably well, but again, somehow the state gets reversed.
padfx 'vinylbrake' 60% 1bt 50% 50% 'BPF:off' 'stemfx:MeloRhythm' & padfx 'reverb' 10% 20% 50% 65% 'stemfx:MeloRhythm'

Any help would be appreciated. TIA!
 

Inviato 2 hours ago