Hello list,<br><br>I'm working on a (looping) sample player right now with pitch change, start and end, and loop controls... Looping is going fine but I am looking for a better way of making a oneshot sample play with tabread4~.&nbsp; I've attached a re-creation of what I am doing - using a metro at high speed (1 ms) driving snapshot~ so that the frequency goes back down to 0 when snapshot yields a value from the phasor~ approaching 1 (my &gt; test is set at .99 now).
<br><br>Problem is, when I change the frequency of that phasor~ up really high, the snapshot~ misses the values sometimes and it keeps looping instead of stopping like I want it to.&nbsp; Is there a better way of doing this?&nbsp; I thought about using line~ or vline~ to drive tabread4~ but that wouldn't allow for pitch changes while the sample is being played, because the messages being sent to line~ would cause it to reset every time they changed.&nbsp; Also, a pipe object for the length of the sample (at whatever speed) wouldn't do it either.
<br><br>NOTE: I know I can use susloop~ for this just fine (what a great object!), but I am trying to make it using only native Pd objects so that I can share this without requiring anything else.&nbsp; I want to distribute it as a learning patch because my school is interested in teaching some Pd eventually.&nbsp; Plus I wouldn't really learn as much as I have if I was just using susloop~ ;)
<br><br>Any help is very much appreciated!<br>Kevin<br>