both of these responses are very helpful but only if all of the files are the same length. i currently have the buffer~ size set at 40000 to play short and long files of varying lengths. is there anyway to dynamically set the buffer~ size for each file that is loaded in from a folder object so there will be a bang at the end of each unique file? or is there another way to do it?
i've had a similar problem,- when groove~ is trying to find his looppoints after the buffer~ is resized..... I have no idea why this is happening, but sending a 'set' message to the groove~ everytime the buffer~ is resized seems to fix the problem ??
Thanks for all of the responses. I've noticed that it is buggy for files larger than say 5 seconds. Could there be a reason for this? Sending set to groove~ does nothing. Yes, turning off/on audio seems to rest it but of course this is very impractical.
Thanks for all of the above help. I appreciate all of your time very much. Unfortunately, I have not resolved the original problem. I am using groove~ and buffer~ along with the folder object and I need a bang when an audio file is finished being played as in sfplay~. The audio files are various lengths from approx. 3-60 seconds. My patch works for a while but then I start to get bangs before files are actually finished playing, especially for files over 5 seconds. I notice the same thing happens for Jonathan Segel's patch offered here. Are there any more ideas or suggestions?