Search found 13 matches
- 21 Jun 2012 02:19
- Forum: General Discussion
- Topic: Creating a more efficient Lemur template.
- Replies: 4
- Views: 1282
Re: Creating a more efficient Lemur template.
Well, you have got the idea right. There is relatively significant overhead in an OSC message because of the text address strings that eat up a relatively large amount of bandwidth and then additionally require a relatively large amount of work to parse. So, sending an array of values instead of a ...
- 20 Jun 2012 06:14
- Forum: General Discussion
- Topic: assigning a .x value to a list.
- Replies: 8
- Views: 1726
Re: assigning a .x value to a list.
You need to add a script somewhere. Select it and change the execution to "On Osc". Set a custom address if you want. Then in the script you want to do this:
switch1.x = OSC_ARGS[0];
switch2.x = OSC_ARGS[1];
switch3.x = OSC_ARGS[2];
and so on.
switch1.x = OSC_ARGS[0];
switch2.x = OSC_ARGS[1];
switch3.x = OSC_ARGS[2];
and so on.
- 04 Feb 2012 19:55
- Forum: General Discussion
- Topic: Lemur editor HUGE memory bug
- Replies: 16
- Views: 6400
Re: Lemur editor HUGE memory bug
When you lose all your work without warning, it qualifies as "huge."
- 06 Jan 2012 05:07
- Forum: General Discussion
- Topic: switching scripts on and off
- Replies: 7
- Views: 2187
Re: switching scripts on and off
The file you posted works. I think you may get more what you are expecting if you change the execution type to "On Frame." "On expression" is only executed when the value of the expression changes, so your script only captures the value of the accelerometer at the moment the switch is activated. "On ...
- 06 Jan 2012 04:31
- Forum: General Discussion
- Topic: switching scripts on and off
- Replies: 7
- Views: 2187
Re: switching scripts on and off
The whitespace is not important, except for readability. What you wrote works if you change "};" to ";}" and remove the extra ) on the first line. But I'd recommend formatting it in an easier to read way, so that it is easier to make changes: if (Switches.x == 1) { Multiball.x = (accelerometer[1 ...
- 06 Jan 2012 03:20
- Forum: General Discussion
- Topic: Multifader advice - Ableton
- Replies: 4
- Views: 1288
Re: Multifader advice - Ableton
Yall are welcome. :D You can set as many things as you like. Just put them all inside the braces using a similar format. For example, this will set x values for a Fader and a Range also: if (x) { MultiSlider.x = range(sizeof(MultiSlider.x), 1, 1); Fader.x = 0.5; Range.x = {0, 1}; } Since the Fader ...
- 05 Jan 2012 02:51
- Forum: General Discussion
- Topic: Multifader advice - Ableton
- Replies: 4
- Views: 1288
Re: Multifader advice - Ableton
So let's say your button is a Pad object (or a Custom Button set to Pad behavior). Create a script on your pad or button. Set the script's execution to "On Expression", and in the field to the right, put "x". This means that any time the button's "x" value changes, the script will execute. In that ...
- 04 Jan 2012 02:39
- Forum: General Discussion
- Topic: Changin colors in multicolor mode
- Replies: 3
- Views: 2366
Re: Changin colors in multicolor mode
Multicolor is not very user friendly at the moment, so let me give you a really easy option that you can use if you aren't using the light values for anything else. Just setting light to {.5, 0, 0, 0} will highlight the 1st, 5th, 9th, 13th, 17th, etc pads by making them a little brighter than the ...
- 04 Jan 2012 02:09
- Forum: General Discussion
- Topic: Button sending different CC on/off help
- Replies: 3
- Views: 1277
Re: Button sending different CC on/off help
Controller is the CC#, value is the position of that controller. If you want the button to send two different positions on the same CC#, for example if you want to switch between two different filter positions on an instrument, then you should set the controller field to the CC# you want and the ...
- 04 Jan 2012 01:41
- Forum: General Discussion
- Topic: MIDI/float thinning
- Replies: 15
- Views: 4963
Re: MIDI/float thinning
The problem in your script: Your decl statement is redefining va1 and va2 every time. If you want a permanent variable, create an expression on the object. Use decl when you want a temporary variable for each individual execution of that script. Also, the not equals comparator is "!=". Another ...