More progress, probably, I've implemented the silence detection as
lifted directly from the tunafish pitch detection algoritm, I must
remember to put references to such algorithms in the comments section.
I've finished implementing the metronome with full functionality which
has pleased me enormously, now its just to get the output tailored to
the metronome and the detected key structures and I'm good to go.
I've finally cracked the whole key determination thing, after an
abominably long amount of time, now I'm going to go home and work from
there.
I have successfully implemented the scale prediction, my next stage is
to move on to chord generation, then fix the bug with WAV synthesis then
the software should be pretty much done and I can focus on the write-up.