Code: Select all
audio.playBackRate = 2;
Code: Select all
var audio = new Audio();
audio.src = "sound_effect.wav";
audio.pitch = 2 //doubling the pitch but there is no pitch attribute
audio.play();
Code: Select all
audio.playBackRate = 2;
Code: Select all
var audio = new Audio();
audio.src = "sound_effect.wav";
audio.pitch = 2 //doubling the pitch but there is no pitch attribute
audio.play();