Connexion rapide:  

Forum: General Discussion

Sujet Script School - Page: 21.55
mg_1978PRO InfinityMember since 2008
Nicotux wrote :
yes
but mic is a deck and can use all effects directly (only need to map a custom slider to handle first slider as a color slider)

colorfx_sampler is an existing slot for samples
as well need to specifically map a slider to control it, default deck does not expose this

sorry colorfx_sampler script doesn’t work, is possible it’s effect_colorfx ‘sampler’???

 

Posté Sat 13 Nov 21 @ 7:39 pm
NicotuxHome userMember since 2014
as a "slot" use
effect_select colorfx_sampler
effect_slider colorfx_slider
 

Posté Sat 13 Nov 21 @ 11:09 pm
mg_1978PRO InfinityMember since 2008
Nicotux wrote :
Svenino wrote :
Want a button with two functions:
1. short press: start and stop the sampler (sample_pad 1)
2. long hold: Set a "Var" for volume change of this sampler without starting or stoping it.
(Holding this button is like a shift, so that a slider can control the volume of this sampler, but just as long You are holding the button)

After a looong time fighting with VDJScript here is a working one:
deck master up ? set '$s1v' 0 & repeat_start myrep ? sampler_play_stop 1 & repeat_stop myrep : : repeat_start myrep 200ms 1 & set '$s1v' 1


tested deck master to try to sync sampler_play_stop

if not , free to use sampler_pad instead

hi! i’m going back to this old post because i would know how i change if i wont ‘$s1v’ = 1 after 200ms pressed pad, if i release pad before 200ms i have sampler_pad script (‘$s1v’ = 0)
thanks


 

Posté Mon 15 Nov 21 @ 3:28 pm
I am trying to figure out how to program a pad button that will create an Action cue at the current song position and then write specific text to the Macro action field of that Action cue.

Any and all suggestions and help are appreciated.

FYI: I do know basic VDJ script.

Thank you

 

Posté Mon 15 Nov 21 @ 5:58 pm
locoDogPRO InfinityModeratorMember since 2013
@DJ Riot Grrrl, I've got the thing for you. Needs a plugin to add action scripts. And what the action is going to be is very opened

this is my working for action poi for OS2L, use subtitles, but can be tweaked to do any action

PM or chat here, on the sort of thing you want to add
 

Posté Mon 15 Nov 21 @ 6:29 pm
golnarPRO InfinityMember since 2016
Hey guys,

I am using the Inpulse 500 with VDJ 2021. There I have 4 FX Buttons. Two left and two right. On Click I want the left buttons to activate a certain filter on DECK 1 and the right Buttons to activate a certain filter on DECK 2. If the filter is activated it should be deactivated. I tried coding it my self. But I failed. Can some help me:

On Click:
Case 1: Filter X is not activated. Filter X gets activated.
Case 2: Filter X is activated. Filter X get deactivated.

Can you tell me how I can do this? Also I have two knobs for the filters. What is the right code for the knob to change the filter?

Thank you so much in advance!!!
 

Posté Fri 19 Nov 21 @ 10:35 am
locoDogPRO InfinityModeratorMember since 2013
 

Posté Fri 19 Nov 21 @ 12:48 pm
mg_1978PRO InfinityMember since 2008
hi. is there a script for push browser encoder that make:
browser_folder if folder have subfolders, if folder haven’t subfolders go to browser_windows ‘songs’
thanks
 

Posté Mon 22 Nov 21 @ 11:21 pm
locoDogPRO InfinityModeratorMember since 2013
like this
browser_open_folder & browser_open_folder ? : browser_enter
 

Posté Mon 22 Nov 21 @ 11:55 pm
mg_1978PRO InfinityMember since 2008
mg_1978 wrote :
hi! i have mapped an encoder that move a sample in sideview ‘sampler’ with var ‘samplermove’ 1:
encoder: browser_window ‘sampler’ ? var ‘samplermove’ 1 ? param_smaller 0 ? browser_move -1 : browser_move +1 : nothing : nothing
but, for example, if i move sample 1 to 3 position and i play with pad 3 i can’t listen new sample in position 3, but i listen old sample 3 :( is not a really moving with script ‘browser_move’?
thanks who help me


solved :) with script:
encoder: param_smaller 0 ? sampler_select & sampler_move -1 : sampler_select & sampler_move + 1

