<div>When you use phasor~, you normally already know how long it will take for the sound to be finished playing (because you set its frequency to play it back at the proper speed)</div><div>Store the information about the sound loaded (or recorded) and use that to stop the playback after one play duration.</div>
<div><br></div><div>[del <time>]</div><div>|</div><div>[t b b]</div><div>| |</div><div>[0( [0(</div><div>[ |</div><div>[phasor]</div><div><br></div><div><div>You get <time> ms is from [soundfiler]--[/ 44.1], or the length of your table times 44.1. (assuming your sound runs at 44.1 kHz)</div>
<div>Probably best to put a [hip~ 5] after that, in case the first sample of your table is not 0.</div><div><br></div>Tim</div><div><br></div><div><br><div class="gmail_quote">2011/9/19 Pierre Massat <span dir="ltr"><<a href="mailto:pimassat@gmail.com">pimassat@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I generally use threshold~, though it's quite tricky too...<br><font color="#888888"><br>Pierre</font><div><div></div>
<div class="h5"><br><br><div class="gmail_quote">2011/9/19 James Dunn <span dir="ltr"><<a href="mailto:james@4thharmonic.com" target="_blank">james@4thharmonic.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">Hi list,<br>
<br>
I'm controlling tabread4~ with a phasor~ but don't want my samples to loop (most of the time). What's the best way to detect a phasor~'s reset? ( in both directions - I'm playing the samples forwards and backwards). I've looked at edge~ and samphold~ triggered by a bang~ but it seems quite tricky.<br>
<br>
thanks<br>
<br>
James<br>
<br>
______________________________<u></u>_________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">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/<u></u>listinfo/pd-list</a><br>
</blockquote></div><br>
</div></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>