Spectrum is back!

The spectrum code that I wrote a few months ago was updated with a fourier transform of the audio signal that makes plotting a proper spectrum(frequency vs. amplitude) possible. The code is here. The integration uses Simpson’s 1/3 rule. Below are a few references that I found useful, plus some trigonometry knowledge from school days came in handy!

http://www.stewartcalculus.com/data/CALCULUS%20Early%20Transcendentals/upfiles/FourierSeries5ET.pdf

http://en.wikipedia.org/wiki/Fourier_series

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s