简体   繁体   中英

wavesurfer.js play([start[, end]]) end not working

I'm making a sampler with wavesurfer.js and recorder.js. everything is working smoothly except i can't adjust the loop length using play([start[, end]]).

wavesurfer.seekTo(1);
wavesurfer.play(1,2);

the seekto() method works fine but can't change the end of the loop. I want to be able to start the sample at 1 second in and end 2 seconds in.

please help

对于感兴趣的任何人,此问题已解决,.seekTo()现在可以按预期工作

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM