Commission Music

Commission Music
Bespoke Noise!!

Sunday, 10 May 2009

BufferTool

A while back, I wrote some code and put it in a class called BufferTool. It's useful for granulation. Any number of BufferTools may point at a single Buffer. Each of them knows it's own startFrame, endFrame and duration. Each one also can hold an array of other BufferTools which are divisions of itself. Each one may also know it's own SynthDef for playback and it's own amplitude. You can mix and match arrays of them.

You can give them rules for how to subdivide, like a set duration of each grain, a range of allowable durations or even an array of allowed duration lengths. Or, it can detect pauses in itself and subdivide according to them. It can calculate the fundamental pitch of itself.

I want to release this as a quark, but first I'd like it if some other people used it a bit. The class file is BufferTool.sc, and there's a helpfile and a quark file.

Leave comments with feedback, if you'd like.

No comments: