making play~ work more like sfplay~

youcloudsofdoom's icon

Hi, I'm trying to get the play~ object to accept a float to determine playback speed (0.0 - 1.0), and also to still send a bang out when the playback is complete. I have the buffer resizing etc all done, but the other two elements are eluding me - can anyone shine a light on this problem for me? Thanks so much!

youcloudsofdoom's icon

FYI, I've tried Groove with the delta~/

do.while's icon

are you tracking audio amplitude ? . you need to connect delta to the last outlet of your groove , to track your loop in phase range .

youcloudsofdoom's icon

Yeah, that's exactly what I'm doing - the issue is that when the samples drop to a very low volume it is triggering the bang ahead of time, because delta~ thinks the track has finished. Is there someway to map the bang to file length instead of volume?

do.while's icon

sir ! you cant rely on amplitude in this case . check "groove" help to see how to track the end of your duration phase . or i misunderstood you ?

youcloudsofdoom's icon

Well, I've already gone all through groove~ help (started there first, then searched the forums), and considering how many other people with a similar issue have posted here looking for answers, it seems that it is not an easy fix - though it puzzles me as to why play~ has a fairly simple bang out method, but no easy variable speed control, and groove~ has visa versa!