scruffyduck Posted January 26, 2005 Report 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
Pete Dowson Posted January 26, 2005 Report 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
scruffyduck Posted January 26, 2005 Author Report Posted January 26, 2005 thanks Pete - just thought someone else may have done it - I will follow up your suggestion
Thomas Molitor Posted January 26, 2005 Report 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
scruffyduck Posted January 26, 2005 Author Report Posted January 26, 2005 Yes please Thomas - that would be most helpful. my email address is jon@scruffyduck.co.uk
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