We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 830e66e commit 216af0cCopy full SHA for 216af0c
function.js
@@ -74,14 +74,18 @@ function selectionSort() {
74
.attr("x", function (d) {
75
return bandScale(d);
76
});
77
- var swooshAudio = new Audio("sound-effects/swoosh.mp3");
+ var swooshAudio = new Audio(
78
+ "/algorithm-visualizer/sound-effects/swoosh.mp3"
79
+ );
80
swooshAudio.play();
81
}
82
83
await timer(1000); // then the created Promise can be awaited
84
85
svg.selectAll("rect").style("fill", "green");
- var completeAudio = new Audio("sound-effects/complete.mp3");
86
+ var completeAudio = new Audio(
87
+ "/algorithm-visualizer/sound-effects/complete.mp3"
88
89
completeAudio.play();
90
91
sort();
0 commit comments