WavFile.WavHeader

WAV file header

Constructors

this
this(ubyte[] rawData)

default constructor from raw WAV file data

Members

Variables

bitsPerSample
ushort bitsPerSample;

bits per sample - 8-16-etc

bytesPerSample
ushort bytesPerSample;

bitsPerSample * channels / 8

bytesPerSecond
uint bytesPerSecond;

samplerate * bitsPerSample * channels / 8

channels
ushort channels;

no. of channels

dataSize
uint dataSize;

size of data section

format
ushort format;

type of format. 1 means PCM

samplerate
uint samplerate;

samples per second

size
uint size;

number of bytes after this (overall file size - 8)

Meta