Re: [PD] GUI switching control scenes
the only slightly "annoying" stuff is that changing every time the GOP's offset, when you close the patch you are requested to save. Is there a workaround for this? unfortunately not. donecanvasdialog makes the patch "dirty". I've asked for it to be changed, but no reply. you try making pressure for that as well. João ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] GUI switching control scenes
hey thanks Joao, your last advice - [donecanvasdialog... ( - wins by now: - No pop-up needed (is it possible to have the same result of [vis $1( in a parent patch avoiding pop-up?) - get rid of scroll bars appearing here and there - clean and neat (push 4 buttons get 4 workspaces) - easy to implement the only slightly "annoying" stuff is that changing every time the GOP's offset, when you close the patch you are requested to save. Is there a workaround for this? Check the simple&fast example attached. cheers M On Thu, Nov 19, 2009 at 3:24 PM, João Pais wrote: > another approach could be to make a very big gop with all your different > workspaces in it. and then change the canvas offset parameters with > [donecanvasdialog ...( to show only the part you have. that would in reality > create workspaces in a big canvas. > > > much thanks everybody for pointing out those examples, that's what i >> needed. >> I will be experimenting and posting some results. >> the [vis $1( approach looks promising, i have to test what about clicks in >> sound while using it in runtime with big GOP. >> >> If anybody has still other ideas about different approaches is more than >> welcome. >> talk soon, >> cheers >> >> >> Marco >> >> >> >> >> On Thu, Nov 19, 2009 at 2:44 PM, Si Mills wrote: >> >> This might be useful >>> http://lists.puredata.info/pipermail/pd-list/2006-04/037439.html >>> >>> bot abstractions use this technique. You could have a parent abstraction >>> containing gop subpatches, and then overlay them. Switch on/off their >>> visibility with 'vis' property messages >>> >>> On 19 Nov 2009, at 14:32, Marco Donnarumma wrote: >>> >>> Ok, now I see JN, yes i know that, but i'm looking for a solution within >>> Pd >>> itself, using only one parent patch to include and visualize different >>> subpatches alternatively. It's about usability of a software developed in >>> Pd, not about my personal laptop's screen resolution. >>> >>> >>> M >>> >>> >>> >>> >>> 2009/11/19 Jean-Noël Montagné >>> >>> on linux and macos you can define many other workspaces to extend the size of your desk. on OSX, the software is "spaces", JN Thanks JN, mm.. sorry dumb question, could you specify what you mean by "different screen spaces"? (better keep the conversation on the list so others can participate too) 2009/11/19 Jean-Noël Montagné did you try to work with diffrent screen spaces ( on linux and macosx) ? JN >>> >>> -- >>> Marco Donnarumma aka The !S.A.D! >>> >>> >>> >>> Independent New Media Arts Professional, Performer, Teacher - Edinburgh, >>> UK >>> >>> LAB: http://www.thesaddj.com | http://cntrl.sourceforge.net | >>> http://www.flxer.net >>> >>> EVENT: http://www.liveperformersmeeting.net >>> ___ >>> Pd-list@iem.at mailing list >>> UNSUBSCRIBE and account-management -> >>> http://lists.puredata.info/listinfo/pd-list >>> >>> >>> >>> >> >> > > -- > Friedenstr. 58 > 10249 Berlin (Deutschland) > Tel +49 30 42020091 | Mob +49 162 6843570 > Studio +49 30 69509190 > jmmmp...@googlemail.com | skype: jmmmpjmmmp > > -- Marco Donnarumma aka The !S.A.D! Independent New Media Arts Professional, Performer, Teacher - Edinburgh, UK LAB: http://www.thesaddj.com | http://cntrl.sourceforge.net | http://www.flxer.net EVENT: http://www.liveperformersmeeting.net #N canvas 727 198 317 385 10; #N canvas 965 225 452 494 GOP 0; #X obj 0 0 cnv 15 200 200 empty empty one 20 12 0 14 -233017 -66577 0; #X obj 200 0 cnv 15 200 200 empty empty two 20 12 0 14 -128992 -66577 0; #X obj 0 200 cnv 15 200 200 empty empty three 20 12 0 14 -162280 -66577 0; #X obj 200 200 cnv 15 200 200 empty empty four 20 12 0 14 -66577 -228856 0; #X coords 0 -1 1 1 200 200 1 0 0; #X restore -75 79 pd GOP; #X obj -46 28 hradio 15 1 0 4 empty empty empty 0 -8 0 10 -262144 -1 -1 0; #N canvas 135 89 324 216 code 0; #N canvas 234 215 435 247 gop-offset 0; #X obj 96 192 s pd-GOP; #X floatatom 96 69 5 0 0 0 - - -; #X obj 96 90 t f b; #X obj 153 91 t f b; #X floatatom 153 69 5 0 0 0 - - -; #X obj 96 24 inlet offset; #X obj 96 45 unpack f f; #X obj 96 139 pack f f; #X msg 96 168 donecanvasdialog 1 -1 1 0 -1 1 1 200 200 \$1 \$2; #X connect 1 0 2 0; #X connect 2 0 7 0; #X connect 2 1 7 0; #X connect 3 0 7 1; #X connect 3 1 7 0; #X connect 4 0 3 0; #X connect 5 0 6 0; #X connect 6 0 1 0; #X connect 6 1 4 0; #X connect 7 0 8 0; #X connect 8 0 0 0; #X restore -130 126 pd gop-offset; #X msg -130 97 0 0; #X msg -97 96 200 0; #X msg -53 96 0 200; #X msg -12 96 200 200; #X obj -130 72 sel 0 1 2 3; #X obj -130 48 inlet; #X connect 1 0 0 0; #X connect 2 0 0 0; #X connect 3 0 0 0; #X connect 4 0 0 0; #X connect 5 0 1 0; #X connect 5 1 2 0; #X connect 5 2 3 0; #X connect 5 3 4 0; #X connect 6 0 5 0; #X restore -46 48 pd code; #X text 7 349 Marco Donnarumma aka TheSAD; #X text 7 362 2009; #X connect 1 0 2 0; ___
Re: [PD] GUI switching control scenes
another approach could be to make a very big gop with all your different workspaces in it. and then change the canvas offset parameters with [donecanvasdialog ...( to show only the part you have. that would in reality create workspaces in a big canvas. much thanks everybody for pointing out those examples, that's what i needed. I will be experimenting and posting some results. the [vis $1( approach looks promising, i have to test what about clicks in sound while using it in runtime with big GOP. If anybody has still other ideas about different approaches is more than welcome. talk soon, cheers Marco On Thu, Nov 19, 2009 at 2:44 PM, Si Mills wrote: This might be useful http://lists.puredata.info/pipermail/pd-list/2006-04/037439.html bot abstractions use this technique. You could have a parent abstraction containing gop subpatches, and then overlay them. Switch on/off their visibility with 'vis' property messages On 19 Nov 2009, at 14:32, Marco Donnarumma wrote: Ok, now I see JN, yes i know that, but i'm looking for a solution within Pd itself, using only one parent patch to include and visualize different subpatches alternatively. It's about usability of a software developed in Pd, not about my personal laptop's screen resolution. M 2009/11/19 Jean-Noël Montagné on linux and macos you can define many other workspaces to extend the size of your desk. on OSX, the software is "spaces", JN Thanks JN, mm.. sorry dumb question, could you specify what you mean by "different screen spaces"? (better keep the conversation on the list so others can participate too) 2009/11/19 Jean-Noël Montagné did you try to work with diffrent screen spaces ( on linux and macosx) ? JN -- Marco Donnarumma aka The !S.A.D! Independent New Media Arts Professional, Performer, Teacher - Edinburgh, UK LAB: http://www.thesaddj.com | http://cntrl.sourceforge.net | http://www.flxer.net EVENT: http://www.liveperformersmeeting.net ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -- Friedenstr. 58 10249 Berlin (Deutschland) Tel +49 30 42020091 | Mob +49 162 6843570 Studio +49 30 69509190 jmmmp...@googlemail.com | skype: jmmmpjmmmp ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] GUI switching control scenes
much thanks everybody for pointing out those examples, that's what i needed. I will be experimenting and posting some results. the [vis $1( approach looks promising, i have to test what about clicks in sound while using it in runtime with big GOP. If anybody has still other ideas about different approaches is more than welcome. talk soon, cheers Marco On Thu, Nov 19, 2009 at 2:44 PM, Si Mills wrote: > This might be useful > http://lists.puredata.info/pipermail/pd-list/2006-04/037439.html > > bot abstractions use this technique. You could have a parent abstraction > containing gop subpatches, and then overlay them. Switch on/off their > visibility with 'vis' property messages > > On 19 Nov 2009, at 14:32, Marco Donnarumma wrote: > > Ok, now I see JN, yes i know that, but i'm looking for a solution within Pd > itself, using only one parent patch to include and visualize different > subpatches alternatively. It's about usability of a software developed in > Pd, not about my personal laptop's screen resolution. > > > M > > > > > 2009/11/19 Jean-Noël Montagné > >> on linux and macos you can define many other workspaces to extend the >> size of your desk. on OSX, the software is "spaces", >> >> JN >> >> Thanks JN, >> mm.. sorry dumb question, could you specify what you mean by "different >> screen spaces"? >> >> (better keep the conversation on the list so others can participate too) >> >> >> 2009/11/19 Jean-Noël Montagné >> >> did you try to work with diffrent screen spaces ( on linux and macosx) ? >> >> JN >> >> >> > > > -- > Marco Donnarumma aka The !S.A.D! > > > > Independent New Media Arts Professional, Performer, Teacher - Edinburgh, UK > > LAB: http://www.thesaddj.com | http://cntrl.sourceforge.net | > http://www.flxer.net > > EVENT: http://www.liveperformersmeeting.net > ___ > Pd-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > > -- Marco Donnarumma aka The !S.A.D! Independent New Media Arts Professional, Performer, Teacher - Edinburgh, UK LAB: http://www.thesaddj.com | http://cntrl.sourceforge.net | http://www.flxer.net EVENT: http://www.liveperformersmeeting.net ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] GUI switching control scenes
This might be useful http://lists.puredata.info/pipermail/pd-list/2006-04/037439.html bot abstractions use this technique. You could have a parent abstraction containing gop subpatches, and then overlay them. Switch on/off their visibility with 'vis' property messages On 19 Nov 2009, at 14:32, Marco Donnarumma wrote: > Ok, now I see JN, yes i know that, but i'm looking for a solution within Pd > itself, using only one parent patch to include and visualize different > subpatches alternatively. It's about usability of a software developed in Pd, > not about my personal laptop's screen resolution. > > > M > > > > > 2009/11/19 Jean-Noël Montagné > on linux and macos you can define many other workspaces to extend the size of > your desk. on OSX, the software is "spaces", > > JN > >> Thanks JN, >> mm.. sorry dumb question, could you specify what you mean by "different >> screen spaces"? >> >> (better keep the conversation on the list so others can participate too) >> >> >> 2009/11/19 Jean-Noël Montagné >> did you try to work with diffrent screen spaces ( on linux and macosx) ? >> >> JN > > > > > -- > Marco Donnarumma aka The !S.A.D! > > > > Independent New Media Arts Professional, Performer, Teacher - Edinburgh, UK > > LAB: http://www.thesaddj.com | http://cntrl.sourceforge.net | > http://www.flxer.net > > EVENT: http://www.liveperformersmeeting.net > ___ > 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
Re: [PD] GUI switching control scenes
I've done something like that on my gui-edit patch, on [jmmmp/gui-edit] or https://puredata.info/Members/jmmmp/gui-edit/view. but it was a very simple object. what you want is more complex, but maybe you can in some way make the [pos $1 $2( commands for the various setups you want more efficient. João Hi list, i'm trying to understand how to build a user-friendly GUI within Pd and the lack of enough space to place all elements is always blocking me. Let's say i have my main interface (parent patch) 1024x768. All the surface is occupied by sound controls. Then i would like to have a toggle allowing me to switch among different "scenes" (i.e. sound control, OSC controls, audio generators, ecc..), but each scene should occupy the same space 1024x768 of the main interface in the main parent patch. I had a vague "success" juxtaposing GOP subpatches, but then what happens is that you want to move a slider in the upper subpatch but you can easily move also whatever GUI object lays below and this is obviously kinda too messy. I was wondering if there is a way to dinamically change the name of a subpatch while loaded, but i guess there should be simpler strategies... any idea? anybody did it already? thanks cheers -- Friedenstr. 58 10249 Berlin (Deutschland) Tel +49 30 42020091 | Mob +49 162 6843570 Studio +49 30 69509190 jmmmp...@googlemail.com | skype: jmmmpjmmmp ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] GUI switching control scenes
Ok, now I see JN, yes i know that, but i'm looking for a solution within Pd itself, using only one parent patch to include and visualize different subpatches alternatively. It's about usability of a software developed in Pd, not about my personal laptop's screen resolution. M 2009/11/19 Jean-Noël Montagné > on linux and macos you can define many other workspaces to extend the > size of your desk. on OSX, the software is "spaces", > > JN > > Thanks JN, > mm.. sorry dumb question, could you specify what you mean by "different > screen spaces"? > > (better keep the conversation on the list so others can participate too) > > > 2009/11/19 Jean-Noël Montagné > > did you try to work with diffrent screen spaces ( on linux and macosx) ? > > JN > > > -- Marco Donnarumma aka The !S.A.D! Independent New Media Arts Professional, Performer, Teacher - Edinburgh, UK LAB: http://www.thesaddj.com | http://cntrl.sourceforge.net | http://www.flxer.net EVENT: http://www.liveperformersmeeting.net ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] GUI switching control scenes
Marco Donnarumma a écrit : Thanks JN, mm.. sorry dumb question, could you specify what you mean by "different screen spaces"? He means that on linux you can work on differents 'WorkSpaces' (*) and switch from one to another... (*) http://library.gnome.org/users/user-guide/stable/overview-workspaces.html.en I think what Marco is talking about is a kind of 'tab' macanism for pd gui... Is there any solution for this ?? pierre ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] GUI switching control scenes
Thanks JN, mm.. sorry dumb question, could you specify what you mean by "different screen spaces"? (better keep the conversation on the list so others can participate too) 2009/11/19 Jean-Noël Montagné > did you try to work with diffrent screen spaces ( on linux and macosx) ? > > JN > > -- Marco Donnarumma aka The !S.A.D! Independent New Media Arts Professional, Performer, Teacher - Edinburgh, UK LAB: http://www.thesaddj.com | http://cntrl.sourceforge.net | http://www.flxer.net EVENT: http://www.liveperformersmeeting.net ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list