I just wrote a patcher that did this last night. i won’t upload it, but here’s what you do:
groove~ outputs a position signal. use [snapshot~] to grab that signal. Now, use this [expr ($i3 – $i2) * $f1] and plug in the snapshot~ output, the min ms & max ms loop points in inlets 1, 2 and 3.
When you want to set a cue, use [grab] to send a bang to a float num box connected to the output of [ expr ]. You now have a translated groove’s signal output percentage into a ms value which can be fed directly into [groove~]’s first inlet.
I am using coll to keep a list of cues. it totally rocks!
I do this because I sample live and don’t bother with saved files.
> Hello, Is it possible to set cues for the buffer sound file without
> recording it to harddisc, i.e. using groove~ or play~?
You don’t need to, you can play right away as its in memory already.
The cues for sfplay~ will let you start playing immediately, no need to
wait for the harddisk to find what it should play.
A buffer~ obviously doesn’t need that trick…