amplitudejs
amplitudejs copied to clipboard
Question - How can I display duration of the songs.
Hi,
I just want to show audio duration for each song. on page load(rather than playing it) I am using following html and it only shows value for active song-
Thanks
This one I'm trying to figure out. I want to iterate through and load the song duration but I don't know how to do that before playing. You could manually set this in the HTML if you know already.
Right now we are moving this to the roadmap and closing the issue. This will help us keep track of where we left off and what we still have left to do. Right now, I'm trying to find out how to just load the metadata for the file without the whole file.
I'm looking at this functionality for my project too. From a discussion on StackOverflow, I found this project, which looks promising.
The web audio api solution is very interesting. Thanks for sharing, I'm going to re-open this and run some tests.