Skip to main content

The CEG Algorithm (Part I)

  • Chapter
  • First Online:
Mathematical and Computational Modeling of Tonality

Part of the book series: International Series in Operations Research & Management Science ((ISOR,volume 204))

  • 1379 Accesses

Abstract

This chapter presents the Center of Effect Generator (CEG) key-finding algorithm based on the Spiral Array model, starting from the idea of the center of effect (CE), whereby any sequence of notes maps to a point in the interior of the model. The algorithm is illustrated through a simple melodic example, “Simple Gifts” from Copland’s Appalachian Spring. Included are discussions on why the model works, and the principles behind the particular set of model parameters used in the test run. At each step, the algorithm reports the three closest keys, ranked by distance; a step-by-step geometric interpretation of the algorithm and a graph showing the evolution of the closest keys accompany the tabular results. A MATLAB version of the CEG code appears in Appendix B. An evaluation of the CEG algorithm follows in Chap. 5; the CEG method is applied to polyphonic music in MIDI (Musical Instrument Digital Interface) format in Chap. 9, and adapted to music audio in Chap. 11.

This chapter is a minor revision of the first part of Finding Keys (Chapter 5) of “Towards a Mathematical Modeling of Tonality” by Elaine Chew, an MIT PhD dissertation, Cambridge, Massachusetts (2000) https://dspace.mit.edu/handle/1721.1/9139

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 169.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Bach, J.S.: The Well-Tempered Clavier-Part I, BWV 846–869. Henle Urtext Edition, Munich (1997)

    Google Scholar 

  2. Copland, A.: Appalachian Spring. Boosey & Hawkes, New York (1945)

    Google Scholar 

  3. Krumhansl, C.L.: Cognitive Foundations of Musical Pitch. Oxford University Press, New York (1990)

    Google Scholar 

  4. Longuet-Higgins, H.C., Steedman, M.J.: On interpreting Bach. In: Meltzer, B., Michie, D. (eds.) Machine Intelligence 6, pp. 221–241. Edinburgh University Press, Edinburgh (1971)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Elaine Chew .

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer Science+Business Media New York

About this chapter

Cite this chapter

Chew, E. (2014). The CEG Algorithm (Part I). In: Mathematical and Computational Modeling of Tonality. International Series in Operations Research & Management Science, vol 204. Springer, Boston, MA. https://doi.org/10.1007/978-1-4614-9475-1_4

Download citation

Publish with us

Policies and ethics