DEV Community

Discussion on: KAOSS! Fun with Web Audio

Collapse
afif profile image
Temani Afif

OMG, I got scared when I first clicked 😳 I had the volume up and didn't expect codepen to speak with me 😂

Collapse
madsstoumann profile image
Mads Stoumann Author

Haha, yes it can be quite noisy! 😂

Collapse
inhuofficial profile image
InHuOfficial

Did exactly the same...but I even checked my volume before and it was only at 30 - still jumped when I clicked and I was expecting it 🤣

@madsstoumann one quick fix - account for window scroll position on the pad, if you scroll down to the other controls to change the pattern etc. the touch target is out on the pad.

Had a lot of fun playing with it! ❤🦄

Collapse
madsstoumann profile image
Mads Stoumann Author

Haha, yeah, the default values are the loudest possible! As I write in the article, I haven't looked into scroll-stuff like pageYOffset yet, because I'm considering changing the script to using offsetY instead of clientY, so I don't have to worry about nested scrolling etc. It's still work-in-progress, though!