Skip to content

Commit

Permalink
fix start when
Browse files Browse the repository at this point in the history
  • Loading branch information
kuboon authored Nov 24, 2021
1 parent 1b1aa3d commit a29d0f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sound.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,5 @@ export function play(tag: string) {
source.playbackRate.value = Math.random() + 0.5;

source.connect(gain);
source.start(0);
source.start(context.currentTime);
}

0 comments on commit a29d0f2

Please sign in to comment.