Hi. I want to deteckt the exact length of a soundfile in ms. Is there any program i can use for that or how do you calculate this? Thanks, simter.
https://www.youtube.com/channel/UCvAUQt … subscriber
You are not logged in. Please login or register.
AudioGames.net Forum → Developers room → how can i deteckt the exact length of a sound file?
Hi. I want to deteckt the exact length of a soundfile in ms. Is there any program i can use for that or how do you calculate this? Thanks, simter.
Hello.
Windows media or other media players should be able to detect the exact length easily. I think in windows media you have to change the settings to time instead of percentage.
Hth.
You can also get the length in milliseconds with Audacity. Open the file with it and press Control + A to select the entire sound, or go under the Edit menu and go down to "select" and pick "all". Then tab down to the lower bar on the bottom of the window which has things like Project Rate(Hz), Snap To, Selection Start which is the start of the selection, and if you selected everything should be zero, and then End/Length which is the one you want. It should tell you the total length of the selected sound, which in this case would be everything, in hours, minutes, seconds, and fractions of a second aka: milliseconds.
hello simter.
if you are using vlc media player to listen the songs or other things whatever!
you can press insert plus b to know the informations.
thanks, i will propably try the vlc or audacity thing.
If you are using Winamp you can press ctrl+j and it'll tell you the length of the currently opened file
Another way to check the file length is in goldwave. Open a file, hit control end, then hit the right or left brackets. Both will set the markers for start or finish, but it should also tell you the length, or the position where the markers are at, which in this case equals the end of the file. From there it's simple if you have speech history and copying add on for NVDA, just hit f12, trim the unesessary info and you got your time.
This is all great and avesome, but why the check it's in the Developer's room?
i wanted to ask this question as well.
don't you think it should be in the off topic room?
but, if you want it programaticly, it is like this:
audio_time=total_samples/(sample_rate*channels*bits)
Thanks for the formula @visualstudio. Is there any comprechensive place where I can find little but useful math formulas like that one?
i think a website called dspguide.com exists which has a book for signal processing.
AudioGames.net Forum → Developers room → how can i deteckt the exact length of a sound file?
Generated in 0.020 seconds (46% PHP - 54% DB) with 12 queries