A decade ago I used to perform on this thing called the Monome. I used a max patch that was able to slice live sample using a simple equal spaced slice grid. Here's a video to show what it is to those who don't know it already: https://vimeo.com/2441155
I started looking at the object that loaded samples but got a little bit stuck regarding getting the sample size.
At the moment I tried @Sputnki slicer i but I was able to get the sample exact size size since the table alloc 16 objects only load on fixed size buffer. My goal here is to get the size of each sample and driving the play head with a value from 0 to 1.
Then I played with the wave/ play fn stereo object which was able to tell when the sample playback ended so I was able with a couple of logic object to loop the sample. Still slicing gets tricky unless you take the time to manually set the aize of each sample.
So my question are :
Is there a way (an object a C function) to allocate a sample with a buffer the exact size of it ?
Is there a way to get the sample length ?