title: WaveSurfer.js - Play and control multiple tracks at the same time
body: <p>I am working with <a href="https://wavesurfer-js.org" rel="nofollow noreferrer">https://wavesurfer-js.org</a> and I have 10 different tracks loading on a page. I need to be able to control all of them at the same time.</p>
  
  <p>Currently, I am playing them like this</p>
  
  <pre><code>tracks.forEach(function(track){
  
              track.on('ready', function(){
                  track.play();
              });
  
          });
  </code></pre>
  
  <p>The problem is that they start as soon as they are ready so they are not in sync.</p>
  
  <p>How can I wait for all of them to be ready?
  How could I manage all of them simultaneously so when I skip to a certain point, all of them do?</p>
  
  <p>Thanks</p>