hi list, any hint, how can i create GUI stuff with messages sent to a subpatch?
regards, mirko
Mirko Maier wrote:
hi list, any hint, how can i create GUI stuff with messages sent to a subpatch?
hi mirko
basically you can send a msg such as
obj 84 80 vsl 15 128 0 127 0 0 send-name receive-name empty 0 -9 0 10 -262144 -1 -1 0 1;
to [s pd-yoursubpatchname]
(which would create a slider)
described in Help/manualy/pd-msg/1.msg_and_patch/
i find it useful to create the wanted gui in a patch, save it and open it in a text editor to find out the correct syntax.
good luck
eni
#N canvas 67 22 711 648 10; #X text 42 13 To add an object into patch just send a message to the patch itself :; #X msg 42 49 msg 500 10 bang; #X text 42 98 The selector should be "msg" , "floatatom" , "obj" , "text" , "array" , "symbolatom" , "scalar" and "graph"; #X text 224 53 <= Click here first; #X text 42 279 For connecting objects use the selector "connect". it take 4 arguments : the number of the first object , the number of the outlet , the number of the second object , and the number of the inlet :; #X text 207 232 <= and here; #X text 236 204 <= Then click here (and have a look to the properties of the object created); #X text 193 348 <= click here <= and here; #X text 42 437 And now the end of this exemple :; #X text 42 143 The next 2 numbers are X & Y position in the canvas. Then it's a symbol for the name of the obj , the content of the msg , etc... and some additionals parameters.; #X msg 42 205 floatatom 600 10 7 50 5000; #X msg 42 230 obj 500 40 metro 500; #X msg 42 482 obj 500 70 random 127; #X msg 42 532 floatatom 500 100 5; #X msg 42 582 text 500 130 That's it !; #X text 16 53 1; #X text 20 204 2; #X text 20 226 3; #X text 18 348 4; #X text 18 370 5; #X text 20 483 6; #X text 20 509 7; #X text 20 532 8; #X text 19 556 9; #X text 14 582 10; #X text 276 530 !!! W A R N N I N G !!! It's very important to respect the order the objects are created. If you don't the "connect" selector won't work correctly. If you are not sure , reload this patch and try again.; #X msg 43 349 connect 34 0 36 0; #X msg 43 374 connect 35 0 36 1; #X msg 42 507 connect 36 0 37 0; #X msg 42 557 connect 37 0 38 0; #X obj 42 74 s pd-1.add_objects.pd; #X obj 42 255 s pd-1.add_objects.pd; #X obj 43 399 s pd-1.add_objects.pd; #X obj 42 612 s pd-1.add_objects.pd; #X connect 1 0 30 0; #X connect 10 0 31 0; #X connect 11 0 31 0; #X connect 12 0 33 0; #X connect 13 0 33 0; #X connect 14 0 33 0; #X connect 26 0 32 0; #X connect 27 0 32 0; #X connect 27 0 32 0; #X connect 27 0 32 0; #X connect 27 0 32 0; #X connect 28 0 33 0; #X connect 29 0 33 0;
hi enrique, thank you very much. but what about a canvas? that would be my main interest. can it be created with "obj 10 10 ....." ?
mirko
-------- Original-Nachricht --------
Datum: Sat, 05 Jan 2008 13:35:52 +0100 Von: Enrique Erne enrique@netpd.org An: Mirko Maier mirkom@gmx.de CC: pd-list@iem.at Betreff: Re: [PD] dynamic patching - gui
Mirko Maier wrote:
hi list, any hint, how can i create GUI stuff with messages sent to a subpatch?
hi mirko
basically you can send a msg such as
obj 84 80 vsl 15 128 0 127 0 0 send-name receive-name empty 0 -9 0 10 -262144 -1 -1 0 1;
to [s pd-yoursubpatchname]
(which would create a slider)
described in Help/manualy/pd-msg/1.msg_and_patch/
i find it useful to create the wanted gui in a patch, save it and open it in a text editor to find out the correct syntax.
good luck
eni
Hallo, Mirko Maier hat gesagt: // Mirko Maier wrote:
thank you very much. but what about a canvas? that would be my main interest. can it be created with "obj 10 10 ....." ?
Yes, it's the same principle. Pd files are actually just a collection of messages send to Pd itself, so just open them in a text editor to see what kinds of messages you could send.
Frank Barknecht _ ______footils.org__
Hi ! Can we dynamically resize the Graph-on-parent size of an abstraction ?
a
2008/1/5, Frank Barknecht fbar@footils.org:
Hallo, Mirko Maier hat gesagt: // Mirko Maier wrote:
thank you very much. but what about a canvas? that would be my main interest. can it be created with "obj 10 10 ....." ?
Yes, it's the same principle. Pd files are actually just a collection of messages send to Pd itself, so just open them in a text editor to see what kinds of messages you could send.
Ciao
Frank Barknecht _ ______footils.org__
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hallo, IOhannes m zmoelnig hat gesagt: // IOhannes m zmoelnig wrote:
Alexandre Quessy wrote:
Hi ! Can we dynamically resize the Graph-on-parent size of an abstraction ?
yes. this should be in the archives of this list (as i cannot remember exactly how it was done)
[donecanvasdialog]. The recently updated honk-abstractions contain an example. Of course this is all officially unsupported, so one should not depend on it too hard.
Frank Barknecht _ ______footils.org__
Frank Barknecht a écrit :
Hallo, IOhannes m zmoelnig hat gesagt: // IOhannes m zmoelnig wrote:
Alexandre Quessy wrote:
Hi ! Can we dynamically resize the Graph-on-parent size of an abstraction ?
yes. this should be in the archives of this list (as i cannot remember exactly how it was done)
[donecanvasdialog]. The recently updated honk-abstractions contain an example. Of course this is all officially unsupported, so one should not depend on it too hard.
Ciao
dynamic resizing of a GOP is just horrible, the widget redrawing is very slow
yes canvas is also possible. u can see the syntax when opening the cnvtest.pd (attached) in a text-editor
it's something like obj 63 71 cnv 15 100 60 empty empty i'm_the_label 20 12 0 14 -233017 -66577 0
Mirko Maier wrote:
hi enrique, thank you very much. but what about a canvas? that would be my main interest. can it be created with "obj 10 10 ....." ?
mirko
-------- Original-Nachricht --------
Datum: Sat, 05 Jan 2008 13:35:52 +0100 Von: Enrique Erne enrique@netpd.org An: Mirko Maier mirkom@gmx.de CC: pd-list@iem.at Betreff: Re: [PD] dynamic patching - gui
Mirko Maier wrote:
hi list, any hint, how can i create GUI stuff with messages sent to a subpatch?
hi mirko
basically you can send a msg such as
obj 84 80 vsl 15 128 0 127 0 0 send-name receive-name empty 0 -9 0 10 -262144 -1 -1 0 1;
to [s pd-yoursubpatchname]
(which would create a slider)
described in Help/manualy/pd-msg/1.msg_and_patch/
i find it useful to create the wanted gui in a patch, save it and open it in a text editor to find out the correct syntax.
good luck
eni
#N canvas 0 22 450 300 10; #X obj 63 71 cnv 15 100 60 empty empty i'm_the_label 20 12 0 14 -233017 -66577 0;
hi list, i have a textfile with lists in each line, always starting with a number. i would like to create a new textfile where all these lines are sorted in numeric order now.
so e.g. i have a textfile with this content:
44 hello joe; 2 3 part 4; 9 say hi; 5 88 999 33;
and the result should be:
2 3 part 4; 5 88 999 33; 9 say hi; 44 hello joe;
are there any objects helping me, doin it in pd?
greets, mirko
Hi, you can do that with pool. It has a method for ordered output. gr~~~
Am 03.03.2008 um 14:42 schrieb Mirko Maier:
hi list, i have a textfile with lists in each line, always starting with a
number. i would like to create a new textfile where all these lines are
sorted in numeric order now.so e.g. i have a textfile with this content:
44 hello joe; 2 3 part 4; 9 say hi; 5 88 999 33;
and the result should be:
2 3 part 4; 5 88 999 33; 9 say hi; 44 hello joe;
are there any objects helping me, doin it in pd?
greets, mirko -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Thomas Grill http://grrrr.org
hi list, again i've installed pd-ext: http://autobuild.puredata.info/auto-build/2008-03-10/Pd-0.40.3-extended-2008...
on win xp and lots of libraries don't load, even zexy. is there no chance...?
greets, mirko
Mirko Maier a écrit :
hi list, again i've installed pd-ext: http://autobuild.puredata.info/auto-build/2008-03-10/Pd-0.40.3-extended-2008...
on win xp and lots of libraries don't load, even zexy. is there no chance...?
greets, mirko
just thank you, :)
Works for me on WinXP. You'll need to provide more info if you want
hlep.
.hc
On Mar 10, 2008, at 9:29 AM, Mirko Maier wrote:
hi list, again i've installed pd-ext: http://autobuild.puredata.info/auto-build/2008-03-10/Pd-0.40.3- extended-20080310-windowsxp-i386.exe
on win xp and lots of libraries don't load, even zexy. is there no
chance...?greets, mirko -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Man has survived hitherto because he was too ignorant to know how to
realize his wishes. Now that he can realize them, he must either
change them, or perish. -William Carlos Williams
Works for me on WinXP. You'll need to provide more info if you want
hlep.
i can't say more than i've installed it (including registry), but then lots of objects don't work, e.g. "niagara" or "glue"...
mirko
.hc
On Mar 10, 2008, at 9:29 AM, Mirko Maier wrote:
hi list, again i've installed pd-ext: http://autobuild.puredata.info/auto-build/2008-03-10/Pd-0.40.3- extended-20080310-windowsxp-i386.exe
on win xp and lots of libraries don't load, even zexy. is there no
chance...?greets, mirko -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Man has survived hitherto because he was too ignorant to know how to
realize his wishes. Now that he can realize them, he must either
change them, or perish. -William Carlos Williams