SoundData

Contains raw audio samples. You can not play SoundData back directly. You must wrap a Source object around it.

Contents

Functions

SoundData:getBits Returns the number of bits per sample.
SoundData:getChannels Returns the number of channels in the stream.
SoundData:getSample Gets the sample at the specified position.
SoundData:getSampleRate Returns the sample rate of the SoundData.
SoundData:setSample Sets the sample at the specified position.
Data:getPointer Gets a pointer to the Data.
Data:getSize Gets the size of the Data.
Object:type Gets the type of the object as a string.
Object:typeOf Checks whether an object is of a certain type.

Supertypes

Data Object

See Also


Other Languages

Personal tools