more work on applying threshold to discern key changes from chord changes