scruffyduck Posted January 26, 2005 Report Share Posted January 26, 2005 Quick question - is there an easy way to extract the playing time of sound from a wav file. I suspect I could do it with a win32 API declare but can't find that one in my documentation thanks in advanve Link to comment Share on other sites More sharing options...
Pete Dowson Posted January 26, 2005 Report Share Posted January 26, 2005 Quick question - is there an easy way to extract the playing time of sound from a wav file. I suspect I could do it with a win32 API declare but can't find that one in my documentation Not my subject, sorry. Maybe someone here may know, but it seems more a general programming question. Perhaps something in http://www.gamedev.net/reference/programming may help? Regards, Pete Link to comment Share on other sites More sharing options...
scruffyduck Posted January 26, 2005 Author Report Share Posted January 26, 2005 thanks Pete - just thought someone else may have done it - I will follow up your suggestion Link to comment Share on other sites More sharing options...
Thomas Molitor Posted January 26, 2005 Report Share Posted January 26, 2005 What you need is located in the "winmm.dll". I have a VB class, that can open and analyze a wave file. Calculating the length of the audio stream can be easily done with this code. Let me know if you want it. Regards Thomas Link to comment Share on other sites More sharing options...
scruffyduck Posted January 26, 2005 Author Report Share Posted January 26, 2005 Yes please Thomas - that would be most helpful. my email address is jon@scruffyduck.co.uk Link to comment Share on other sites More sharing options...
Thomas Molitor Posted January 26, 2005 Report Share Posted January 26, 2005 You've got new mail! :D Thomas Link to comment Share on other sites More sharing options...
scruffyduck Posted January 26, 2005 Author Report Share Posted January 26, 2005 got it thanks Thomas :D Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now