I'm trying to put together something that can read a .wav file, and figure out the length in seconds.
Could anyone show me a simple way of doing it?
I know that the equation is t = size / byte rate.
However, I have no clue how to get those data.
Also, if anyone can tell me how to make it so that it can read any audio file I would greatly appreciate it.