tone()
. It plays sine waves of specific
amplitude and frequency depending on the parameters you pass. So I got to
thinking—what if I found the frequencies and amplitudes of a really goofy sound and played those back through tone()
?
As it turns out, exactly what you might have expected happens—you get the original sound back...more or less!