DUHHHHH......
Just started with Lemur yesterday. I had TouchOSC and ran squarely into the wall of NO SCRIPTING, anyway.
How would I define global variable arrays? Can I do multi-dimensional? I need 256 led states and 256 pad names (max 24 chars for each)
And will I run into memory issues with these variable sizes?
Is there a way to read a midi file on the Mac and use the results in a Lemur template?
TIA from a newborn Lemur user,
joeb
defining variables
defining variables
www.stoneagelighting.com
"old as dirt and made from rock..."
"old as dirt and made from rock..."
Re: defining variables
Hi
A good peruse of the manual will answer most of those questions . .
But basically, Yes, No and Maybe, some can scripted around . . .
Depending on exactly what you mean by 'read in' a midi file, it depends . . .
Hope that helps . . .
Cheers
MM
A good peruse of the manual will answer most of those questions . .
But basically, Yes, No and Maybe, some can scripted around . . .
Depending on exactly what you mean by 'read in' a midi file, it depends . . .
Hope that helps . . .
Cheers
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]
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
Re: defining variables
Keyword there being "GOOD". I took a lot more time with the manual today and did indeed find a lot of my issues explained. Still banging around but I do have about 75% of what I wanted to work, working.....
To explain what I mean (and this is going to be a long description, but complete) I am not exactly working with midi meant for playing music but with playing along with music/performances. I am writing a controller for a midi to DMX box which is used for lighting and stage effects. So as I am going thru rehearsal I can control and record scenes/sets. Yes there are already hardware solutions but IMNSHO they are un elegant and a real pain to use in a live environment. Plus none of the hardware is nearly as portable as an iPad. So I put together a TouchOSC interface but it was clunky because although I can walk around the set and get looks from various angles I currently have about 242 presets arranged into a set of 16 banks and with no scripting available it was a ton of very small objects. Not very usable in a live performance. Now I have a much more elegant controller but need to be able to record and play back what are in essence midi files. Since a lot of the performances are Ad-Hoc I need to be able to add or remove scene elements as I go. Each performance can contain from a couple of dozen to several hundred cue sets. I don't know if Lemur can store that much information so the next best thing would be to load a midi file that I had previously generated from my iPad controller.
Hope you're still here and I haven't put you to sleep.
Thanks for the response and any help you might be able to offer. I think Lemur is a terrific product and I'll eventually get over the learning bump.
FYI, although I have found a couple of workarounds the top items on my wish list are string manipulation (substr, concat) and multidimensional arrays.
And YES, a "GOOD" read of the manual DID help!
joeb
To explain what I mean (and this is going to be a long description, but complete) I am not exactly working with midi meant for playing music but with playing along with music/performances. I am writing a controller for a midi to DMX box which is used for lighting and stage effects. So as I am going thru rehearsal I can control and record scenes/sets. Yes there are already hardware solutions but IMNSHO they are un elegant and a real pain to use in a live environment. Plus none of the hardware is nearly as portable as an iPad. So I put together a TouchOSC interface but it was clunky because although I can walk around the set and get looks from various angles I currently have about 242 presets arranged into a set of 16 banks and with no scripting available it was a ton of very small objects. Not very usable in a live performance. Now I have a much more elegant controller but need to be able to record and play back what are in essence midi files. Since a lot of the performances are Ad-Hoc I need to be able to add or remove scene elements as I go. Each performance can contain from a couple of dozen to several hundred cue sets. I don't know if Lemur can store that much information so the next best thing would be to load a midi file that I had previously generated from my iPad controller.
Hope you're still here and I haven't put you to sleep.
Thanks for the response and any help you might be able to offer. I think Lemur is a terrific product and I'll eventually get over the learning bump.
FYI, although I have found a couple of workarounds the top items on my wish list are string manipulation (substr, concat) and multidimensional arrays.
And YES, a "GOOD" read of the manual DID help!
joeb
www.stoneagelighting.com
"old as dirt and made from rock..."
"old as dirt and made from rock..."
Re: defining variables
hi
Excellent - And I hoped you would . . .
Sounds like a quite cool project. I think the Lemur could be well suited to it.
There will be some limitations to the array size that you can get around with multiple arrays . . .
There are certainly ways to record your interactions within Lemur via scripting ...
The next thing to do is have a good look through a LOT of different projects to see what and how people have done different things.
I think the Liine team are working on all 3 of those and many people are similarly waiting or working ways around it.
It's also worth keeping it by your side when editing to check syntax etc when getting started . . .
Cheers
MM
Excellent - And I hoped you would . . .
Sounds like a quite cool project. I think the Lemur could be well suited to it.
There will be some limitations to the array size that you can get around with multiple arrays . . .
There are certainly ways to record your interactions within Lemur via scripting ...
The next thing to do is have a good look through a LOT of different projects to see what and how people have done different things.
I think the Liine team are working on all 3 of those and many people are similarly waiting or working ways around it.
It's also worth keeping it by your side when editing to check syntax etc when getting started . . .
Cheers
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]
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
Re: defining variables
Just when I think it's safe to go back into the water..............
I'm trying to get the text of a text object to be equal to a global variable. i've been at it using
CurBankName is the global, curBName is the text object
decl this;
this = getobject('curBName');
setattribute(this,'Text',CurBankName);
I have a Monitor watching the global change as it should but the text object remains unresponsive. By the way the script is part of a larger script which changes the global BEFORE the above code is executed so I know the script files correctly.
Any ideas????
THX,
joeb
I'm trying to get the text of a text object to be equal to a global variable. i've been at it using
CurBankName is the global, curBName is the text object
decl this;
this = getobject('curBName');
setattribute(this,'Text',CurBankName);
I have a Monitor watching the global change as it should but the text object remains unresponsive. By the way the script is part of a larger script which changes the global BEFORE the above code is executed so I know the script files correctly.
Any ideas????
THX,
joeb
www.stoneagelighting.com
"old as dirt and made from rock..."
"old as dirt and made from rock..."
Re: defining variables
Hi
Simple solution -the 'Property' is 'Text' but the 'Attribute' is 'Content' . . .
It's worth checking in the manual to make sure your syntax and namings are right . ..
Cheers
MM
Simple solution -the 'Property' is 'Text' but the 'Attribute' is 'Content' . . .
It's worth checking in the manual to make sure your syntax and namings are right . ..
Cheers
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]
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
Re: defining variables
Yup, figured it out by doing a Monitor with a getattributelist(object)
Thanks again!
Joe B
Thanks again!
Joe B
www.stoneagelighting.com
"old as dirt and made from rock..."
"old as dirt and made from rock..."