Connexion rapide:  

Forum: General Discussion

Sujet Script School - Page: 9.85

Cette partie de ce topic est ancien et peut contenir des informations obselètes ou incorrectes

locoDogPRO InfinityModeratorMember since 2013
@twaga yes but not with dead on precision, even if you state 1000ms, it might happen in 995ms or 1005ms. It's a bit fuzzy.

off the top of my head, to get ms/b into a RS script
get_bpm & param_1_x & param_multiply 60000 & param_cast 'ms' & repeat_start 'Name' & ACTION STUFF

but since you can't include a counting param you have to manually stop the RS script
something like this is an example, however this can cause problems with an implicit being set
that is a different story

effect_active 'ducking echo' on & param_multiply "get_bpm & param_1_x" 60000 & param_cast 'ms' & repeat_start 'name' & play ? slip on & play_pause & cycle 'mCounter' 40 & var 'mCounter' 0 ? repeat_stop 'name' & effect_active 'ducking echo' off : nothing : play_pause & slip off & cycle 'mCounter' 40 & var 'mCounter' 0 ? repeat_stop 'name' & effect_active 'ducking echo' off : nothing 
 

Posté Mon 25 Jan 21 @ 1:55 pm
Good morning all,
I discover the world of djing and I have no concept in mapping.
I have a numark nv2 table and would like to modify it slightly to make it easier for me.

When I press the "sampler" button I would like to open my sample bank and assign 1 pad for each sample, but unfortunately the bank does not want to open. Once it is opened with the vdj the pads are well assigned but no function from the controller.

Second I have 2 cue menus and I would like the second menu to be a "piano" mode of my cues.
Thank you in advance to all
 

Posté Tue 26 Jan 21 @ 8:03 pm
NicotuxHome userMember since 2014
Sorry can't help with your request but I notice a bug in the mapping of the NV II
as this is in related KEY i found it important to report:
PAD_MODE_SAMPLER mapped to
pad_pages 4 ? holding ? pad_pages 19 : pad_pages 8 : pad_pages 8 : pad_pages 4
should be something else like
pad_pages 4 ? holding ? pad_pages 19 : pad_pages 8 : pad_pages 4

some tips for mapping pads and samples:

to open browser sampler tab:
sideview "sampler"
or
page sampler

to select sampler pad :
pad_page sampler

to open the bank of samples :
sampler_bank

moving a sample from browser to the sampler tab grid/list automatically affect it to the sampler padpage pad
(in grid mode the position have to be guess) and names do not always match in browser tab and pads
sideview_triggerpad
toggles (or can set on and off) between grid view and list view
 

Posté Tue 26 Jan 21 @ 10:56 pm
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.
 

Posté 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
 

Posté 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.


 

Posté 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
 

Posté 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


 

Posté 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


 

Posté 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 :-)
 

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

Posté 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?
 

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

Posté Sat 06 Feb 21 @ 12:11 am
 

Posté 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?
 

Posté 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" :
 

Posté 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.
 

Posté 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
 

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

Posté 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)
 

Posté Tue 16 Feb 21 @ 10:02 pm
21%