Draw lines by clicking and dragging with your mouse. When a ball hits a line, it plays a note depending on the velocity of the ball. To edit a line, drag one of its endpoints. To delete a line, double-click one of its endpoints. Have fun making cool-sounding patterns! For further customization, press space to show a couple variables. Press space again to hide them. Also, thanks to @Enderplays8, I realized you can press "S" to copy a code that represents the setup you've made, and "L" to load a setup.
I was inspired to create this project by an app on the Apple Appstore called Sound Drop, or something of the sort. Thanks to @griffpatch, I implemented physics into this project without doing hardly any work! (I made this in about 45 minutes) Also, all of the line editing came with the engine, so don't thank me! P.S. I know, its a little glitchy, but I'm too lazy to fix it.