Accesso rapido:  

Forum: General Discussion

Topic: Script School - Page: 33.55
locoDogPRO InfinityModeratorMember since 2013
@Ziglar

I remember the code now to approximate sticky just with script, but I just don't like it, I don't want to introduce it because it's backwards to how sticky actually works and it would cause problems if sticky ever did get a port to mac.
 

Inviato Mon 02 Jan 23 @ 6:04 pm
ZiglarPRO InfinityMember since 2011
locodog wrote :
@Ziglar

I remember the code now to approximate sticky just with script, but I just don't like it, I don't want to introduce it because it's backwards to how sticky actually works and it would cause problems if sticky ever did get a port to mac.
Ok I do understand. I just Hope it gets ported sooner than later.

 

Inviato Mon 02 Jan 23 @ 7:59 pm
ZiglarPRO InfinityMember since 2011
locodog wrote :
After bring it up to date

down ? 
on & set 'VoxFXcount' `var 'VoxFXcount' ?
get_var "VoxFXcount" & param_add 1 : get_text '1' & param_cast val` & set 'voxLoopCycle' 0 & effect_stems 'vocal' on & repeat_stop 'voxRoller2' & quantize_loop on & padfx 'loop roll' 0.9 0.75 & wait 1bt 1 & repeat_start 'voxRoller' 1bt & effect_slider 'loop roll' 2 -20% & cycle 'voxLoopCounter' 2 & var 'voxLoopCounter' 0 ?
repeat_stop 'voxRoller'& repeat_start 'voxRoller2' 1bt & effect_slider 'loop roll' 1 -15% & cycle 'voxLoopCycle' 6 & var 'voxLoopCycle' 0 ?
repeat_stop 'voxRoller2' :
nothing :
nothing :
off & repeat_stop 'voxRoller2' & effect_active 'loop roll' off & get_var "VoxFXcount" & param_equal 1 ?
effect_stems 'vocal' off & set 'VoxFXcount' `get_var "VoxFXcount" & param_add -1` :
set 'VoxFXcount' `get_var "VoxFXcount" & param_add -1`


then change down query to a var query and include 2 toggles of the var

var voiceThing 0 ? 
on & toggle voiceThing & set 'VoxFXcount' `var 'VoxFXcount' ?
get_var "VoxFXcount" & param_add 1 :
get_text '1' & param_cast val` & set 'voxLoopCycle' 0 & effect_stems 'vocal' on & repeat_stop 'voxRoller2' & quantize_loop on & padfx 'loop roll' 0.9 0.75 & wait 1bt 1 & repeat_start 'voxRoller' 1bt & effect_slider 'loop roll' 2 -20% & cycle 'voxLoopCounter' 2 & var 'voxLoopCounter' 0 ?
repeat_stop 'voxRoller'& repeat_start 'voxRoller2' 1bt & effect_slider 'loop roll' 1 -15% & cycle 'voxLoopCycle' 6 & var 'voxLoopCycle' 0 ?
repeat_stop 'voxRoller2' :
nothing :
nothing :
off & toggle voiceThing & repeat_stop 'voxRoller2' & effect_active 'loop roll' off & get_var "VoxFXcount" & param_equal 1 ?
effect_stems 'vocal' off & set 'VoxFXcount' `get_var "VoxFXcount" & param_add -1` : set 'VoxFXcount' `get_var "VoxFXcount" & param_add -1`



I'm going to have to start charging for this

Thank you for your help again. I will input it and give you feedback. As for charging for it, please check your dm. i am willing to offer something for your help always. I just don't have paypal. If you happen to get another means where i can support,please let me know. Thanks

 

Inviato Mon 02 Jan 23 @ 8:01 pm
Here a little Script to add a manually input Dialog for set Pitch to a specific BPM Value. :)


set set_bpm `get_bpm` & set_var_dialog set_bpm BPM &
repeat_start 'bpm_change' 250ms 240 &
param_equal '`get_var set_bpm`' '`get_bpm`' ? nothing :
get_var set_bpm & param_cast 'beats' & pitch & repeat_stop 'bpm_change'
 

Inviato Mon 09 Jan 23 @ 11:05 am
locoDogPRO InfinityModeratorMember since 2013
@DennYo Beats nice, I really like set_var_dialog from a makers perspective.
it's like a little command line

the part the calls the dialog is just waiting for the var change, all the user has to do is press the button and the dialog can give hand holding instructions
 

Inviato Mon 09 Jan 23 @ 12:20 pm
Hey Script-Pros,
is it possible to have "controllerTakeoverMode"="gradual" for gain knob only. Is it possible to read the controller knob position of a knob or slider using VDJ script, when it isn't synchronous with the software position. All the scripts seam to report the software-position.

Thx in advance!
Cheers
Jochen
 

Inviato Tue 10 Jan 23 @ 9:09 pm
locoDogPRO InfinityModeratorMember since 2013
@EGR if every dial command changed the setting and changed back, maybe.

setting controllerTakeoverMode "instant" & level & setting controllerTakeoverMode "gradual"

 

Inviato Wed 11 Jan 23 @ 4:11 am
@LOCODOG,
that is a very good idea and may do the trick. Will check it in the evening, when I'm back home.
I said it may times and have to do it again.
This community is awesome. Thx a lot for your quick and helpful answers!

Cheers
Jochen
 

Inviato Wed 11 Jan 23 @ 7:04 am
Hey LocoDog,

