Creating a setlist template

Discuss Lemur and share techniques.
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

Re: Creating a setlist template

Post by Macciza »

Hi
For your Prev script you could use this

Code: Select all

decl t;

t = current_tab;

if (t>0) //if not at  0 tab
{
t=t-1; // decrement peeeeeeeeeeeeeeeeeeeee
selecttab(Set,tab_index[t]);
current_tab = t;
}
else // if it is at the 0 tab
{
selecttab(Set,tab_index[sizeof(tab_index)-1]); // set tab to last element
current_tab = sizeof(tab_index)-1;
}
Then just have 1 current_tab var and 1 tab_index to deal with,

For the scenes - you already have the tab index and a trigger with the Next/Prev scripts so use them.
How do you want to sent the scene messages? Fit that into the script.

Hope that helps
MM
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
Inglev
Newbie
Posts: 8
Joined: 23 Feb 2012 16:37

Re: Creating a setlist template

Post by Inglev »

I tried making a CustomMidi with the controller as "tab_index+80" (making the CC's 80-89) and the trigger "next_song", but that just triggers the next_song script all the time... i spaces out...
I'll try to make a script with the "if" and "else" commands, sending different midi CC's depending on the sizeof(tab_index)...
Inglev
Newbie
Posts: 8
Joined: 23 Feb 2012 16:37

Re: Creating a setlist template

Post by Inglev »

Hi again.

I'm bringing up my old topic here, because I need help updating my template. I've used the template for a long time now, with the help of the scripting being shown to me ind this thread (again, thanks alot for the help Macciza!). Now I'm trying to add more songs to the "set" container, but this seems to bug out the "next" button I've made. The "Next" command wont go any further than song nr. 12, and the "Prev" button and command skips some songs. Can't really put my finger on the problem...

Hope some of you guys can help!

I'm starting to wonder if I should build up the whole template form the beginning again, this time placing songs in different pages, and not in a single container. Maybe the whole "Next" and "Prev" thing will be easier that way?

Also there seems to be a limit to the amount of characters you can put in an index. I cant put any more songs in the template, because the "tab_index" is filled up!

-Inglev
Attachments
Asbjorn2013.jzml
(79.25 KiB) Downloaded 58 times
Post Reply