views:

220

answers:

2

I'm playing wav sound files using the .NET SoundPlayer class in my program, is it somehow possible to get the length of the wav file (in milli sec) ? thanks for answers

A: 

This article at DDJ might point you in the right direction. It's doing it for MP3s, but it should be easily adaptable for WAVs.

Jesse C. Slicer
A: 

You can use http://alvas.net/alvas.audio,tips.aspx#tip25 for these purposes

alex