I created a audiocontext instance suing web audio , and loaded the music file as a audiobuffer into it and i can play the songs now , and my question is:Is there any way i can set tempo of the audiosource(audiobuffer) by any node and play accordingly ?
I have tried with
var context = AudioContext();
source= context.createBufferSource();
context.nodes.push(source);
source.buffer = Audiobuffer;
source.playbackRate.value = 1.5;
And the problem above is , it is changing the pitch of the audio files, how to change the tempo without changing the pitch ?.