Container and Variable assignment help Needed Please!

Post your Lemur Projects.
Post Reply
shimoda
Regular
Posts: 60
Joined: 26 Mar 2012 19:25

Container and Variable assignment help Needed Please!

Post by shimoda »

So I am trying to read presets in for an organ template I'm making. I have everything done except rreading/setting drawbars to match presets. I've tried to set global variables by creating expressions in the main Project folder, but scripts won't compile that i try to use to set those variables. Additionally, it doesn't seem as though lemur allows you to 'reach out' of a container into another container to set parameters. Can anyone help with this.

An example is I set a variable UM1 (for Upper Manual 1) UM1={0,0,0,0,0,0,0,0,0} to use as a starting point. When I try to set it using either UM1={8,8,8,8,0,0,0,0,0} or setexpression(Project, UM1, {8,8,8,8,0,0,0,0,0}); nothing will compile.
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

Re: Container and Variable assignment help Needed Please!

Post by Macciza »

Hi Shimoda
Containers and their objects are accessed via there hierarchy using 'dot notation' ie Container.Object.variable / Container.Pad.x . .

There are some tutorials around on setting up preset systems or perhaps check out some projects that use them . . .
Possibly it is the 'path' part that is causing the problem if they are inside containers - Container.UM1={,8,8,0......} should work.

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]
shimoda
Regular
Posts: 60
Joined: 26 Mar 2012 19:25

Re: Container and Variable assignment help Needed Please!

Post by shimoda »

Appreciate the reply. I've continued to mess with it and just put up the template without presets for now. I've tried that variation. I've also not had much luck finding good tutorials as mentioned in a few topics on this forum (none of which actually point to any tutorials when they are mentioned). I'll continue to comb through the user library trying to find things that do what I'm looking to do.
Phil999
Regular
Posts: 919
Joined: 11 Jan 2012 01:53

Re: Container and Variable assignment help Needed Please!

Post by Phil999 »

shimoda wrote:I've also not had much luck finding good tutorials as mentioned in a few topics on this forum (none of which actually point to any tutorials when they are mentioned). I'll continue to comb through the user library trying to find things that do what I'm looking to do.
this is exactly my experience, too. The new 3.1 manual is better than the previous one, but a lot of questions are still there. It's good to have this forum with experienced members like Macciza. Most questions get answered in a very educational way. I'm sure that eventually most of your problems with Lemur get solved.
Formant+Eurorack, PPG wave 2.2, Korg MS-20, etc., EWI 4000s, QuNeo, etc., Mixbus32c, u-he, MadronaLabs, Samplemodeling, NI, etc., iPad2/4/Pro
Post Reply