-
gotascii
I have searched the forums here and read the concatenate posts and I've also tried playing about with l2s but I cannot seem to solve the following problem.
I need to append "/40h" to any incoming message...seems simple right? Here are some examples:
"/clear 0" is the incoming message and I need "send /40h/clear 0" as the output.
"/led 0 0 1" needs to be "send /40h/led 0 0 1"I have tried all kinds of different scenarios but cannot get this to happen. It seems like a simple prepend but that puts a space so I get things like "/40h /led 0 0 1". l2s will strip all spaces out so I get "/40h/led001". Anyone have any ideas, this has gotta be a fairly common task? Thanks!
-
gotascii
I was able to work this out myself after noodling it a bit more. Its strange...some of the easiest sounding tasks in Pd have proved to be the most challenging for a noob such as myself. In any case attached is the solution I came up with...it is probably much easier to do so I welcome any advice anyone might have
-
gotascii
I have been a programmer for a pretty long time...I just think better in script/OO as opposed to connecting wires to objects (something fairly new to my brain). For me, I can get some things done faster by writing a script.
-
gotascii
It looks like pyext will not load in Leopard...is there a way around this? Does Pd support javascript? Is anyone scripting Pd in Leopard? Any help would be appreciated, I'm totally new to Pd.
Thanks!!!