<br><br><div class="gmail_quote">2011/9/19 Jonathan Wilkes <span dir="ltr">&lt;<a href="mailto:jancsika@yahoo.com">jancsika@yahoo.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
<br>
<br>
<br>
<br>
&gt;________________________________<br>
&gt;From: tim vets &lt;<a href="mailto:timvets@gmail.com">timvets@gmail.com</a>&gt;<br>
&gt;To: Pierre Massat &lt;<a href="mailto:pimassat@gmail.com">pimassat@gmail.com</a>&gt;; James Dunn &lt;<a href="mailto:james@4thharmonic.com">james@4thharmonic.com</a>&gt;; pd-list &lt;<a href="mailto:pd-list@iem.at">pd-list@iem.at</a>&gt;<br>


&gt;Sent: Monday, September 19, 2011 4:08 PM<br>
&gt;Subject: Re: [PD] stop sample playback when phasor~ reset?<br>
<div class="im">&gt;<br>
&gt;<br>
&gt;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)<br>
&gt;Store the information about the sound loaded (or recorded) and use that to stop the playback after one play duration.<br>
&gt;<br>
&gt;<br>
&gt;[del &lt;time&gt;]<br>
&gt;|<br>
&gt;[t  b  b]<br>
&gt;|        |<br>
&gt;[0(     [0(<br>
&gt;[        |<br>
&gt;[phasor]<br>
<br>
</div>What&#39;s the benefit of this over a line~ based approach?<br>
<font color="#888888"><br></font></blockquote><div><br></div><div>It depends what you want to do, i guess, for doing granular synthesis and the like, I&#39;d use phasor~ rather than line~. The benefit being that fast repetition is easier ( try [metro 0.5] ...).</div>

<div>Tim</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><font color="#888888">
-Jonathan<br>
</font><div><div></div><div class="h5"><br>
<br>
&gt;<br>
&gt;<br>
&gt;You get &lt;time&gt; ms is from [soundfiler]--[/ 44.1], or the length of your table times 44.1. (assuming your sound runs at 44.1 kHz)<br>
&gt;Probably best to put a [hip~ 5] after that, in case the first sample of your table is not 0.<br>
&gt;<br>
&gt;Tim<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;2011/9/19 Pierre Massat &lt;<a href="mailto:pimassat@gmail.com">pimassat@gmail.com</a>&gt;<br>
&gt;<br>
&gt;I generally use threshold~, though it&#39;s quite tricky too...<br>
&gt;&gt;<br>
&gt;&gt;Pierre<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;2011/9/19 James Dunn &lt;<a href="mailto:james@4thharmonic.com">james@4thharmonic.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt;Hi list,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;I&#39;m controlling tabread4~ with a phasor~ but don&#39;t want my samples to loop (most of the time). What&#39;s the best way to detect a phasor~&#39;s reset? ( in both directions - I&#39;m playing the samples forwards and backwards). I&#39;ve looked at edge~ and samphold~ triggered by a bang~ but it seems quite tricky.<br>


&gt;&gt;&gt;<br>
&gt;&gt;&gt;thanks<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;James<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;_______________________________________________<br>
&gt;&gt;&gt;<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt;&gt;&gt;UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;_______________________________________________<br>
&gt;&gt;<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt;&gt;UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;_______________________________________________<br>
&gt;<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt;UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>