amplitudejs icon indicating copy to clipboard operation
amplitudejs copied to clipboard

Question - How can I display duration of the songs.

Open ArmanGrewal opened this issue 7 years ago • 4 comments

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

ArmanGrewal avatar Mar 24 '18 00:03 ArmanGrewal

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.

danpastori avatar Jun 14 '18 00:06 danpastori

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.

danpastori avatar Jul 15 '19 19:07 danpastori

I'm looking at this functionality for my project too. From a discussion on StackOverflow, I found this project, which looks promising.

bitjeep avatar Apr 07 '22 16:04 bitjeep

The web audio api solution is very interesting. Thanks for sharing, I'm going to re-open this and run some tests.

danpastori avatar Apr 07 '22 17:04 danpastori