but with sampler_select is open a window..with a script can i close this window?
i would post a little video but i can’t upload here :(

 

Posté Tue 23 Nov 21 @ 9:40 am
locoDogPRO InfinityModeratorMember since 2013
???
sampler_move -1 isn't a script, you mean browser_move?
why call sampler_select at all?
 

Posté Tue 23 Nov 21 @ 10:03 am
mg_1978PRO InfinityMember since 2008
-sorry, is browser_move -1 / browser_move +1
- sampler_select yes is generic (at all) because if i script: param_smaller 0 ?sampler_select 1 & browser_move -1 : sampler_select 1 & browser_move +1
(1 is an sxample) i can move only sample in slot 1..i wont move any sample focused, but sampler_select open a popup window...can i close this popup window with a script?
 

Posté Tue 23 Nov 21 @ 12:43 pm
locoDogPRO InfinityModeratorMember since 2013
so don't use sampler_select.
use, browser_window 'sampler' & browser_scroll 'top' & browser_scroll +X & browser_move +1

a lot of the time that is scripting, sometimes there's knowing a nice easy concise action, most times however, you do it in steps.
 

Posté Wed 24 Nov 21 @ 6:37 pm
since the stock echo isnt a good echo I need a script that i can assign to a button that activates a solo vocal stem, then turns on BFX-Echo and the stock echo. The BFX-Echo should turn off after the timing set in the BFX-Echo settings with the stock echo acting as it normally does.
 

Posté Thu 25 Nov 21 @ 2:26 pm
locoDogPRO InfinityModeratorMember since 2013
What have you tried?
 

Posté Thu 25 Nov 21 @ 3:31 pm
locodog wrote :
What have you tried?
I got the echo part deck left effect echo active

 

Posté Thu 25 Nov 21 @ 4:54 pm
locoDogPRO InfinityModeratorMember since 2013
So tried not much. [given you just copied v7 script from your controller]

stem solo you've been shown recently [search stem in the mapping window if you can't remember], the fx(s) active you know [but v8 syntax is effect_active "Name" ] the only thing that isn't straight forward is the fx off timing by an fx setting, that will be a list of queries against the fx buttons, when true start a single repeat_start with a bt for the time parameter

....effect_button "BFX-Echo" 1 ? repeat_start 'NAME' 0.125bt 1 & TURN BFX OFF : QUERY SECOND BUTTON etc

I can't see this being what you're after bfx doesn't trail on stop, so bt being same as fx, you're just feeding the stock echo with extra steps.
 

Posté Thu 25 Nov 21 @ 5:44 pm
actually Im feeding the stock echoe the the echo i like which makes the bfx echo the echo trails the made by the stock echo. giving me the volume of the echoe that I need when transitioning or even with just using the echoe during the song.

 

Posté Thu 25 Nov 21 @ 6:02 pm
mg_1978PRO InfinityMember since 2008
locodog wrote :
like this
browser_open_folder & browser_open_folder ? : browser_enter


thanks! but isn't completely what i would, because after opened a folder with subfolder. focus is in browser_window 'songs' and not only open a folder with subfolder, bit if focus is in subfolder....yes it can move to browser_window 'songs'
 

Posté Thu 25 Nov 21 @ 10:12 pm
locoDogPRO InfinityModeratorMember since 2013
Not an easy script, I don't know how you get me for the money.

set '$tab' `get_browsed_folder_tab` & browser_open_folder & repeat_start 'name1' 50ms 1 & browser_scroll +1 & param_equal `get_browsed_folder_tab` `get_var '$tab'` ? browser_scroll -1 & browser_enter : param_bigger `get_browsed_folder_tab` `get_var '$tab'` ? browser_scroll -1 & browser_enter : browser_scroll -1
 

Posté Fri 26 Nov 21 @ 10:51 am
47%