Forums > Java

creating files out of buffer slices

Dec 15 2011 | 12:00 pm

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.

— Pasted Max Patch, click to expand. —
Dec 15 2011 | 12:21 pm

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)

Dec 15 2011 | 12:35 pm

You might do it like this in Max 6:

-- Pasted Max Patch, click to expand. --

or use ‘mxj buf.Op’to do the same thing in Max5

Dec 15 2011 | 12:47 pm

I already implemented it , thank you very much, here is the working algorithm

-- Pasted Max Patch, click to expand. --

Viewing 4 posts - 1 through 4 (of 4 total)

Forums > Java