Recommendations for audio editing (trim/cut) #3557
-
I am investigating the options for audio editing with wavesurfer. I came across this issue: #419, but its almost a decade old, so I am wonder if there are any alternatives/simpler ways of editing, especially trimming and cutting using wavesurfer. I would especially appreciate a feedback from @katspaugh on this, since you wrote this a decade ago: https://stackoverflow.com/questions/24551854/cut-and-paste-audio-using-web-audio-api-and-wavesurfer-js, but anyone else's feedback is also much appreciated. How would you implement cropping and trimming bits of audio nowaday's if you would need to? Is the answer above still the best/simplest solution? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
I think #419 still makes sense. Basically the steps would be:
|
Beta Was this translation helpful? Give feedback.
-
I was able to implement this super easily with the help from the link by incorporating a second hidden wavesurfer to deal with the encoding challenge:
This library is brilliant - I am excited to see what else I can do with it! |
Beta Was this translation helpful? Give feedback.
I think #419 still makes sense.
Basically the steps would be:
sampleRate
in wavesurfer options so that the decoded data is in audio quality