Search found 20 matches
- 05 Apr 2015 17:43
- Forum: General Discussion
- Topic: String Concatenation for dynamically selected arrays
- Replies: 5
- Views: 1537
Re: String Concatenation for dynamically selected arrays
You cannot get the content of an array by calling the array name - string concatenation is irrelevant to this. Thanks for the reply - not sure i understand what you mean by You cannot get the content of an array by calling the array name - string concatenation is irrelevant to this. Isn't monitor ...
- 05 Apr 2015 17:14
- Forum: General Discussion
- Topic: String Concatenation for dynamically selected arrays
- Replies: 5
- Views: 1537
String Concatenation for dynamically selected arrays
hi - in the manual: String Concatenation It is now possible to construct strings through concatenation. For example, the following produces the string ‘Fader2’: decl i = 2; decl name = "Fader" + i; I take this to mean if you had several arrays defined in your project (array1, array2, array3, etc) yo ...
- 12 Apr 2014 19:33
- Forum: General Discussion
- Topic: Assign Hit Regions in a loop
- Replies: 1
- Views: 848
Assign Hit Regions in a loop
HI - Using this script to create 8 squares and all works well except assigning a hit region for each one - am i missing a step? thanks! decl i,offy,offset; canvas_clear(c); for(i=0;i<8;i++){ if(i<4){ offy=0; offset=0; } else{ offy=150; offset=600; } canvas_setStrokeStyle(c, 0.5); canvas_setLineWidth ...
- 16 Dec 2013 13:48
- Forum: General Discussion
- Topic: performing function in 'while' loop
- Replies: 7
- Views: 1281
Re: performing function in 'while' loop
@Softcore - thanks for the detailed reply! I thought i was getting around that by having x toggle another variable - but i can see now why it doesn't work! I was thinking having a bunch of scripts set to onFrame wasn't very efficient so was looking for an alternative.
cheers!
cheers!
- 15 Dec 2013 16:36
- Forum: General Discussion
- Topic: performing function in 'while' loop
- Replies: 7
- Views: 1281
Re: performing function in 'while' loop
i think the milliseconds are decimal - and that part works fine - the delay works. the problem is it only sends the value when x becomes 0. As long as x==1, nothing is sent.
- 15 Dec 2013 14:05
- Forum: General Discussion
- Topic: performing function in 'while' loop
- Replies: 7
- Views: 1281
Re: performing function in 'while' loop
Yes, triggered on x.
- 15 Dec 2013 00:35
- Forum: General Discussion
- Topic: performing function in 'while' loop
- Replies: 7
- Views: 1281
performing function in 'while' loop
a bit perplexed on this one. have the following code in a Pad script to wait 2 seconds to perform a function. ztime and val are custom variables used to accomplish this. The two note-outs are sent - but only after the pad is released (x=0). I would expect the note-out info to be sent while the pad ...
- 01 Dec 2013 20:52
- Forum: General Discussion
- Topic: inverse of arraytostring()
- Replies: 0
- Views: 578
inverse of arraytostring()
any ideas on how to convert ascii to integers - reverse of arraytostring()
thanks!
thanks!
- 10 Jun 2013 13:26
- Forum: General Discussion
- Topic: Set multilabels via OSC
- Replies: 2
- Views: 1017
Re: Set multilabels via OSC
aha - i know once i posted it would become obvious - for anyone else who is curious...
simply
/Switches @labels test test2 test3 test4
simply
/Switches @labels test test2 test3 test4
- 10 Jun 2013 13:23
- Forum: General Discussion
- Topic: Set multilabels via OSC
- Replies: 2
- Views: 1017
Set multilabels via OSC
Hi - wondering if anyone knows how to format an OSC message so you changes the labels of a group of switches set to multilabel.
Was think it would be something like:
/Switches @labels {'test','test2','test3','test4'}
but no luck...
thanks!
Was think it would be something like:
/Switches @labels {'test','test2','test3','test4'}
but no luck...
thanks!