In the uncompressed situation I know I need to read the wav header, pull out the number of channels, bits, and sample rate and work it out from there: (channels) * (bits) *
Try code below from How to determine the length of a .wav file in C#
string path = @"c:\test.wav"; WaveReader wr = new WaveReader(File.OpenRead(path)); int durationInMS = wr.GetDurationInMS(); wr.Close();