bbc / peaks.js

JavaScript UI component for interacting with audio waveforms
https://waveform.prototyping.bbc.co.uk
GNU Lesser General Public License v3.0
3.2k stars 279 forks source link

Using two instances of peaks.js on the same page #385

Closed amitgur closed 3 years ago

amitgur commented 3 years ago

I would like to use peaks to coordinate between two mono sound files. Is it possible to create two instances of peak on the same page. I tried it and it's not working Any help with that?

chrisn commented 3 years ago

It is possible to create two independent Peaks instances for two separate audio or video elements. I'd need more information to be able to help, what have to tried?

amitgur commented 3 years ago

Just checked it out, it's working. thanks