hello, is the a way for Pd to know what keys are being held down when a patch is loading so it changes the behaviour of an object?
for example, to prevent loadbangs to send a bang at load time?
it would have to be something like:
hold down Shift-Command (Mac) or Shift-Ctrl (PC) to disable loadmess firing at patcher load
yes, this is for implementing a clone of [loadmess] object from max, and this is the only discrepancy left...
cheers
Hi, Not exactly what you describe but perhaps you need it. pd/doc/1.manual/x3.htm general flags: -noloadbang
:) Mensaje telepatico asistido por maquinas.
Date: Tue, 29 Mar 2016 16:16:24 -0300 From: porres@gmail.com To: pd-list@lists.iem.at Subject: [PD] holding keys on patchload to affect object behaviour
hello, is the a way for Pd to know what keys are being held down when a patch is loading so it changes the behaviour of an object? for example, to prevent loadbangs to send a bang at load time? it would have to be something like: hold down Shift-Command (Mac) or Shift-Ctrl (PC) to disable loadmess firing at patcher load
yes, this is for implementing a clone of [loadmess] object from max, and this is the only discrepancy left... cheers
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Sorry Alexander perhaps I didn't understand you. If -noloadbang is not what you need, I.e to debug something that went wrong, you can do yourself what you describe in your patch. Put a delay in the loadbang. [key] [keyname] Salutti Mensaje telepatico asistido por maquinas.
From: lucarda27@hotmail.com To: porres@gmail.com; pd-list@lists.iem.at Date: Tue, 29 Mar 2016 20:21:59 +0000 Subject: Re: [PD] holding keys on patchload to affect object behaviour
Hi, Not exactly what you describe but perhaps you need it. pd/doc/1.manual/x3.htm general flags: -noloadbang
:) Mensaje telepatico asistido por maquinas.
Date: Tue, 29 Mar 2016 16:16:24 -0300 From: porres@gmail.com To: pd-list@lists.iem.at Subject: [PD] holding keys on patchload to affect object behaviour
hello, is the a way for Pd to know what keys are being held down when a patch is loading so it changes the behaviour of an object? for example, to prevent loadbangs to send a bang at load time? it would have to be something like: hold down Shift-Command (Mac) or Shift-Ctrl (PC) to disable loadmess firing at patcher load
yes, this is for implementing a clone of [loadmess] object from max, and this is the only discrepancy left... cheers
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
well, I'm not looking for workarounds, I just wanna know if it is possible to do that - knowing if certain keys are pressed to disable an object's feature or something.
cheers
2016-03-29 18:40 GMT-03:00 Lucas Cordiviola lucarda27@hotmail.com:
Sorry Alexander perhaps I didn't understand you.
If -noloadbang is not what you need, I.e to debug something that went wrong, you can do yourself what you describe in your patch. Put a delay in the loadbang. [key] [keyname]
Salutti
Mensaje telepatico asistido por maquinas.
From: lucarda27@hotmail.com To: porres@gmail.com; pd-list@lists.iem.at Date: Tue, 29 Mar 2016 20:21:59 +0000 Subject: Re: [PD] holding keys on patchload to affect object behaviour
Hi,
Not exactly what you describe but perhaps you need it.
pd/doc/1.manual/x3.htm
general flags:
-noloadbang
:)
Mensaje telepatico asistido por maquinas.
Date: Tue, 29 Mar 2016 16:16:24 -0300 From: porres@gmail.com To: pd-list@lists.iem.at Subject: [PD] holding keys on patchload to affect object behaviour
hello, is the a way for Pd to know what keys are being held down when a patch is loading so it changes the behaviour of an object?
for example, to prevent loadbangs to send a bang at load time?
it would have to be something like:
hold down Shift-Command (Mac) or Shift-Ctrl (PC) to disable loadmess firing at patcher load
yes, this is for implementing a clone of [loadmess] object from max, and this is the only discrepancy left...
cheers
_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Oh Ok, that. I don't know. Salutti Mensaje telepatico asistido por maquinas.
Date: Tue, 29 Mar 2016 19:29:56 -0300 Subject: Re: [PD] holding keys on patchload to affect object behaviour From: porres@gmail.com To: lucarda27@hotmail.com CC: pd-list@lists.iem.at
well, I'm not looking for workarounds, I just wanna know if it is possible to do that - knowing if certain keys are pressed to disable an object's feature or something. cheers 2016-03-29 18:40 GMT-03:00 Lucas Cordiviola lucarda27@hotmail.com:
Sorry Alexander perhaps I didn't understand you. If -noloadbang is not what you need, I.e to debug something that went wrong, you can do yourself what you describe in your patch. Put a delay in the loadbang. [key] [keyname] Salutti Mensaje telepatico asistido por maquinas.
From: lucarda27@hotmail.com To: porres@gmail.com; pd-list@lists.iem.at Date: Tue, 29 Mar 2016 20:21:59 +0000 Subject: Re: [PD] holding keys on patchload to affect object behaviour
Hi, Not exactly what you describe but perhaps you need it. pd/doc/1.manual/x3.htm general flags: -noloadbang
:) Mensaje telepatico asistido por maquinas.
Date: Tue, 29 Mar 2016 16:16:24 -0300 From: porres@gmail.com To: pd-list@lists.iem.at Subject: [PD] holding keys on patchload to affect object behaviour
hello, is the a way for Pd to know what keys are being held down when a patch is loading so it changes the behaviour of an object? for example, to prevent loadbangs to send a bang at load time? it would have to be something like: hold down Shift-Command (Mac) or Shift-Ctrl (PC) to disable loadmess firing at patcher load
yes, this is for implementing a clone of [loadmess] object from max, and this is the only discrepancy left... cheers
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Dear list,
I wrote loadmess object for (re)-cyclone library. For "holding keys at loading patch time" behavior I do a pd_bind with keyname symbol in g_editor and I compare the symbol that I receive from the pd_list in canvas_key function. However, for do this I need to sacrifice the loadbang function and I write a clock for waiting enough time to get something from the pd_list. So, it is not the best programming practice but it works and it is quite transparent from the user point of view.
If someone of you has some idea I'm very happy to listen your suggestions.
Best regards,
Marco
2016-03-30 0:57 GMT+02:00 Lucas Cordiviola lucarda27@hotmail.com:
Oh Ok, that. I don't know.
Salutti
Mensaje telepatico asistido por maquinas.
Date: Tue, 29 Mar 2016 19:29:56 -0300 Subject: Re: [PD] holding keys on patchload to affect object behaviour From: porres@gmail.com To: lucarda27@hotmail.com CC: pd-list@lists.iem.at
well, I'm not looking for workarounds, I just wanna know if it is possible to do that - knowing if certain keys are pressed to disable an object's feature or something.
cheers
2016-03-29 18:40 GMT-03:00 Lucas Cordiviola lucarda27@hotmail.com:
Sorry Alexander perhaps I didn't understand you.
If -noloadbang is not what you need, I.e to debug something that went wrong, you can do yourself what you describe in your patch. Put a delay in the loadbang. [key] [keyname]
Salutti
Mensaje telepatico asistido por maquinas.
From: lucarda27@hotmail.com To: porres@gmail.com; pd-list@lists.iem.at Date: Tue, 29 Mar 2016 20:21:59 +0000 Subject: Re: [PD] holding keys on patchload to affect object behaviour
Hi,
Not exactly what you describe but perhaps you need it.
pd/doc/1.manual/x3.htm
general flags:
-noloadbang
:)
Mensaje telepatico asistido por maquinas.
Date: Tue, 29 Mar 2016 16:16:24 -0300 From: porres@gmail.com To: pd-list@lists.iem.at Subject: [PD] holding keys on patchload to affect object behaviour
hello, is the a way for Pd to know what keys are being held down when a patch is loading so it changes the behaviour of an object?
for example, to prevent loadbangs to send a bang at load time?
it would have to be something like:
hold down Shift-Command (Mac) or Shift-Ctrl (PC) to disable loadmess firing at patcher load
yes, this is for implementing a clone of [loadmess] object from max, and this is the only discrepancy left...
cheers
_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 2016-03-31 12:32, Marco Matteo Markidis wrote:
So, it is not the best programming practice but it works and it is quite transparent from the user point of view.
i think it is less question of "good programming practice" but of (not) breaking functionality. if you introduce some clock delay, then the object make break the expected order of execution.
using [delay] to ensure a certain order of execution can often lead to subtle problems. i wonder whether the feature of being able to suppress the bang via a pressed key during load time is worth the potential problems it makes.
fgamsdr IOhannes
Thank you Iohannes for your answer.
I have me too several doubts about the way I wrote it and in general if there is a "good" way to implement this feature. About your questions, it works with -noloadbang mode and in subpatch. If I put a [loadbang] with the same delay than the [loadmess] clock [loadmess] arrives first.
Anyway, actually I don't think to make public this code because I'm not convince about it. Thank you again.
Best regards.
2016-03-31 14:52 GMT+02:00 IOhannes m zmoelnig zmoelnig@iem.at:
On 2016-03-31 12:32, Marco Matteo Markidis wrote:
So, it is not the best programming practice but it works and it is quite transparent from the user point of view.
i think it is less question of "good programming practice" but of (not) breaking functionality. if you introduce some clock delay, then the object make break the expected order of execution.
- how does it work in "-nogui" mode?
- how does it work in "-noloadbang" mode?
- how does it work if the object is hidden in a sub-patch/abstraction?
- how does it relate to other [loadbang]s?
- how does it relate to other nested [loadbang]s?
- how does it work with other [delay]ed [loadbang]s?
using [delay] to ensure a certain order of execution can often lead to subtle problems. i wonder whether the feature of being able to suppress the bang via a pressed key during load time is worth the potential problems it makes.
fgamsdr IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Marco, I didn't get what happens when you have the -noloadbang flag, I think it'd make sense in the Pd world that it doesn't work
cheers
2016-03-31 10:16 GMT-03:00 Marco Matteo Markidis mm.markidis@gmail.com:
Thank you Iohannes for your answer.
I have me too several doubts about the way I wrote it and in general if there is a "good" way to implement this feature. About your questions, it works with -noloadbang mode and in subpatch. If I put a [loadbang] with the same delay than the [loadmess] clock [loadmess] arrives first.
Anyway, actually I don't think to make public this code because I'm not convince about it. Thank you again.
Best regards.
2016-03-31 14:52 GMT+02:00 IOhannes m zmoelnig zmoelnig@iem.at:
On 2016-03-31 12:32, Marco Matteo Markidis wrote:
So, it is not the best programming practice but it works and it is quite transparent from the user point of view.
i think it is less question of "good programming practice" but of (not) breaking functionality. if you introduce some clock delay, then the object make break the expected order of execution.
- how does it work in "-nogui" mode?
- how does it work in "-noloadbang" mode?
- how does it work if the object is hidden in a sub-patch/abstraction?
- how does it relate to other [loadbang]s?
- how does it relate to other nested [loadbang]s?
- how does it work with other [delay]ed [loadbang]s?
using [delay] to ensure a certain order of execution can often lead to subtle problems. i wonder whether the feature of being able to suppress the bang via a pressed key during load time is worth the potential problems it makes.
fgamsdr IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hi Alex,
if you start Pd with -noloadbang [loadmess] doesn't output values, even without holding keys.
2016-03-31 22:36 GMT+02:00 Alexandre Torres Porres porres@gmail.com:
Marco, I didn't get what happens when you have the -noloadbang flag, I think it'd make sense in the Pd world that it doesn't work
cheers
2016-03-31 10:16 GMT-03:00 Marco Matteo Markidis mm.markidis@gmail.com:
Thank you Iohannes for your answer.
I have me too several doubts about the way I wrote it and in general if there is a "good" way to implement this feature. About your questions, it works with -noloadbang mode and in subpatch. If I put a [loadbang] with the same delay than the [loadmess] clock [loadmess] arrives first.
Anyway, actually I don't think to make public this code because I'm not convince about it. Thank you again.
Best regards.
2016-03-31 14:52 GMT+02:00 IOhannes m zmoelnig zmoelnig@iem.at:
On 2016-03-31 12:32, Marco Matteo Markidis wrote:
So, it is not the best programming practice but it works and it is
quite
transparent from the user point of view.
i think it is less question of "good programming practice" but of (not) breaking functionality. if you introduce some clock delay, then the object make break the expected order of execution.
- how does it work in "-nogui" mode?
- how does it work in "-noloadbang" mode?
- how does it work if the object is hidden in a sub-patch/abstraction?
- how does it relate to other [loadbang]s?
- how does it relate to other nested [loadbang]s?
- how does it work with other [delay]ed [loadbang]s?
using [delay] to ensure a certain order of execution can often lead to subtle problems. i wonder whether the feature of being able to suppress the bang via a pressed key during load time is worth the potential problems it makes.
fgamsdr IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list