sono icon indicating copy to clipboard operation
sono copied to clipboard

How we can get duration after changing the playback rate?

Open tareq0065 opened this issue 7 years ago • 0 comments

is there any way to get adjusted duration after change the playbackrate of audio? I have a dynamic tempo controler to change tempo for all tracks. I want to get the adjusted duration after change playbackrate to hold this for next. I am trying like below:

tracksList.map((item, index) => { const sound = sono.get(item.id) sound.playbackRate = _this.state.tempo sound.on('complete', (audio) => { console.log(audio) }) But did not getting the adjusted duration. Actually this is not an issue.

tareq0065 avatar Dec 11 '18 06:12 tareq0065