SwitchPad (former Mackie button, and some thoughts)
Posted: 12 Mar 2013 13:54
Ok...First of all, my former Mackie Button had a serious coding flaw which made it impossible to duplicate (or copy paste) in a template. This would result in "breaking" the scripts inside and make the button dysfunctional
This is a switch/pad module that sends 127 then 0 (like a pad) although visually it looks like a switch - it has a visually on and off toggle state. it also "reacts" to incoming midi messages as a "switch" and not as a pad.
Following the discussion here, I thought of making it an "enclosed" object (with locked container) that reacts to expression x by other Lemur objects as one would expect .
The problem is.......it becomes quite heavy. It takes only 2 of the "enclosed" objects to reach 1% of reported memory in the editor. For reference, it takes 4 of the initial Mackie Button to reach that level and it takes around 9 factory object pads to reach 1%.
Here are both the modules......
To use this one map the expressions out and y.....be careful no tto accidentally "tick" the "y" expression - we dont need it to send midi messages, it is obly mapped to receive messages. You cant adress it with other Lemur objects directly (by setting its x expression) and its not of the "enclosed" nature talked about.
this one is the heavy, enclosed one. You can control it with other Lemur objects by setting the x expression (notice it still is a pad)....You can map it by changing the "cc" and "ch" expressions and you can even change its color directly from the top level - no need to unlock the container and do stuff. Other objects of Lemur can also get output from it by using either the "SwitchOut" or the "PadOut" expressions.
But as I said, its heavier than the first one. Ultimately I believe its not worth it to have an elegant object if that objects occupies nearly double the memory of Lemur than a similar other one.....
Wating for your thoughts on this subject!
This is a switch/pad module that sends 127 then 0 (like a pad) although visually it looks like a switch - it has a visually on and off toggle state. it also "reacts" to incoming midi messages as a "switch" and not as a pad.
Following the discussion here, I thought of making it an "enclosed" object (with locked container) that reacts to expression x by other Lemur objects as one would expect .
The problem is.......it becomes quite heavy. It takes only 2 of the "enclosed" objects to reach 1% of reported memory in the editor. For reference, it takes 4 of the initial Mackie Button to reach that level and it takes around 9 factory object pads to reach 1%.
Here are both the modules......
To use this one map the expressions out and y.....be careful no tto accidentally "tick" the "y" expression - we dont need it to send midi messages, it is obly mapped to receive messages. You cant adress it with other Lemur objects directly (by setting its x expression) and its not of the "enclosed" nature talked about.
this one is the heavy, enclosed one. You can control it with other Lemur objects by setting the x expression (notice it still is a pad)....You can map it by changing the "cc" and "ch" expressions and you can even change its color directly from the top level - no need to unlock the container and do stuff. Other objects of Lemur can also get output from it by using either the "SwitchOut" or the "PadOut" expressions.
But as I said, its heavier than the first one. Ultimately I believe its not worth it to have an elegant object if that objects occupies nearly double the memory of Lemur than a similar other one.....
Wating for your thoughts on this subject!