UPF SMC DSP Exercise Notes: E6 - Harmonic Model
Notes on exercise E6 of UPF SMC's Digital Signal Processing for Sound and Music: the harmonic model constrains every sinusoidal track to an integer multiple of a fundamental frequency f0, and the TWM algorithm finds f0 by comparing predicted harmonics with measured peaks in both directions. Four tasks: tracking only the melody's f0 in a cello recording where two strings sound at once, cutting a saxophone phrase into notes with the standard deviation of f0, measuring how far piano harmonics drift from integer multiples, and adding sub-harmonic candidates and Fletcher's formula to TWM. The figures are interactive animations.