timelength of a wav file

  • Thread starter Thread starter cyberco
  • Start date Start date
C

cyberco

Anybody here who knows how I can determine the length (in time) of a
wav file?
 
It's can be calculated from data in the RIFF header. Google the WAV format
and it should give you the layout. You get samples per second and samples
in the file. From that, time is easy to calculate.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded World
www.OpenNETCF.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top