Hey folks, I've been trying to figure out how one would dynamically
instantiate an extern or subpatch in pd and havn't had any luck so far.
basically, i'd like to design a state machine based patch and have it able
to dynamically load which subpatches are being played depending on what
state it is in, most likely from a text file. Any tips or general clues
would be greatly appriciated, thanks!
Josh .. Yoshi .. Joschi .. xiphoidprocess.com .. eds.org/~joschi
theres a whole doumentation package for self-mod patching its somwewhere on pdwiki at iem ..
Josh Steiner about [PD] dynamic etern/subpatch instantiation? / Today
|Hey folks, I've been trying to figure out how one would dynamically |instantiate an extern or subpatch in pd and havn't had any luck so far. |basically, i'd like to design a state machine based patch and have it able |to dynamically load which subpatches are being played depending on what |state it is in, most likely from a text file. Any tips or general clues |would be greatly appriciated, thanks! | |________________________________________________________________ |Josh .. Yoshi .. Joschi .. xiphoidprocess.com .. eds.org/~joschi |
doh .
Warning: Can't connect to MySQL server on 'iemdb.iemnet' (113) in /var/www/pdwiki/lib/mysql.php on line 35
WikiFatalError Cannot establish connection to database, giving up. MySQL error: Can't connect to MySQL server on 'iemdb.iemnet' (113)
On Wed, 19 Dec 2001, _-¯-_ wrote:
theres a whole doumentation package for self-mod patching its somwewhere on pdwiki at iem ..
Josh Steiner about [PD] dynamic etern/subpatch instantiation? / Today
|Hey folks, I've been trying to figure out how one would dynamically |instantiate an extern or subpatch in pd and havn't had any luck so far. |basically, i'd like to design a state machine based patch and have it able |to dynamically load which subpatches are being played depending on what |state it is in, most likely from a text file. Any tips or general clues |would be greatly appriciated, thanks! | |________________________________________________________________ |Josh .. Yoshi .. Joschi .. xiphoidprocess.com .. eds.org/~joschi |
-- I x Ð V . o R 6
Josh .. Yoshi .. Joschi .. xiphoidprocess.com .. eds.org/~joschi
got me right while installing a new hard disc :-)
iemdb.iemnet will be soon up again
norbert
Get your FREE download of MSP Pure Data at http://iem.kug.ac.at/pd
On Wed, 19 Dec 2001, Josh Steiner wrote:
doh .
Warning: Can't connect to MySQL server on 'iemdb.iemnet' (113) in /var/www/pdwiki/lib/mysql.php on line 35
WikiFatalError Cannot establish connection to database, giving up. MySQL error: Can't connect to MySQL server on 'iemdb.iemnet' (113)
On Wed, 19 Dec 2001, _-¯-_ wrote:
theres a whole doumentation package for self-mod patching its somwewhere on pdwiki at iem ..
Josh Steiner about [PD] dynamic etern/subpatch instantiation? / Today
|Hey folks, I've been trying to figure out how one would dynamically |instantiate an extern or subpatch in pd and havn't had any luck so far. |basically, i'd like to design a state machine based patch and have it able |to dynamically load which subpatches are being played depending on what |state it is in, most likely from a text file. Any tips or general clues |would be greatly appriciated, thanks! | |________________________________________________________________ |Josh .. Yoshi .. Joschi .. xiphoidprocess.com .. eds.org/~joschi |
-- I x Ð V . o R 6
Josh .. Yoshi .. Joschi .. xiphoidprocess.com .. eds.org/~joschi
Hi all.
Here you are : the doc is in the join file.
Damien.
Le Mercredi 19 Décembre 2001 14:31, Norbert Math a écrit :
got me right while installing a new hard disc :-)
iemdb.iemnet will be soon up again
norbert
Get your FREE download of MSP Pure Data at http://iem.kug.ac.at/pd
On Wed, 19 Dec 2001, Josh Steiner wrote:
doh .
Warning: Can't connect to MySQL server on 'iemdb.iemnet' (113) in /var/www/pdwiki/lib/mysql.php on line 35
WikiFatalError Cannot establish connection to database, giving up. MySQL error: Can't connect to MySQL server on 'iemdb.iemnet' (113)
On Wed, 19 Dec 2001, _-¯-_ wrote:
theres a whole doumentation package for self-mod patching its somwewhere on pdwiki at iem ..
Josh Steiner about [PD] dynamic etern/subpatch instantiation? / Today
|Hey folks, I've been trying to figure out how one would dynamically |instantiate an extern or subpatch in pd and havn't had any luck so | far. basically, i'd like to design a state machine based patch and | have it able to dynamically load which subpatches are being played | depending on what state it is in, most likely from a text file. Any | tips or general clues would be greatly appriciated, thanks! | |________________________________________________________________ |Josh .. Yoshi .. Joschi .. xiphoidprocess.com .. eds.org/~joschi
-- I x Ð V . o R 6
Josh .. Yoshi .. Joschi .. xiphoidprocess.com .. eds.org/~joschi
An easier way than self-modifying patches migth be to open a top-level patch by message passing. For instance if you have a patch, /tmp/x.pd, here's a patch to open and close it:
#N canvas 453 249 450 300 10; #X msg 43 82 ; pd-x.pd menuclose; #X msg 45 35 ; pd open x.pd /tmp;
cheers Miller
On Wed, Dec 19, 2001 at 10:55:52AM -0800, Josh Steiner wrote:
Hey folks, I've been trying to figure out how one would dynamically instantiate an extern or subpatch in pd and havn't had any luck so far.
basically, i'd like to design a state machine based patch and have it able to dynamically load which subpatches are being played depending on what state it is in, most likely from a text file. Any tips or general clues would be greatly appriciated, thanks!
Josh .. Yoshi .. Joschi .. xiphoidprocess.com .. eds.org/~joschi
awsome, thanks for all your help everyone, i'm really impressed at how much i can do with pd.
on the flip side, i can reliably crash pd on my win2k machine here by clicking a few times on the open message box so that i have a few duplicate x.pd windows open, then hitting the close message box. is this a known issue? here are my two patches:
test.pd:
#N canvas 453 249 452 302 10; #X msg 43 82 ; pd-x.pd menuclose; #X msg 45 35 ; pd open x.pd c:/pd/joschi/;
x.pd:
#N canvas 0 0 454 304 12; #X obj 115 100 foobar;
-Josh
On Wed, 19 Dec 2001, Miller Puckette wrote:
An easier way than self-modifying patches migth be to open a top-level patch by message passing. For instance if you have a patch, /tmp/x.pd, here's a patch to open and close it:
#N canvas 453 249 450 300 10; #X msg 43 82 ; pd-x.pd menuclose; #X msg 45 35 ; pd open x.pd /tmp;
cheers Miller
On Wed, Dec 19, 2001 at 10:55:52AM -0800, Josh Steiner wrote:
Hey folks, I've been trying to figure out how one would dynamically instantiate an extern or subpatch in pd and havn't had any luck so far.
basically, i'd like to design a state machine based patch and have it able to dynamically load which subpatches are being played depending on what state it is in, most likely from a text file. Any tips or general clues would be greatly appriciated, thanks!
Josh .. Yoshi .. Joschi .. xiphoidprocess.com .. eds.org/~joschi
Josh .. Yoshi .. Joschi .. xiphoidprocess.com .. eds.org/~joschi
hi,
yes, your bindlist got corrupted... Try to open the code below, if stored in a file `test.pd':
#N canvas 175 193 450 300 12; #X obj 33 141 r x; #X obj 101 141 r x; #X msg 33 190 ; pd-test.pd cut; #X obj 33 23 loadbang; #X msg 33 65 ; pd-test.pd selectall ; x bang; #X connect 0 0 2 0; #X connect 3 0 4 0;
Krzysztof
Josh Steiner wrote: ...
on the flip side, i can reliably crash pd on my win2k machine here by clicking a few times on the open message box so that i have a few duplicate x.pd windows open, then hitting the close message box. is this a known issue?
...
This also crashes pd for me when it trys to do the cut. was it supposed to?
-Josh
On Thu, 20 Dec 2001, Krzysztof Czaja wrote:
hi,
yes, your bindlist got corrupted... Try to open the code below, if stored in a file `test.pd':
#N canvas 175 193 450 300 12; #X obj 33 141 r x; #X obj 101 141 r x; #X msg 33 190 ; pd-test.pd cut; #X obj 33 23 loadbang; #X msg 33 65 ; pd-test.pd selectall ; x bang; #X connect 0 0 2 0; #X connect 3 0 4 0;
Krzysztof
Josh Steiner wrote: ...
on the flip side, i can reliably crash pd on my win2k machine here by clicking a few times on the open message box so that i have a few duplicate x.pd windows open, then hitting the close message box. is this a known issue?
...
Josh .. Yoshi .. Joschi .. xiphoidprocess.com .. eds.org/~joschi
hi,
Josh Steiner wrote:
This also crashes pd for me when it trys to do the cut. was it supposed to?
yes, it was, although I do not think it is a bug on Pd side. It is more of a lack of safeguards. I will explain all this in detail in a separate post, because 1) the two crashes (one in your example and another in mine) are related, but not identical; 2) this is rather a Pd development (or design) issue, not particularly important for most of users (but I think it is quite interesting from Pd-hacker's point of view).
Krzysztof