Quick Sign In:  

Forum: General Discussion

Topic: Question for a action code?
djjoe21PRO InfinityMember since 2006
I am currently using this code to save loops in my hot cue pad using this

saved_loop "Intro Loop" & cue_color 'Intro loop' "green" & Edit_poi

I always set this loop to the hotcue 5 pad. Right now I have to go to the poi editor as you can see to set it to hot cue 5 pad . Is there a way I can change this to automatically set to pad 5 without going to the poi editor?
 

Posted Mon 17 Jan 22 @ 11:19 pm
locodogPRO InfinityModeratorMember since 2013
I don't believe so, I have a win64 plugin that can do that kind of thing but it won't ever get a public release
 

Posted Mon 17 Jan 22 @ 11:36 pm
You can save your loop as "saved_loop 1", "saved_loop 2" e.t.c.
Then you can edit your hotcues pad page to something like this:
<pad1 name="`saved_loop 1 ? saved_loop_display 1 : cue_display 1`" color="saved_loop 1 ? loop_color 1 : cue_color 1" 	autodim="false" query="loop_load 1 ? loop_load_prepare 1 ? blink : on : hot_cue 1">saved_loop 1 ? loop_load 1 ? loop_load_prepare 1 : nothing : hot_cue 1 ? hot_cue 1 : loop ? loop_save 1 : hot_cue 1</pad1>
<shift_pad1 name="`saved_loop 1 ? get_text "LOAD/DEL LP 1" : has_cue 1 ? get_text 'DEL HC 1' : get_text ''`" color="saved_loop 1 ? loop_color 1 : cue_color 1" autodim="false">saved_loop 1 ? holding 500ms ? loop_delete 1 : loop_load 1 : has_cue 1 ? delete_cue 1 : nothing</shift_pad1>


Now the pads will
a) Save a loop if a loop is active when you press the pad
b) Call the saved loop when there is one saved

In other words any pad can hold either a hotcue or a saved loop.

At least that's my proposal to you.
 

Posted Tue 18 Jan 22 @ 11:50 am