TPANU3OQD53OXF5IGXJELSD5FFMY7KHDSVZTPSUG3VZBUAPNPK6QC
// Add timeline plugin
wavesurfer.registerPlugin(
Timeline.create({
container: timelineRef.current,
height: 20,
timeInterval: 60,
primaryLabelInterval: 1,
secondaryLabelInterval: 1,
style: {
fontSize: '12px',
color: '#666',
},
})
);
// Add regions plugin
wavesurfer.registerPlugin(
Regions.create()
);