Skip to content
Discussion options

You must be logged in to vote

The easiest would be to position 3 wavesurfer containers next to each other with CSS and write some JS to sequentially play them, something like this:

const wavesurfers = [
  WaveSurfer.create({ ... }),
  WaveSurfer.create({ ... }),
  WaveSurfer.create({ ... })
]

wavesurfers.reduce((prev, next) => {
  prev.on('finish', () => next.play()
  return next
})

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kakashy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants