Hi,
I'm wondering if it is possible to be able to get the commands that are called when a user is creating a patch in the Pd GUI.
What I'd like to achieve is to be able to have a duplicate patch being created in realtime as I make it.
In a similar way to dynamic patching, if I could gather the commands called and send them to another Pd instance would this work?
Thanks for your time, Joe
If you activate the higher debug level you'lll get all user commands.
Like: pedro@io:~$ pdextended -d 1 (...) .x9a081a0.c create rectangle 108 121 108 121 -tags x .x9a081a0.c delete x
and so forth.
But probably there is a cleaner way since the debug is hardcore. There's more debug levels by the way, but I don't know where the official documentation is on that.
Best, Pedro
On Mon, Feb 21, 2011 at 6:29 PM, Joe White white.joe4@gmail.com wrote:
Hi,
I'm wondering if it is possible to be able to get the commands that are called when a user is creating a patch in the Pd GUI.
What I'd like to achieve is to be able to have a duplicate patch being created in realtime as I make it.
In a similar way to dynamic patching, if I could gather the commands called and send them to another Pd instance would this work?
Thanks for your time, Joe
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 21 February 2011 18:39, Pedro Lopes pedro.lopes@ist.utl.pt wrote:
If you activate the higher debug level you'lll get all user commands.
Like: pedro@io:~$ pdextended -d 1 (...) .x9a081a0.c create rectangle 108 121 108 121 -tags x .x9a081a0.c delete x
Hi Pedro,
Thanks for the reply. Does this apply for Pd-Vanilla as well? Is this debug mode from Terminal? I don't really want to create the patch from command line, rather hi-jack the commands as I'm making the patch in the GUI. Then send it to another instance. Just wondering if it was possible but sounds like it probably isn't.
and so forth.
But probably there is a cleaner way since the debug is hardcore. There's more debug levels by the way, but I don't know where the official documentation is on that.
Best, Pedro
Thanks,
Joe
On Mon, Feb 21, 2011 at 6:29 PM, Joe White white.joe4@gmail.com wrote:
Hi,
I'm wondering if it is possible to be able to get the commands that are called when a user is creating a patch in the Pd GUI.
What I'd like to achieve is to be able to have a duplicate patch being created in realtime as I make it.
In a similar way to dynamic patching, if I could gather the commands called and send them to another Pd instance would this work?
Thanks for your time, Joe
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Pedro Lopes (MSc) contact: pedro.lopes@ist.utl.pt website: http://web.ist.utl.pt/Pedro.Lopes / http://pedrolopesresearch.wordpress.com/ | http://twitter.com/plopesresearch
You might find some docs in the Help Browser relevant:
Help menu -> Browser -> Manuals -> 0.Intro -> 50.pure_data_files.pd Help menu -> Browser -> pd-msg
.hc
On Feb 21, 2011, at 1:29 PM, Joe White wrote:
Hi,
I'm wondering if it is possible to be able to get the commands that
are called when a user is creating a patch in the Pd GUI.What I'd like to achieve is to be able to have a duplicate patch
being created in realtime as I make it.In a similar way to dynamic patching, if I could gather the commands
called and send them to another Pd instance would this work?Thanks for your time, Joe _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
News is what people want to keep hidden and everything else is
publicity. - Bill Moyers
Yes. It applies to vanilla (just tested).
On Mon, Feb 21, 2011 at 10:43 PM, Hans-Christoph Steiner hans@at.or.atwrote:
You might find some docs in the Help Browser relevant:
Help menu -> Browser -> Manuals -> 0.Intro -> 50.pure_data_files.pd Help menu -> Browser -> pd-msg
.hc
On Feb 21, 2011, at 1:29 PM, Joe White wrote:
Hi,
I'm wondering if it is possible to be able to get the commands that are called when a user is creating a patch in the Pd GUI.
What I'd like to achieve is to be able to have a duplicate patch being created in realtime as I make it.
In a similar way to dynamic patching, if I could gather the commands called and send them to another Pd instance would this work?
Thanks for your time, Joe _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
News is what people want to keep hidden and everything else is publicity. - Bill Moyers
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
@Pedro
I did the following:
$ /Applications/Pd-0.42-5.app/Contents/MacOS/Pd -d 1 Pt_Start() called
However in the any objects I create in the instance that shows up won't output anything to terminal. Is this how you have it working? Or are you writing in the command line?
@Hans
On Pd-0.42-5 going to Help menu > Browser > 1.manual > shows 1.introduction.txt as the first entry and a few images that won't load.
On Pd-0.43-0test4 going to Help menu > Browser > shows a library of objects I have in my add to my path.
Am I missing something?
Thanks for you help guys, Joe
On 21 February 2011 22:46, Pedro Lopes pedro.lopes@ist.utl.pt wrote:
Yes. It applies to vanilla (just tested).
On Mon, Feb 21, 2011 at 10:43 PM, Hans-Christoph Steiner hans@at.or.atwrote:
You might find some docs in the Help Browser relevant:
Help menu -> Browser -> Manuals -> 0.Intro -> 50.pure_data_files.pd Help menu -> Browser -> pd-msg
.hc
On Feb 21, 2011, at 1:29 PM, Joe White wrote:
Hi,
I'm wondering if it is possible to be able to get the commands that are called when a user is creating a patch in the Pd GUI.
What I'd like to achieve is to be able to have a duplicate patch being created in realtime as I make it.
In a similar way to dynamic patching, if I could gather the commands called and send them to another Pd instance would this work?
Thanks for your time, Joe _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
News is what people want to keep hidden and everything else is publicity. - Bill Moyers
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Pedro Lopes (MSc) contact: pedro.lopes@ist.utl.pt website: http://web.ist.utl.pt/Pedro.Lopes / http://pedrolopesresearch.wordpress.com/ | http://twitter.com/plopesresearch
Should have said:
'On Pd-0.43-0test4 going to Help menu > Browser > shows a library of objects I have *added* to my path.
On 22 February 2011 11:02, Joe White white.joe4@gmail.com wrote:
@Pedro
I did the following:
$ /Applications/Pd-0.42-5.app/Contents/MacOS/Pd -d 1 Pt_Start() called
However in the any objects I create in the instance that shows up won't output anything to terminal. Is this how you have it working? Or are you writing in the command line?
@Hans
On Pd-0.42-5 going to Help menu > Browser > 1.manual > shows 1.introduction.txt as the first entry and a few images that won't load.
On Pd-0.43-0test4 going to Help menu > Browser > shows a library of objects I have in my add to my path.
Am I missing something?
Thanks for you help guys, Joe
On 21 February 2011 22:46, Pedro Lopes pedro.lopes@ist.utl.pt wrote:
Yes. It applies to vanilla (just tested).
On Mon, Feb 21, 2011 at 10:43 PM, Hans-Christoph Steiner hans@at.or.atwrote:
You might find some docs in the Help Browser relevant:
Help menu -> Browser -> Manuals -> 0.Intro -> 50.pure_data_files.pd Help menu -> Browser -> pd-msg
.hc
On Feb 21, 2011, at 1:29 PM, Joe White wrote:
Hi,
I'm wondering if it is possible to be able to get the commands that are called when a user is creating a patch in the Pd GUI.
What I'd like to achieve is to be able to have a duplicate patch being created in realtime as I make it.
In a similar way to dynamic patching, if I could gather the commands called and send them to another Pd instance would this work?
Thanks for your time, Joe _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
News is what people want to keep hidden and everything else is publicity. - Bill Moyers
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Pedro Lopes (MSc) contact: pedro.lopes@ist.utl.pt website: http://web.ist.utl.pt/Pedro.Lopes / http://pedrolopesresearch.wordpress.com/ | http://twitter.com/plopesresearch
My version was compiled from source
pedro@io:~/Apps/pdfont/pure-data/bin$ ./pd -version Pd-0.43.0 ("test3") compiled 22:43:36 Dec 26 2010
If I run the debug it shows many things, even mouse moves inside patches.
.xa16b0f8.c coords .xa16b0f8.ta16b898R 246 183 278 183 278 200 246 200 246 183 .xa16b0f8.c itemconfigure .xa16b0f8.ta16b898R -dash - .xa16b0f8.c select clear .xa16b0f8.c icursor .xa16b0f8.ta16b898 0 .xa16b0f8.c focus .xa16b0f8.ta16b898
Pedro Lopes (MSc) contact: pedro.lopes@ist.utl.pt website: http://web.ist.utl.pt/Pedro.Lopes / http://pedrolopesresearch.wordpress.com/ | http://twitter.com/plopesresearch
Hmmm, I tried with both:
$ /Applications/Pd-0.43-0test4.app/Contents/MacOS/Pd -d 1 Pt_Start() called blksize 64, advance 17
and
$ /Applications/Pd-0.42-5.app/Contents/MacOS/Pd -d 1 Pt_Start() called
These aren't compiled myself but rather downloaded from - http://crca.ucsd.edu/~msp/software.html.
I tried making several objects, connections etc... still no luck. Is there a certain debug level you have to be on? Trying 0...5 still didn't do anything.
Errors are being logged though, like when I couldn't save it to a directory:
Tue Feb 22 17:06:45 Joe-Computer.local Pd[3185] <Error>: kCGErrorIllegalArgument: _CGSFindSharedWindow: WID 3870 Tue Feb 22 17:06:45 Joe-Computer.local Pd[3185] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged. Tue Feb 22 17:06:45 Joe-Computer.local Pd[3185] <Error>: kCGErrorIllegalArgument: CGSGetWindowTags: Invalid window 0xf1e
Just not the commands :S
Thanks, Joe
On 22 February 2011 16:18, Pedro Lopes pedro.lopes@ist.utl.pt wrote:
My version was compiled from source
pedro@io:~/Apps/pdfont/pure-data/bin$ ./pd -version Pd-0.43.0 ("test3") compiled 22:43:36 Dec 26 2010
If I run the debug it shows many things, even mouse moves inside patches.
.xa16b0f8.c coords .xa16b0f8.ta16b898R 246 183 278 183 278 200 246 200 246 183 .xa16b0f8.c itemconfigure .xa16b0f8.ta16b898R -dash - .xa16b0f8.c select clear .xa16b0f8.c icursor .xa16b0f8.ta16b898 0 .xa16b0f8.c focus .xa16b0f8.ta16b898
Probably its just garbage for your purpose, but its "output" :)
Pedro Lopes (MSc) contact: pedro.lopes@ist.utl.pt website: http://web.ist.utl.pt/Pedro.Lopes / http://pedrolopesresearch.wordpress.com/ | http://twitter.com/plopesresearch
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-02-22 18:08, Joe White wrote:
Hmmm, I tried with both:
$ /Applications/Pd-0.43-0test4.app/Contents/MacOS/Pd -d 1
you are calling the GUI which in turn opens the Pd-core, but without the proper arguments. either do: $ /Applications/Pd-0.43-0test4.app/Contents/Ressources/bin/pd -d 1 or use the preference menu, to set "-d 1" as one of the startup flags, and restart.
fgamsdr IOhannes