audiocontext - Change tempo of audio file without changing the pitch of the clip -
i created audiocontext instance suing web audio , , loaded music file audiobuffer , can play songs , , question is:is there way can set tempo of audiosource(audiobuffer) node , play accordingly ?
i have tried
var context = audiocontext(); source= context.createbuffersource(); context.nodes.push(source); source.buffer = audiobuffer; source.playbackrate.value = 1.5;
and problem above , changing pitch of audio files, how change tempo without changing pitch ?.
Comments
Post a Comment