| Package | com.noteflight.standingwave2.formats |
| Class | public class WaveFile |
| Inheritance | WaveFile Object |
| Method | Defined By | ||
|---|---|---|---|
createSample(wav:ByteArray):Sample [static]
Given a WAV file in the form of a ByteArray, return a Sample
that includes its data. | WaveFile | ||
writeHeader(dataSize:uint, sampleRate:uint, numChannels:uint, bitDepth:uint):ByteArray [static] | WaveFile | ||
| createSample | () | method |
public static function createSample(wav:ByteArray):SampleGiven a WAV file in the form of a ByteArray, return a Sample that includes its data.
Parameters
wav:ByteArray |
Sample |
| writeHeader | () | method |
public static function writeHeader(dataSize:uint, sampleRate:uint, numChannels:uint, bitDepth:uint):ByteArrayParameters
dataSize:uint | |
sampleRate:uint | |
numChannels:uint | |
bitDepth:uint |
ByteArray |