I want to create a patch which loads all the samples I have stored in a specified location and then generates a sample at random when triggered.
I've set up polybuffer~ to create buffers for each sample, so far so good, but when it comes to playing the samples back I can't find a way to relate a groove~ object to the buffers stored in polybuffer~ without having to manually create and name groove~ objects for each of the buffers I have created. I'm sure there's an easier way of doing this, as in setting up a groove~ object where the groove name is polybuffername.#1 and I can control the index number by sending random numbers to groove.
Is there a way of doing this, or can anyone suggest another solution for my problem? Requirement is just to trigger playback of a sample chosen at random from a specified location.
Any help would be greatly appreciated....