Quick Sign In:  

Forum: General Discussion

Topic: Script School - Page: 10

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

Question:

With 1 button: press and switch on sampler effect and press again then switch off sampler effect.

ej: effect_active sampler 'echo' ? effect_active sampler 'echo' on & effect_active sampler 'echo' off

It does not work.
 

Posted Wed 27 Jan 21 @ 1:28 pm
locoDogPRO InfinityModeratorMember since 2013
replies wrong way round, [*edit* your script hasn't an false reply to the query]

is SOMETHING on ? [yes it is] turn it off : [no it isn't] turn it on

the : is important.

your script as is, is asking
is SOMETHING ON ? [yes] turn it on AND turn it off [that's it, you don't give a no reply
 

Posted Wed 27 Jan 21 @ 1:29 pm
So?
effect_active sampler 'echo' on ? effect_active sampler 'echo' off : effect_active sampler 'echo' on

locodog wrote :
replies wrong way round, [*edit* your script hasn't an false reply to the query]

is SOMETHING on ? [yes it is] turn it off : [no it isn't] turn it on

the : is important.


 

Posted Wed 27 Jan 21 @ 1:34 pm
NicotuxHome userMember since 2014
in the absolute yes
but the verb effect_active is a toggle action
effect_active sampler 'echo'
is enough
 

Posted Wed 27 Jan 21 @ 1:43 pm
Thanks Nicotux.

Nicotux wrote :
in the absolute yes
but the verb effect_active is a toggle action
effect_active sampler 'echo'
is enough


 

Posted Wed 27 Jan 21 @ 2:09 pm
Thanks Locodog

locodog wrote :
replies wrong way round, [*edit* your script hasn't an false reply to the query]

is SOMETHING on ? [yes it is] turn it off : [no it isn't] turn it on

the : is important.

your script as is, is asking
is SOMETHING ON ? [yes] turn it on AND turn it off [that's it, you don't give a no reply


 

Posted Wed 27 Jan 21 @ 2:10 pm
skyzo76PRO InfinityMember since 2016
Hey ! I am triing step sequencer pad...BUt I already have a problem. For the get_beat_num division no problem but how to divide beat in 2 or 4 ? or maybe in triplet...? thanks in advance :-)
 

Posted Mon 01 Feb 21 @ 11:29 am
locoDogPRO InfinityModeratorMember since 2013
get_beat_bar 1
 

Posted Mon 01 Feb 21 @ 12:40 pm
Hi, does anyone know how to do the Richie Hawtin effect with the Virtual dj effects?

In Traktor it uses the tape delay capturing the sound and playing with the tonality.

But in Virtual dj we do not have the tape delay effect or the parameters that it has in the virtual dj delay.

Any suggestion?
 

Posted Fri 05 Feb 21 @ 10:37 pm
NicotuxHome userMember since 2014
 

Posted Sat 06 Feb 21 @ 12:11 am
 

Posted Sat 06 Feb 21 @ 6:41 am
mg_1978PRO InfinityMember since 2008
hi at all! i have this question: i have written script: action_deck 1 ? deck 1 sampler_bank ‘recordings bank’ : action_deck 2 ? deck 2 sampler_bank ‘instruments’ : nothing
(for have in pad_page ‘sampler’ about deck 1 and 2 two different sampler bank) but don’t work :( could do this?
 

Posted Tue 16 Feb 21 @ 2:41 pm
NicotuxHome userMember since 2014
there is only one sampler and have dynamic deck assignment so that your script can't work

action_deck 1 ? sampler_bank "Recording Banks" : action_deck 2 ? sampler_bank "Instruments" : nothing
work fine but may not do what you expect
it needs to be in both decks exactly the same as
button on deck 1: sampler_bank "Recording Banks"
button on deck 2: sampler_bank "Instruments"

maybe you better want
working depending on selected deck:
deck default get_deck 1 ? sampler_bank "Recording Banks" : get_deck 2 ? sampler_bank "Instruments" : nothing
or
working depending on the deck with higher level:
deck active get_deck 1 ? sampler_bank "Recording Banks" : get_deck 2 ? sampler_bank "Instruments" : nothing

or better a switchable repeat script doing it for you ?

repeat_start swsmp ? repeat_stop swsmp : repeat_start swsmp 48ms -1 & deck active get_deck 1 ? sampler_bank "Recording Banks" : get_deck 2 ? sampler_bank "Instruments" :
 

Posted Tue 16 Feb 21 @ 3:33 pm
Quick question:

Why does

deck left play ? color 'green' : color 'green' & blink

NOT cause a launchpad LED to blink, when the left deck is not playing? (above is the mapping for the LED, not the pad action)

The pad is green, just does not blink.
 

Posted Tue 16 Feb 21 @ 8:36 pm
NicotuxHome userMember since 2014
because blink is a query which is on or off depending on time
use
deck left play ? color green : blink ? color green
you may also use two colors
deck left play ? color green : blink ? color green : color darkgreen
 

Posted Tue 16 Feb 21 @ 9:01 pm
mg_1978PRO InfinityMember since 2008
@nicotux : doesn't work :(
 

Posted Tue 16 Feb 21 @ 9:37 pm
NicotuxHome userMember since 2014
use with a controller may differ specially with colors some have specific colors only
launchpad X mapping is recent and as said in the other thread update is coming

the above script is for use (and working) with skin pads
(in color tab) which mostly is the same as LED (depending on controller)
 

Posted Tue 16 Feb 21 @ 10:02 pm
Thank you Nicotux

Your solution worked perfectly..
Nicotux wrote :
because blink is a query which is on or off depending on time
use
deck left play ? color green : blink ? color green


Again Big Thanks




-------------------------
PS
and it was. MG_1978 that said it does not work,........and he never said what the script was for..

I believe everything works well with Launchpad X, the native definition did not also include the capability to utilize its Velocity touch features, and that is being added.


 

Posted Wed 17 Feb 21 @ 4:47 am
NicotuxHome userMember since 2014
That's the problem with multiple questions when tired :=)
sorry mg_1978 i answered the wrong post

as said you can't actually get 2 different samplers banks at a time because only one sampler exist
when selected both side sampler pads are linked to the sampler (always same bank)

i provided 3 scripts examples switching manually sample bank and one auto
which one doesn't work ? All?

They actually all work as expected here, so that maybe as IIDEEJAYII pointed out more explanation about what you are trying to achieve is needed

I agree showing different sample bank pages even not selected and switching on the fly would be nice
the same for pads : a way to display all 4 pages of selected padpage would be fine
 

Posted Wed 17 Feb 21 @ 8:10 am
mg_1978PRO InfinityMember since 2008
sorry! i have written ‘doesn’t work’ for Nicotux answer about my sampler question; your script (@Nicotux) yes works well for change sampler_bank....but not for my question; i would change 2 different sampler_bank about 2 decks, but i have understand that is NO possible in Virtual Dj (in Traktor Pro for example you can have one different bank in different deck....but is not Virtual Dj teory).... tanks a lot at all and this is a very 👍 forum
 

Posted Wed 17 Feb 21 @ 2:55 pm
21%