Skip to content

Commit

Permalink
feat: Modify paw pattern for rtttl to 95% left
Browse files Browse the repository at this point in the history
  • Loading branch information
awsdcrafting committed Feb 2, 2024
1 parent 383b787 commit 7ec8bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/experimental/bongox.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ function rtttl(song)
if (noteFrequency)
{
let paws = ["paw-left", "paw-right"]
let rnd = Math.floor(Math.random() * 2)
let rnd = 0 + (Math.random() > 0.95)
playbacks.push(preparePlaybackObject(setPaw, time*1000, paws[rnd], bpm * (noteDuration / 4)))
//playSynthSound(noteFrequency, time)
playbacks.push(preparePlaybackObject(playSynthSound, 0, noteFrequency, time));
Expand Down

0 comments on commit 7ec8bcf

Please sign in to comment.