使用

let wavesufer=WaveSurfer.create({
  container: '#waveform',
  scrollParent: true,
  barWidth:2
})