Quick Sign In:  

Forum: General Discussion

Topic: Script School - Page: 48
locoDog wrote :
Aren't you then just mapping to SHIFT+KEY ?

but if you mean to toggle just map shift button to the script you included.


Yes I thought to do whole new mapping. But it would be easier to have the existing mapping overscripted with the shift key.
 

Posted Tue 12 Nov 24 @ 10:22 pm
mg_1978PRO InfinityMember since 2008
Hi, is there a script to have sampler quantize? I would samples in beat with the song…thanks a lot
 

Posted Mon 25 Nov 24 @ 10:34 am
AdionPRO InfinityCTOMember since 2006
Recording samples follows the loop quantize setting
 

Posted Mon 25 Nov 24 @ 10:39 am
mg_1978PRO InfinityMember since 2008
Adion wrote :
Recording samples follows the loop quantize setting


in drop mode only tempo sync? right?

 

Posted Mon 25 Nov 24 @ 10:58 am
AdionPRO InfinityCTOMember since 2006
Yes, indeed for loop mode.
You could create the sample as loop and change to drop in sample editor if you really need quantized start for drops, but probably more rarely needed
 

Posted Mon 25 Nov 24 @ 11:43 am
mg_1978PRO InfinityMember since 2008
Hi, how i can map a controller button to 'stemswap bank' option? my script is:
setting 'stemswap bank' on ? setting 'stemswap bank' off : setting 'stemswap bank' on

but not work
thanks!
 

Posted Mon 02 Dec 24 @ 10:34 pm
indeed there's currently no script to do this. we'll add in the next build.
it will be
sampler_options 'stemswap'
(or
sampler_options 'locked'
to change the lock)
 

Posted Tue 03 Dec 24 @ 7:47 am
zanardPRO InfinityMember since 2003
Is there a script to turn the cover backwards?
"& param_invert" this works but not on the cover...
Thanks
 

Posted Tue 03 Dec 24 @ 8:31 am
locoDogPRO InfinityModeratorMember since 2013
No <cover> doesn't offer a direction, and I can't think of any other way to call cover art as a visual
 

Posted Tue 03 Dec 24 @ 8:55 am
mg_1978PRO InfinityMember since 2008
hi!
this script:
sampler_pad_page & param_cast ‘integer’ & param_equal ‘9’ ? action 2 : action 1
not correctly work (play only action 1)
why? where is error? thanks a lot
 

Posted Tue 03 Dec 24 @ 5:52 pm
sofitLE userMember since 2008
Hi all. Question. There is a goto_last_folder command. Is there a goto_last_sampler_bank? Or is it possible to implement this function in scripts?
 

Posted Mon 09 Dec 24 @ 4:36 pm
djkrysrPRO InfinityMember since 2010
Hi
On my skin I have added a floating window I can run on a separate touchscreen that contains a sample pad with 64 buttons. I am either DJing or providing sound for live acts, so my usage of the sample pad changes depending on what I am doing.
Since the latest update I have had to change my floating window to include <deck deck="master"> to make sure when pressing a sample on the pad, the correct sample plays, because if the right deck is selected and the pad page is NOT '1 - 8', the wrong sample slots plays

This is fine and everything works OK when working with acts, but I am really excited about the new sample features that have been added and would like to use them when DJing, but with my sample windows set to MASTER, you can't use with sample swap feature.

I have created a new layout that only shows when
(visibility="sampler_options 'stemswap') is true.
and this works, but only if you set the (specifically the right deck) pad page to 0, if it is anything else then the wrong sample plays when using the 'sample_pad' instruction.

i.e. if the sample pad is set to '9-12' then 'sample_pad 1' will play the sample in slot 9.
More strangely the 'color' returned using 'sampler_color' and 'sampler_position' also changes to 9 but other things on my button i.e
'get_sample_name'
'get_sample_info'
and 'sampler_volume'
are still using information for sample slot 1 so there is a confusing disconnect and you can't be sure what is going to happen without checking other screens with the relevant information.

If I use 'sample_play' or 'sample_play_stop' it will make sure the correct sample (1) is played but it no longer plays according to 'sampler_mode' which would be preferable.
At this point the only solution I can think of would be to have multiple buttons in my 'sampler button' class that each play differently then only show the one that corresponds to whatever 'sampler_mode' is active, which seems a bit long winded, and the sample color would still be wrong for that sample, plus I only know how to do 'play' 'play_stop' and 'play_stutter' to not sure how I would do 'unmute' or 'hold'.

EDIT: 'sampler_color' displays the color according to the pad page, 'get_sample_color' returns the ACTUAL color for the slot (i.e. 1) so solves that problem.

So is there a way 'sampler_pad' can be forced to use a specific pad page (ie 1-8).

Any other suggestions would also be welcomed.
 

Posted Mon 09 Dec 24 @ 4:57 pm
djkrysrPRO InfinityMember since 2010
I may have answered my own question, when sampler_swap is active on a bank I have created a button panel definition that has 3 buttons
'sampler_play_stop'
'sampler_play_stutter'
& 'sampler_play_stop' 'while_pressed'
and only show the appropriate button according to sample_mode, I skipped 'unmute' but since I don't use it I can live with that.

I was worried that 'sampler_play_stop' wouldn't work with 'sample_swap' the same way 'sample_pad' does but it appears to be working as expected.
I know the guys are still working on the new sampler so it may stop working or the original way may work later on but if nothing else it gave me more insight into how the sampler and the differences when using sampler_pad.

Any other pointers for anything I may have missed is still very welcome.
 

Posted Mon 09 Dec 24 @ 8:21 pm
locoDogPRO InfinityModeratorMember since 2013
@sofit nothing existing, you could make your own thing with a rsi, I'll pick at it because it's a little more involved that 1 value
 

Posted Mon 09 Dec 24 @ 10:26 pm
jrmsoundPRO SubscriberMember since 2024
I just watched the youtube video on scripting and I think im way out of my league.
Im trying to make a button that will fadeout the current song, pause and cue the next song in my automix playlist.

I would also like this button to work with the karaoke playlist. if this is possible please let me know.
thanks
John
 

Posted Tue 10 Dec 24 @ 3:49 pm
locoDogPRO InfinityModeratorMember since 2013
I really dislike writing scripts for automix, too may options come into play, karaoke makes it even worse.
 

Posted Tue 10 Dec 24 @ 4:37 pm
My annual thanks to all that help out on the forum (particularly locodog) and a question:

Is there a vdj script command to delete a (browsed) file that first moves the file into the recycle bin, so I can catch accidental deletions (rather than the hard delete)?
 

Posted Wed 11 Dec 24 @ 12:41 pm
locoDogPRO InfinityModeratorMember since 2013
You can't delete files with script, only with rightclick can you delete and then it's a operating system decision where the deleted file goes [recycling or hard delete]
 

Posted Wed 11 Dec 24 @ 6:18 pm
mg_1978PRO InfinityMember since 2008
hi, i have this problem, i have mapped a controller button “eq_mode +1” to change mixer knobs..but when use knobs in automatic mixer kobs return in low-mid-high function….mixer knobs are mapped:
eq_low
eq_mid
eq_high
this scripts are wrong?
thanks!
 

Posted Sat 14 Dec 24 @ 4:46 pm