creating files out of buffer slices
I have markers on a buffer~ created with a snapshot~ and a zl stream 2 and some more objects on a coll.. I need to record those slices into aiff and wav files in a specific location so that I can instantiate them at a certain point? how can I pick these portions of the buffer and save them.. I posted in this forum because I know there are more advanced guys here but if it is possible to do with js/mxj I would thank the solution, otherwise just script a bit
here is the patch I am working on
++ Pasted Max 5 Patch, click to retract. ++
Copy all of the following text within the two blue lines.Then, in Max, select New From Clipboard.
search for robin price mpg7 encoder mxj or easier: transfer the desired slice into a second temp buffer and save it from there. (I didn't check your patch)
O.
You might do it like this in Max 6:
or use 'mxj buf.Op'to do the same thing in Max5
I already implemented it , thank you very much, here is the working algorithm