Wav

Object describing the audio format WAV.

Members

Functions

dup
Wav dup()

Dynamic copy

load
void load(string file)

Loads an audio format from a file.

Variables

audioFormat
ubyte audioFormat;

Audio format.

bitsPerSample
ushort bitsPerSample;

Significant Bits Per Sample

blockAlign
ushort blockAlign;

Block Align

byteRate
uint byteRate;

Channel speed. in bytes.

data
ubyte[] data;

Sound data

numChannels
ushort numChannels;

The number of channels.

sampleRate
uint sampleRate;

Channel speed.

Meta