<font color="#cc0000"><font>Greetings All<br><br>I'm trying to count how may times an audio file is looped then cause it to stop after say 6 loops.<br><br>1) I plan on using the "select" object to compare the sample size (22050) to where the playing wav file is located<br>
2) create a bang into "cup" object from the "select" object, this will count the number of loops.<br>3) Use another "select" object to stop when it reaches 6<br><br>The problem I'm having is trying to compare the sample size to where the playing wav file is currently located.<br>
I can get the sample size using the "wavinfo" object but how do I get the current location of the playing wav file.<br>(I tried using the "metro 50" object with the "snapshot~" object) but the numbers don't seem be matching up<br>
<br>Is there another way I should be doing this<br><br>Thanks<br></font></font>