First attempt at some melodic analysis