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

RedLoopDisk
ExtensionExtension

loop a soundfile from disk
Location: NOT INSTALLED!

Description

Nothing fancy. This class just streams a soundfile from disk using DiskIn.

NOTE: Soundfiles with sample rate that differ from the server's current samplerate will play back at wrong speed. This because of how DiskIn works.

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

Pointless. Just here to keep the same interface as RedLoop

.free

Stops playing and frees the buffer.

Inherited instance methods

Examples