Sunday, January 3, 2016

A Tutorial for Real Time Pitch Detection with HTML5

Over the past year, I have been working on analyzing music. Some notes will be posted here for future work and reference.

The first document, is in PDF format and is a tutorial for people to find their way into signal processing. It is meant to allow HTML5 coding to utilize Google Chrome for real time pitch detection.

Unfortunately, the work is incomplete. The last 3 pages (27-29) are just notes. I meant to include two additional proofs regarding the fact that the circular Auto Correlation function can be obtained by taking the Fourier Transform, taking the square root of its magnitude (also pointwise multiplication by the complex conjugate) and taking the inverse Fourier Transform. While this produces edge effects, one may also calculate the Auto Correlation function, which can be obtained by zero padding the signal and then taking the circular Auto Correlation function for the zero padded signal.


Also, an interesting look at the 50's Progression on the piano, and a short song I wrote which looks at various harmonies played above the bass progression.


Ideally, this work could morph into real time pitch and beat detection.

This post was reposted from, originally written on August 29th, 2014.

1 comment:

  1. This comment has been removed by a blog administrator.