RedBuffer:
Filter:
redGrain/Classes (extension) | Red > redGrain

RedBuffer
ExtensionExtension

buffer a segment of a soundfile

Description

This class creates buffers with segments from sound files.

Class Methods

.new

create, load and return a Buffer.

Arguments:

server

where to create the buffer

path

a path to a sound file

segmentOffset

in percent (e.g. 0.5 means start loading 50% into the sound file)

segmentLength

in seconds

Examples