checkt your idea and it worked! Thx a lot!
Everything is on "pickup" except gain:
setting controllerTakeoverMode "gradual" & gain & setting controllerTakeoverMode "pickup"


Cheers
Jochen
 

Inviato Thu 12 Jan 23 @ 12:11 pm
locoDogPRO InfinityModeratorMember since 2013
How to add strings [append a tag example]

set_var string " text I want to add" & 
set temp `param_add 'get_var string' 'get_browsed_song comment'` &
get_var temp & param_cast 'text' & browsed_song "comment"


quick one, save the text I want to add,
set a temp var, adding the thing I want to add to the thing I want to add to
grab the var, cast it as text, cast it to the thing I want to change

or even briefer
set_var string " text I want to add" & 
get_text "`param_add 'get_var string' 'get_browsed_song comment'`" &
param_cast & browsed_song comment


even briefer still, and in the order that doesn't hurt my primitive brain
set_var string " text I want to add" & 
get_text "`get_browsed_song comment``get_var string`" &
param_cast & browsed_song comment
 

Inviato Mon 23 Jan 23 @ 2:19 am
locodog wrote :
How to add strings [append a tag example] ....


Thats a very usefull script... Thanks for sharing ... i love it. <3
 

Inviato Mon 23 Jan 23 @ 11:22 am
Hey everybody,

I try to create a day-theme for the Prime GO.
Everythings looks great except the bowser list.
How can I change the colors of the browser list?
Here are the elements the default theme is using:

<define class="primebrowser">
<font fontsize="24"/>
<fontheader fontsize="22"/>
<fontsearch fontsize="16"/>
</define>
...
<filelist class="primebrowser" headerheight="[LINEHEIGHT]" lineheight="[LINEHEIGHT]">
<pos x="+0" y="+50"/>
<size width="[BRWIDTH]" height="[BRHEIGHT]-50"/>
</filelist>

How can I change colors in the design-tag?

Thx Jochen

 

Inviato Sun 05 Feb 23 @ 3:14 pm
locoDogPRO InfinityModeratorMember since 2013
@EGR a question better suited for the skins forum.
 

Inviato Sun 05 Feb 23 @ 3:19 pm
Electronic Green Room wrote :
Hey everybody,

I try to create a day-theme for the Prime GO. ....



add in the <define class="primebrowser"...> the COLOR children.

https://www.virtualdj.com/wiki/Skin%20Browser.html

When you need mor help please post in the Skin Forum.



 

Inviato Sun 05 Feb 23 @ 3:35 pm
hello, help me assign a button so that when you turn it on, the effect 'reverb' and stems fx 'vocal' are activated, and when you press the button again, the effect 'reverb' and stems fx 'vocal' disconnected.

something like this, but it doesn't work: deck right effect_active 'reverb' & effect_stems 'vocal' on : effect_stems off
 

Inviato Mon 27 Feb 23 @ 7:02 pm
DJElementDJ wrote :
hello, help me assign a button so that when you turn it on, the effect 'reverb' and stems fx 'vocal' are activated, and when you press the button again, the effect 'reverb' and stems fx 'vocal' disconnected.

something like this, but it doesn't work: deck right effect_active 'reverb' & effect_stems 'vocal' on : effect_stems off


happened!!! it works: deck right effect_active 'reverb' ? effect_stems 'vocal' on : effect_stems off

now the question is how to register so that the button blinks when the effect is on and burns when it is off?

I used to have this: deck right effect_active 'reverb' ? blink 300ms ? color 'magenta' : off : color 'darkmagenta' now it doesn't work.
 

Inviato Wed 01 Mar 23 @ 11:44 am
@DJElementDJ

A maybe better script for the button may be:
deck right effect_active 'reverb' ? effect_stems 'vocal' off & effect_active 'reverb' off : effect_stems 'vocal' on & effect_active 'reverb' on


DJElementDJ wrote :
I used to have this: deck right effect_active 'reverb' ? blink 300ms ? color 'magenta' : off : color 'darkmagenta' now it doesn't work.

And your above script for the LED will work as posted.

 

Inviato Wed 01 Mar 23 @ 5:46 pm
locodog wrote :
How to add strings [append a tag example]

set_var string " text I want to add" & 
set temp `param_add 'get_var string' 'get_browsed_song comment'` &
get_var temp & param_cast 'text' & browsed_song "comment"


quick one, save the text I want to add,
set a temp var, adding the thing I want to add to the thing I want to add to
grab the var, cast it as text, cast it to the thing I want to change

or even briefer
set_var string " text I want to add" & 
get_text "`param_add 'get_var string' 'get_browsed_song comment'`" &
param_cast & browsed_song comment


even briefer still, and in the order that doesn't hurt my primitive brain
set_var string " text I want to add" & 
get_text "`browsed_song comment``get_var string`" &
param_cast & browsed_song comment


Love the scripting, and cannot get the 3rd script to append, instead it replaces, current comment with the " text I want to add".

Its the get_text "`browsed_song comment``get_var string`" that is not behaving.

Has something changed since the original post that broke it?
 

Inviato Wed 01 Mar 23 @ 5:58 pm
locoDogPRO InfinityModeratorMember since 2013
no just a typo, should be get_browsed....
 

Inviato Wed 01 Mar 23 @ 6:03 pm
yep just figured it out ... was going to post ..

Thanks Locodog !

Love all your clever ideas !
 

Inviato Wed 01 Mar 23 @ 6:05 pm
72%