Home Getting audio markers with the Web Audio API
Reply: 1

Getting audio markers with the Web Audio API

MysteryPancake Published in 2017-12-05 10:51:33Z

The title really says it all. If I have an audio file in a format such as WAV that contains some markers at certain points of time, is there a way to get an array of those markers, preferably using the Web Audio API?

I seem to remember seeing a method to do so before, but I can't seem to find it.

Any help or suggestions would be great!

K3N Reply to 2017-12-05 10:59:19Z

Web Audio API doesn't support parsing marker chunks ("cue "s) in WAVE-RIFF, only the audio data itself.

You'll have to parse and extract the marker chunks manually using for example typed arrays and DataView after loading the file as ArrayBuffer (unrelated to Web Audio API per-se).

It's a bit broad for giving a solution, but this article should be able to point you in the right direction as to how.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.443915 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO