Hi all,
I can't figure out why the message 'clear' in this patch is not sent to [oneshot]. Clicking it manually works fine.
Thxs for you help,
Alexandre
2010/2/19 Alexandre Castonguay acastonguay@artengine.ca
Hi all,
I can't figure out why the message 'clear' in this patch is not sent to [oneshot]. Clicking it manually works fine.
My guess: Trigger sequences the messages one after the other, but still within one event, or timeframe...or what's the name... So I think in your patch the 'clear' message and '42' arrive simultaneously. If you put a [del] object inbetween the trigger object and the 'clear' message it works, (see attachment) but that's surely not the right way to do these things. I also wonder what you would need this for. gr, Tim
Thxs for you help,
Alexandre _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hi Tim,
Thanks it works, the patch is just for simplicity. There were more conditions needed to reset the [oneshot] in the actual one...kind of beautiful in it's futile state however.
ttys,
a
tim vets a écrit :
2010/2/19 Alexandre Castonguay acastonguay@artengine.ca
Hi all,
I can't figure out why the message 'clear' in this patch is not sent to [oneshot]. Clicking it manually works fine.
My guess: Trigger sequences the messages one after the other, but still within one event, or timeframe...or what's the name... So I think in your patch the 'clear' message and '42' arrive simultaneously. If you put a [del] object inbetween the trigger object and the 'clear' message it works, (see attachment) but that's surely not the right way to do these things. I also wonder what you would need this for. gr, Tim
Thxs for you help,
Alexandre _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 2010-02-19 20:38, Alexandre Castonguay wrote:
Hi all,
I can't figure out why the message 'clear' in this patch is not sent to [oneshot]. Clicking it manually works fine.
which version on [oneshot] are you using?
the abstraction implementation seems to work as expected. the external version, seems to have a re-entrant bug, which explains your problem (the "once" flag is set after the data is sent to the outlet; so when you send "42" to the object, will will immediately send out it's value, triggering the clear message which will force the once-flag to be cleared; then control is returned to [oneshot] which set's the flag, effectively undoing the "clear")
this is all markEx trunk.
fgmasdr IOhannes
--- On Mon, 2/22/10, IOhannes m zmoelnig zmoelnig@iem.at wrote:
From: IOhannes m zmoelnig zmoelnig@iem.at Subject: Re: [PD] sending 'clear' to [oneshot] after a condition is met To: "Alexandre Castonguay" acastonguay@artengine.ca Cc: pd-list@iem.at Date: Monday, February 22, 2010, 10:31 AM On 2010-02-19 20:38, Alexandre Castonguay wrote:
Hi all,
I can't figure out why the message 'clear' in this
patch is not sent to
[oneshot]. Clicking it manually works fine.
which version on [oneshot] are you using?
the abstraction implementation seems to work as expected.
Hi IOhannes, Aside from deleting oneshot.dll on windows, how does one choose to use the abstraction version of [oneshot] in a patch?
Thanks, Jonathan