The problem of assigning appropriate pitch spellings is one of the most fundamental problems in the analysis of digital music information. We present an algorithm for finding the optimal spelling based on the Spiral Array model, a geometric model embodying the relations in tonality. The algorithm does not require the key context to be determined. Instead, it uses a center of effect (c.e.), an interior point in the Spiral Array model, as a proxy for the key context. Plausible pitch spellings are measured against this c.e., and the optimal pitch is selected using the nearest neighbor criteria. Two examples are given from Beethoven’s Sonata Op. 109 to illustrate the algorithm. The algorithm is implemented and the results used in MuSA — a music visualization software using the Spiral Array. We present and analyze computational results from test runs on MIDI files of two movements from Beethoven’s Piano Sonatas Op.79 and Op. 109.
[1]
E. Chew.
Modeling Tonality: Applications to Music Cognition
,
2001
.
[2]
Mark Steedman,et al.
The well-tempered computer
,
1994,
Philosophical Transactions of the Royal Society of London. Series A: Physical and Engineering Sciences.
[3]
Elaine Chew,et al.
The Spiral Array: An Algorithm for Determining Key Boundaries
,
2002,
ICMAI.
[4]
Robert Rowe,et al.
Machine Musicianship
,
2001
.
[5]
D. Temperley.
The Cognition of Basic Musical Structures
,
2001
.
[6]
E. Chew.
Towards a mathematical model of tonality
,
2000
.
[7]
Emilios Cambouropoulos.
Automatic Pitch Spelling: From Numbers to Sharps and Flats
,
2001
.