Page 1 of 1

selected_loop_number

Posted: Sat May 05, 2012 6:27 am
by deegio
hello, I'm actually running the 1.6.14 version of SL in the GNUTUXguitar distribution and i cannot assign a loop number with the function because the function is global so it always select all the loops, there is no way to select just one of them and assign it to a midi binding, so maybe I don't know how to do, or the function have a bug, can you help me please? thank you!

Re: selected_loop_number

Posted: Mon May 07, 2012 12:58 pm
by kasbah
You need to set both values in the target range to the loop number you want to select (starting from 0 for the first). So for a binding to select the first loop the target range needs to be set to 0, 0. For the second loop you set the target range to 1,1. For the third 2,2 etc... if you do want a binding to select all loops, set the target range to -1,-1.

Hope this helps.

Re: selected_loop_number

Posted: Thu May 17, 2012 9:39 am
by deegio
Thank you very much kasbah! It works really well and is very effective. this function is for me one of the most powerful in the software regarding midi bindings.