Buffer~ To PolyBuffer~

Jan 15, 2014 at 10:11am

Buffer~ To PolyBuffer~

Hey all,

I’ve created a patch that takes recorded input from a user, and then by detecting amplitude transients adds a ‘slice’ for each to a coll. The end result is a coll with the start/end times (ms) of each ‘slice’. I can then use groove~ or play~ to play each segment from the defined start/end point.

I now want to copy each slice individually into a PolyBuffer so I can sequence and manipulate them further. As the ‘slices’ are each being read from the original recorded master buffer, and are not themselves individual buffers, I am having trouble putting each into a PolyBuffer.

Does anybody have any suggestions as to how this can be done?

I wish Max had more functionality for automated adding of buffer objects etc, as I would just count the number of slices, create X instances of blank buffer objects, copy the original recording to each, and then ‘crop’ each buffer respectively. I could then add all of these to a buffer. However maybe I’m too used to standard programming !

Thanks for any suggestions!

#278301
Jan 17, 2014 at 1:11am

look at Max/Cycling ’74/java/help/buf.Op.maxhelp

you can copy,split or merge buffers

#278432

You must be logged in to reply to this topic.