hey i have had a time with getting some data to go across the network with osc
i can open a file in processing and send it to pd as a string and receive it as a string in pd but then can not get a table to take it as a list of floats. so now i have broken up the string in processing into individual floats, added each individual float to an osc message but now pd does not understand that the floats are even coming across as an osc message.
help I spent 2 days relearning the java array and fear to my mind exploding if i learn anything else
nevermind
got it figured out
.length gives me the number of Strings in a String array in java. this was the piece of info I was stuck on
got another question
[2 5.5 7 9 3( | [s mytable]
[table mytable]
why do I not get a write to mytable[0] with a 2 when i click the messagebox?
The 1st arg of the list is the position where to write in the table. you certainly want to add a 0 in front of the list. cheers c
Le 30/09/2012 04:11, Billy Stiltner a écrit :
got another question
[2 5.5 7 9 3( | [s mytable]
[table mytable]
why do I not get a write to mytable[0] with a 2 when i click the messagebox?
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
thank you very much Cyrille I figured that out after I pretended I was a table and read the tabwrite documentation I think, haha
now I am wondering if there is an udpreceive that works with osc messages that has an inlet to change the port without having to resort to hoodoo trickery
On Sun, Sep 30, 2012 at 3:37 AM, Cyrille Henry ch@chnry.net wrote:
The 1st arg of the list is the position where to write in the table. you certainly want to add a 0 in front of the list. cheers c
Le 30/09/2012 04:11, Billy Stiltner a écrit :
got another question
[2 5.5 7 9 3( | [s mytable]
[table mytable]
why do I not get a write to mytable[0] with a 2 when i click the messagebox?
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 09/30/2012 09:48 AM, Billy Stiltner wrote:
thank you very much Cyrille I figured that out after I pretended I was a table and read the tabwrite documentation I think, haha
now I am wondering if there is an udpreceive that works with osc messages that has an inlet to change the port without having to resort to hoodoo trickery
iemnet's [udpreceive] implementation allows this.
fgmadsr IOhannes
thank you IOhannes m zmölnig now I can assign a port per synth, I'm not sure it is a good idea now
On Sun, Sep 30, 2012 at 7:06 AM, IOhannes m zmölnig zmoelnig@iem.at wrote:
On 09/30/2012 09:48 AM, Billy Stiltner wrote:
thank you very much Cyrille I figured that out after I pretended I was a table and read the tabwrite documentation I think, haha
now I am wondering if there is an udpreceive that works with osc messages that has an inlet to change the port without having to resort to hoodoo trickery
iemnet's [udpreceive] implementation allows this.
fgmadsr IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Thanks again something weird I noticed that I could type [udpreceive] without port number and it gave me an object with 3 outlets till the patch was reloaded then I had to make it like this [iemnet/udpreceive] before it would load I guess it all depends on the stuff in startup
On Sun, Sep 30, 2012 at 10:13 AM, IOhannes m zmölnig zmoelnig@iem.at wrote:
On 09/30/2012 01:24 PM, Billy Stiltner wrote:
thank you IOhannes m zmölnig now I can assign a port per synth, I'm not sure it is a good idea now
i don't think this is a good idea. instead, use an OSC-prefix for each synth: /FM/1/... /FM/2/... /Drone/...
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hello Billy, hello pd-list,
sorry to interfere into this interesting discussion... I making another topic so it shouldn't be embarrassing...
[iemnet/udpreceive] before it would load I guess it all depends on the stuff in startup
I use to remove all the stuff at startup and use this namespace/ stuff, or even better, the [declare] thingy in main patches, then it's easier to figure out what's happening.
It would be cool to have this in help files, maybe it's not the best approach, but it's the best one I've found out.
----- Original Message -----
From: Patrice Colet colet.patrice@free.fr To: pd-list pd-list@iem.at Cc: Sent: Sunday, September 30, 2012 1:50 PM Subject: [PD] namespaces in help files [was: Re: [pd] osc processing array to the pd table]
Hello Billy, hello pd-list,
sorry to interfere into this interesting discussion... I making another topic so it shouldn't be embarrassing...
[iemnet/udpreceive] before it would load I guess it all depends on the stuff in startup
I use to remove all the stuff at startup and use this namespace/ stuff, or even better, the [declare] thingy in main patches, then it's easier to figure out what's happening.
It would be cool to have this in help files,
That shouldn't be necessary if the author uses the libdir format because the binaries are in the same directory as the help files and Pd looks there first for the objects.
Unfortunately that same behavior doesn't apply for abstractions but it should.
-Jonathan
maybe it's not the best approach, but it's the best one I've found out.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
De: "Jonathan Wilkes" jancsika@yahoo.com
I use to remove all the stuff at startup and use this namespace/ stuff, or even better, the [declare] thingy in main patches, then it's easier to figure out what's happening.
It would be cool to have this in help files,
That shouldn't be necessary if the author uses the libdir format because the binaries are in the same directory as the help files and Pd looks there first for the objects.
Unfortunately that same behavior doesn't apply for abstractions but it should.
Hi Jonathan, and thanks for answering,
most of the nice pdx stuff isn't in libdir format, like iem and Gem, the last isn't so hard to fix, it's a just a single word to put in startup file, but the first is full of helpfiles where many different objects from different libs couldn't be created, some even crashes pd (win32 still, 20120720 version).
Also the main problem isn't really about figuring out what's happening in patches, but something that has been often debated in the list, conflictual objects, same name but different behaviors, like [counter] for example, is this has been solved after all?
From: Patrice Colet colet.patrice@free.fr To: pd-list pd-list@iem.at Cc: Jonathan Wilkes jancsika@yahoo.com Sent: Sunday, September 30, 2012 9:06 PM Subject: Re: [PD] namespaces in help files [was: Re: [pd] osc processing array to the pd table]
De: "Jonathan Wilkes" jancsika@yahoo.com
I use to remove all the stuff at startup and use this namespace/ stuff, or even better, the [declare] thingy in main patches, then it's easier to figure out what's happening.
It would be cool to have this in help files,
That shouldn't be necessary if the author uses the libdir format because the binaries are in the same directory as the help files and Pd looks there first for the objects.
Unfortunately that same behavior doesn't apply for abstractions but it should.
Hi Jonathan, and thanks for answering,
most of the nice pdx stuff isn't in libdir format, like iem and Gem,
I opened up iemlib and iemmatrix in the browser of Pd-extended 0.43 and it looks like the binaries are in the same dir as the help patches. Are there some iem* libs that aren't like this?
the last isn't so hard to fix, it's a just a single word to put in startup file, but the first is full of helpfiles where many different objects from different libs couldn't be created, some even crashes pd (win32 still, 20120720 version).
Did you file a bug report for the crashes?
As for help patches using objects from different libs-- they should probably add [import] for those objects, or better yet use Vanilla objects instead. (But I know that can't be done for everything-- some help patches use stuff like [grid] for an example patch.)
Also the main problem isn't really about figuring out what's happening in patches, but something that has been often debated in the list, conflictual objects, same name but different behaviors, like [counter] for example, is this has been solved after all?
I'm not sure of the current status of this problem or the road map to fixing it.
-Jonathan
The first number is the value and the second number is the position.
Ingo
The 1st arg of the list is the position where to write in the table. you certainly want to add a 0 in front of the list. cheers c
Le 30/09/2012 04:11, Billy Stiltner a écrit :
got another question
[2 5.5 7 9 3( | [s mytable]
[table mytable]
why do I not get a write to mytable[0] with a 2 when i click the
messagebox?
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list