This study examines the Krumhansl-Schmuckler key-finding model, in which the distribution of pitch classes in a piece is compared with an ideal distribution or "key profile" for each key. Several changes are proposed. First, the formula used for the matching process is somewhat simplified. Second, alternative values are proposed for the key profiles themselves. Third, rather than summing the durations of all events of each pitch class, the revised model divides the piece into short segments and labels each pitch class as present or absent in each segment. Fourth, a mechanism for modulation is proposed; a penalty is imposed for changing key from one segment to the next. An implementation of this model was subjected to two tests. First, the model was tested on the fugue subjects from Bach's Well-Tempered Clavier; the model's performance on this corpus is compared with the performances of other models. Second, the model was tested on a corpus of excerpts from the Kostka and Payne harmony textbook (as analyzed by Kostka). Several problems with the modified algorithm are discussed, concerning the rate of modulation, the role of harmony in key finding, and the role of pitch "spellings." The model is also compared with Huron and Parncutt's exponential decay model. The tests presented here suggest that the key-profile model, with the modifications proposed, can provide a highly successful approach to key finding.


(Krumhansl, 1990, pp. 25, 27).
Krumhansl (1990, pp. 66-71)
Krumhansl (1990, pp. 71-73)
Butler (1989, p. 225)
Temperley and Sleator (1999).
Bharucha's (1987)


Bharucha, J. J. (1987). Music cognition and perceptual facilitation: A connectionist frame- work. Music Perception, 5, 1-30.
Brown, H. (1988). The interplay of set content and temporal context in a functional theory of tonality perception. Music Perception, 5, 219-250.
Brown, H., Butler, D., & Jones, M. R. (1994). Musical and temporal influences on key discovery. Music Perception, 11, 371-407.
Butler, D. (1989). Describing the perception of tonality in music: A critique of the tonal hierarchy theory and a proposal for a theory of intervallic rivalry. Music Perception, 6, 219-242.
Cook, N. (1987). The perception of large-scale tonal closure. Music Perception, 5, 197- 206.
Cuddy, L. L., Cohen, A. J., & Mewhort, D. J. K. (1981). Perception of structure in short melodic sequences. Journal of Experimental Psychology: Human Perception & Perfor- mance, 7, 869-883.
Cuddy, L. L., Cohen, A. J., & Miller, J. (1979). Melody recognition: The experimental application of rules. Canadian Journal of Psychology, 33, 148-157.
Holtzmann, S. R. (1977). A program for key determination. Interface, 6, 29-56.
Howell, D. (1997). Statistical methods for psychology. Belmont, CA: Wadsworth Publish- ing Co.
Huron, D., & Parncutt, R. (1993). An improved model of tonality perception incorporating pitch salience and echoic memory. Psychomusicology, 12, 154-171.
Kastner, M. P., & Crowder, R. G. (1990). Perception of the major/minor distinction: IV. Emotional connotations in young children. Music Perception, 8, 189-202.
Keller, H. (1976). The Well-Tempered Clavier by Johann Sebastian Bach (L. Gerdine, Trans.). London: W. W. Norton & Comoanv.
Kostka, S. (1995). Instructor's manual to accompany tonal harmony. New York: McGraw- Hill, Inc.
Kostka, S., & Payne, D. (1995a). Tonal harmony. New York: McGraw-Hill, Inc.
Kostka, S., & Payne, D. (1995b). Workbook for tonal harmony. New York: McGraw-Hill, Inc.
Krumhansl, C. L. (1990). Cognitive foundations of musical pitch . New York: Oxford Uni- versity Press.
Krumhansl, C. L., & Kessler, E. J. (1982). Tracing the dynamic changes in perceived tonal organization in a spatial representation of musical keys. Psychological Review, 89, 334- 368.
Lerdahl, F. (1988). Tonal pitch space. Music Perception, 3, 315-349.
Lerdahl, F., & Jackendoff, R. (1983). A generative theory of tonal music. Cambridge, MA: MIT Press.
Longuet-Higgins, H. C, & Steedman, M. J. (1971). On interpreting Bach. Machine Intelli- gence, 6, 221-241.
Maxwell, H. J. (1992). An expert system for harmonic analysis of tonal music. In M. Balaban, K. Ebcioglu, & O. Laske (Eds.), Understanding Music with AI. Cambridge, MA: MIT Press.
Rosen, C. (1971). The classical style: Haydn, Mozart, Beethoven. New York: The Viking Press.
Temperley, D. (1997). An algorithm for harmonic analysis. Music Perception, 15, 31-68.
Temperley, D. (in press). The line of fifths. Music Analysis.
Temperley, D., & Sleator, D. (1999). Modeling meter and harmony: A preference rule ap- proach. Computer Music Journal, 23, 10-27.
Thompson, W. E, & Cuddy, L. L. (1992). Perceived key movement in four-voice harmony and single voices. Music Perception, 9, 427-438.
Vos, P. G., & Van Geenen, E. W. (1996). A parallel-processing key-finding model. Music Perception, 14, 185-224.
Winograd, T. (1968). Linguistics and the computer analysis of tonal harmony. Journal of Music Theory, 12, 2-49.
This content is only available via PDF.