BufSelector:
Filter:
BBCut/Classes (extension) | Libraries > BBCut > Core

BufSelector
ExtensionExtension

Proxy for switching between BBCutBuffers

Description

Fake interface to a BBCutBuffer object so that you can swap Buffers with each block/each phrase (depending on how you setup your index function).

This class only works with CutBuf2 and 3, but not with CutBuf1, which is too efficient to allow for adaptable buffers.

Class Methods

.new

Arguments:

array

Array of BBCutBuffer objects

indexfunc

Function of the form {arg block, lastindex; } which returns an index into the array

Examples