BufferProxy:
Filter:
crucial-library/Classes (extension) | Libraries > crucial > Buffers

BufferProxy
ExtensionExtension

allocates a Buffer on play

Description

Allocates and supplies a buffer for use in Patches. The buffer is unfilled, suitable for recording, looping, overdubbing or reverbs.

See Sample (a subclass of BufferProxy) if you need to load soundfiles.

Make sure your audio input and buffer numChannels match.

an argName of spec symbol of \buffer will create a BufferProxySpec with the default 44100 frames (1 second). you can place a BufferProxySpec and specify any default size you would like.

this is the DEFAULT that will be used if you DON'T specify an input to a Patch. Usually you pass in a BufferProxy to the patch that is the size that you wish.

Class Methods

.new

Arguments:

numFrames
numChannels
sampleRate

Instance Methods

.buffer

.patchOut

.readyForPlay

.server

.size

.numChannels

.sampleRate

.forArgi

.storeArgs

.prepareToBundle

Arguments:

group
bundle

.makePatchOut

.free

.freeToBundle

Arguments:

bundle

.freePatchOutToBundle

Arguments:

bundle

.freeHeavyResources

.initForSynthDef

Arguments:

synthDef
argi

.numFrames

.bufnum

.asUgenInput

.synthArg

.bufnumIr

.bufnumKr

.sampleRateIr

.sampleRateKr

.bufRateScaleKr

.bufRateScaleIr

.bufFramesKr

.bufFramesIr

.bufSamplesKr

.bufSamplesIr

.bufDurKr

.bufDurIr

.bufChannelsKr

.bufChannelsIr

.rate

.spec