Melodic determinants in tonal structures