Using:
a Fourier Transform library by (I think) https://github.com/corbanbrook
the guts of the audio chain was also lifted from a tutorial (really not sure where from)
This was some old code that has been fixed to work with the current audio web API.