<div dir="ltr">Wow, thanks! You've fundamentally changed my understanding of [trigger]. I didn't realize it actually waited for the operation to complete before sending the next event.<div><br></div><div>Works great now, thanks again.</div>
<div><br></div><div>-martin</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 6, 2014 at 5:24 AM, Jack <span dir="ltr"><<a href="mailto:jack@rybn.org" target="_blank">jack@rybn.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hello Martin,<br>
<br>
It should be quite simple with a [trigger] to get a bang when
[folder_list] and [pix_buffer] have finished their job.<br>
To simplify :<br>
<br>
<tt>[t b b b]</tt><tt><br>
</tt><tt>| | |<br>
| | [folder_list]<br>
| |<br>
| [pix_buffer]<br>
|<br>
final bang<br>
<br>
</tt>++<br>
<br>
Jack<br>
<br>
<br>
<br>
Le 05/03/2014 22:59, Martin Eckart a écrit :<br>
</div>
<blockquote type="cite"><div><div class="h5">
<div dir="ltr">Hi all,
<div><br>
</div>
<div>I'm loading a series of images into a pix_buffer using
folder_list and [open( messages. I would then like to send a
bang event once all the images are loaded.</div>
<div><br>
</div>
<div>1) Is there a way to find out when pix_buffer has finished
loading an image? Maybe pix_buffer_write has something?</div>
<div>2) Is there a way to know when folder_list has finished
outputting all the files?</div>
<div>
<br>
</div>
<div>This seemingly easy problem has me scratching my head. The
best workaround I can think of at the moment is to just build
in a long enough delay before triggering the finished event
but that feels like a dirty hack.</div>
<div><br>
</div>
<div>Thoughts?</div>
<div><br>
</div>
<div>-martin</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br></div>