I'm a beginner in PureData but would like to create a keyboard-based sampler that, when a key is pressed, it cycles through a bank of samples randomly. For instance, let's say that I play a middle C - what comes out is an endless loop of randomly selected 1/10 of a second clips taken from randomly chosen points inside of samples in a sample bank.
So, let's say I have 3 samples, each 10 seconds long, sitting in a folder somewhere. As soon as a key is triggered, points in those samples are randomly accessed and played for 1/10 of a second, linearly. 1/10 second here, 1/10 second there, etc. If the key is held down, it loops through these samples indefinitely.
I'm not sure if this is possible or not and I'd appreciate any help regarding this idea. Thanks very much.