This program mathematically builds a triangle wave out of sine waves! It works by adding odd whole-number multiples of the base frequency at a decay rate of 1/n^2, shifting the phase of every other one by 180 degrees. Also check out my Sawtooth Wave project!