SPlayFileDisk:
Filter:
Classes (extension) | SInstruments

SPlayFileDisk
ExtensionExtension

a player for long soundfiles (mono)
Location: NOT INSTALLED!

Description

This class is a wrapper for VDiskIn and will take any soundfile with 1, 2 or 4 channels (by default) and stream it from disk. The resulting sound is mixed down to MONO. Use the subclasses SPlayFileDiskStereo for mixing down to STEREO, and SPlayFileDiskQuad for QUAD.

For a graphical user interface use it together with the class SPlayFileDiskView.

NOTE: This class is for playing back longer soundfiles from disk and it is using VDiskIn. For shorter soundfiles use the class SPlayFile instead as it plays from memory using Buffer and BufRd.

Class Methods

Inherited class methods

Instance Methods

.bufferSize

Set disk buffer size for the internal cueSoundFile buffer. The default is 8192. Decrease for faster frame updates and quicker play start, increase for disk dropout safety.

.frame

Get currently playing frame i.e. the current position in the (latest started) soundfile.

Returns:

a Float that is roughly indicates playhead position.

Inherited instance methods

Examples