I am using howler.js to manage sounds within my html/css/js project, everything is working fine, the only point that took me hours of research without success is: How can I get the length of a sound using howler.js methods?
Using howler.js, you can simply do the following:
sound._duration
You may also want to wrap that inside of the onload event as you won't be able to get the duration until the sound has loaded.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With