Skip to content

Commit

Permalink
Update i.js
Browse files Browse the repository at this point in the history
idek
  • Loading branch information
EdricCantu committed Mar 18, 2024
1 parent 278d680 commit 46d0439
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions i.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ function play(){
}
function stop(){
playpause.children[0].src = "play.svg"
gain.gain.exponentialRampToValueAtTime(1e-9, context.currentTime+0.1);
gain.gain.exponentialRampToValueAtTime(1e-9, context.currentTime+0.25);
stopping = true;
setTimeout(()=>{
oscillator.stop();
oscillator = undefined;
stopping = false;
}, 0.2);
}, 0.5);
}


Expand Down

0 comments on commit 46d0439

Please sign in to comment.