this was meant to be a post about building an instrument tuner that runs in the browser. it's unlikely to be finished so here are some graphs instead.
waveform of some wave, sampled at 44100Hz:
transformed into the frequency domain:
the peak is at hz.
same waveform as above:
the autocorrelation, stopping at the halfway point:
the fundamental frequency estimate is hz.
the estimated note is .