Making drums/percussion in Desmos

Hi! This is my first post, but I had a question.

I’m currently making a Desmos Music Lab, based on Chrome Music Lab, and was wondering if there was a way to make percussion/drum sounds in Desmos. I know there’s gotta be a way to layer frequencies to make a percussion sound, but I just can’t figure it out! This is my current graph (below). Help!

<iframe src="https://www.desmos.com/calculator/acehp7bw9n?embed" width="500" height="500" style="border: 1px solid #ccc" frameborder=0></iframe>

Welcome!

It’s very cool… if you want percussion you can make a slightly high pitched sound, then a little tap sound for the snare. I’m not really sure though, I’ve rarely worked with tone()

I have some comments+questions:

  1. Just make sure you’re posting stuff about CL (computation layer) here, not Desmos CALCULATOR related stuff. You can do this in the Examples or Discussion category. (I got yelled at a few times because of this :frowning:)
  2. Why is your graph in an iframe? Is sending a link broken?

Also I’m not sure if this will help but I made this: Calculator in Desmos | Desmos
It may have some helpful functions for your project, but nothing sound related.

I know this graph that might help you:
https://www.desmos.com/calculator/gm6bquydih
and this one
https://www.desmos.com/calculator/3bwlb8y8di