RedLoop:
Filter:
Classes (extension) | Red > redSampler

RedLoop
ExtensionExtension

loop a soundfile from memory
Location: NOT INSTALLED!

Description

Nothing fancy. This class just plays a soundfile from RAM using PlayBuf.

Class Methods

.new

Creates a new instance. If Server.default is not booted, then this will boot it.

Inherited class methods

Instance Methods

.amp

Set the amplitude.

.channels

Returns the number of channels in the soundfile.

.length

Returns the duration of the soundfile in seconds.

.buffer

Returns the Buffer instance.

.free

Stops playing and frees the buffer.

Inherited instance methods

Examples