Accesso rapido:  

Forum: General Discussion

Topic: Script School - Page: 21

Questa parte dell'argomento è obsoleta e potrebbe contenere informazioni obsolete o errate

mg_1978PRO InfinityMember since 2008
in this script

repeat_stop scorri & browser_gotofolder 'sampler://recordings' & repeat_start scorri 100ms -1 & get_text "`get_status`" & param_contains 'Browsing' ? : repeat_stop scorri & browser_enter & browser_scroll top & file_count & param_cast & repeat_start scorri 100ms & browser_scroll +1

where i can add a var ‘sequencerfull’ = 1 if in browser_window ‘songs’ (files scroll) there is a file with title ‘Sequencer8’???
i have tryed that get_browsed_song and param_equal ‘Sequencer8’ is correct script to test file name but i don’t understand where i can add this script fod set var ‘Sequencer8’ = 1
can you help me?
thanks!!
 

Inviato Thu 04 Nov 21 @ 6:38 pm
NicotuxHome userMember since 2014
repeat_stop scorri & browser_gotofolder 'sampler://recordings' & repeat_start scorri 100ms -1 & get_text "`get_status`" & param_contains 'Browsing' ? : repeat_stop scorri & browser_enter & browser_scroll top & set sequencerfull 0 & file_count & param_cast & repeat_start scorri 100ms & set sequencerfull `get_browsed_song title & param_equal Sequencer8 ? true : get_var sequencerfull` & browser_scroll +1

better use global var $sequencerfull though in case deck change
 

Inviato Thu 04 Nov 21 @ 6:56 pm
mg_1978PRO InfinityMember since 2008
you’re the top!! it’s work! is there a script to make a button to change the ‘filename’ about a sampler in browser_window ‘songs’ (samples that are in ‘Sampler://Recordings’ folder)?? because browser_songs ‘title’ ‘newname’ changes only the sample title, but not the filename..and browsed_file_rename ‘newname’ doesn’t change directly ‘filename’ but open a ‘change name window’…i would change filename directly with a controller button…can you help me? thanks!!

moderator: Please don't quote entire posts when that post is directly above yours, It just makes a thread a chore to read.
 

Inviato Fri 05 Nov 21 @ 7:41 am
NicotuxHome userMember since 2014
No there is no way to do anything with filenames
VDJ does not allow direct folder or file manipulation by script. (create, delete, rename can't be done by script)
Even recording (only place you can specify a recordFile) need accept by button to be pressed
 

Inviato Fri 05 Nov 21 @ 1:41 pm
mg_1978PRO InfinityMember since 2008
can you help me with this script about Pioneer DDj-Rzx release fx lever; this lever have 3 position: 0%, 43% and 100% (this is the numbers that i see in mapping section (see in photo)….

fx lever: param_bigger 40% ? param_smaller 50% ? effect_select 1 ‘beat grid’ & effect_select 2 ‘rmx-echo’ & effect_slider 1 1 50% & effect_slider 2 1 30% & effect_select 3 ‘cut’ & effect_active 3 off & effect_active 1 on & effect_active 2 on : effect_select 3 ‘cut’ & effect_slider 3 1 40% & effect_active 3 on & repeat_start_instant ‘wait’ 4000ms & effect_disable all : repeat_stop ‘wait’ & effect_select 1 ‘mobius’ & effect_select 2 ‘reverb’ & effect_select 3 ‘phaser’

i would that in 0% position reset at my 3 favourite effect (mobius, reverb, phaser); in 43% lever position effects active are beat grid and rmx-echo and in 100% lever position add cut effect, but if i’m in 43% lever position and beat grid effect finish…rmx-echo stops…and if i’m in 100% lever position and beat grid effect finish, rmx-echo and cut effects stops too…i have set repeat_start_instant 4009ms because i have seen that beat grid effect during (lasts) 4 sec; but in this mode only in 43% lever position work well..in 100% lever position i haven’t any effect :
 

Inviato Thu 11 Nov 21 @ 12:13 pm
mg_1978PRO InfinityMember since 2008
hi at all: is there color fx for sampler or mic input? i have tryed filter_activate ‘echo’ ‘sampler’ but don’t work….deck master filter_activate ‘echo’ work
 

Inviato Sat 13 Nov 21 @ 6:04 pm
locoDogPRO InfinityModeratorMember since 2013
just the single sampler fx slot for the sampler, unless you route it thru a deck.
 

Inviato Sat 13 Nov 21 @ 6:29 pm
mg_1978PRO InfinityMember since 2008
locodog wrote :
just the single sampler fx slot for the sampler, unless you route it thru a deck.


for mic input i can use linein ‘mic’ for route a mic into a deck and use deck color fx, right?
 

Inviato Sat 13 Nov 21 @ 6:46 pm
NicotuxHome userMember since 2014
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
 

Inviato Sat 13 Nov 21 @ 6:51 pm
mg_1978PRO InfinityMember since 2008
another little question: filter_resonance change value only for filter color fx, right? for other color fx i can’t listen any difference….
 

Inviato Sat 13 Nov 21 @ 7:03 pm
NicotuxHome userMember since 2014
yes resonance is a second slider specific to filter effect
as an example: moebius exposes 2 extra sliders as well : length and echo
but only slider 1 is controlled as a color button - full left-off-full right

when used as normal effect, slider 1 is controlled normally or ping-pong inverse have to be specified in a way to mimix color slider
 

Inviato Sat 13 Nov 21 @ 7:25 pm
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’???

 

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

Inviato 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


 

Inviato 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

 

Inviato 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
 

Inviato 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!!!
 

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

Inviato 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
 

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

Inviato Mon 22 Nov 21 @ 11:55 pm
45%