docs: public void setWaveformPreview(WaveformPreview preview, TrackMetadata metadata) {
          updateWaveform(preview);
          this.duration.set(metadata.getDuration());
          this.cueList.set(metadata.getCueList());
          clearPlaybackState();
          repaint();
      }