playlist leaks memory each time you seek and I could not figure out where. <br><br><div><span class="gmail_quote">On 6/14/06, <b class="gmail_sendername">james tittle</b> <<a href="mailto:tigital@mac.com">tigital@mac.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>On Jun 14, 2006, at 8:27 AM, chris clepper wrote:<br><br>> Is there a way to get a random file of a certain type (like .mov)
<br>> from a specific directory using your objects?<br><br>...why don't you use playlist from unauthorized? It's included in pd-<br>extended: just remember that it's referenced as "unauthorized/<br>playlist"...so, you'd want to try something like:
<br><br>[location /path/to/mov/directory<<br>| [nmbr]<br>| |<br>| [seek $1<<br>|/<br>[unauthorized/playlist mov 200 200]<br><br>...[seek < lets you cycle thru name list (with auto wraparound!), so<br>just send a random number to it...
<br><br>jamie<br></blockquote></div><br>