playEquation

... and graph it too!

Enter equation here and press ENTER



Pretty Printed equation brought to you by MathJax.



Volume:


How it works

Explanation

Basically, it takes your equation, renders it on the screen, and creates a short sound sample of how the equation sounds.

Slightly more Explanation

I use fooplot (GitHub), an open-source home-made graphing utility to plot the graph. It also parses the equation and filters out a lot of possible bogus answers.

Next, a 2-second plain ole Array filled with sampled data is created manually by plugging in numbers for the 2-second range. This array of length 88200 is rendered by HTML5's Audio Context.