Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to main content

A Model of Scores as Abstract Syntactic Trees

  • Conference paper
  • First Online:
Mathematics and Computation in Music (MCM 2024)

Abstract

This paper deals with the structure of a musical piece. The score is modeled as an Abstract Syntactic Tree (AST) to account for the hierarchy of its elements. Formal definitions of harmony, texture and instrumentation are proposed and constitute the main components of the model. Concatenation and parallelization operators are then proposed to combine these components and organize them in a tree structure. This approach is illustrated on some examples.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 99.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight 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

Similar content being viewed by others

Notes

  1. 1.

    The standard way to do that is to associate each pitch with its corresponding MIDI number, i.e., C3 \(\rightarrow \) 60, C\(\sharp \)3 \(\rightarrow \) 61, D3 \(\rightarrow \) 62, C4 \(\rightarrow \) 72, etc.

  2. 2.

    The question that naturally arises is how these chords are chosen, but this will be the subject of the next sections.

  3. 3.

    We may model ties by the sum of two rational numbers and tuplets by using different numbers in the denominator.

  4. 4.

    We may even allow for negative numbers for the case of anacrusis.

  5. 5.

    While the term section usually involves instruments of the same family, in this case a section means the instruments that play the same pattern in a fragment.

  6. 6.

    The dependence on I is omitted to simplify notations.

  7. 7.

    We use the O for instrumentation since I is already used and it refers to the term orchestration, usually taken as synonym.

  8. 8.

    The term tensor contraction comes from the similarity of this operation with tensor contraction, where the contraction operator is the union instead of the sum.

  9. 9.

    \(A_i\) corresponds to the bar \(\lfloor \tfrac{i}{2} \rfloor + 1\) and to the first half if i is even and to the second half if i is odd.

  10. 10.

    This is only a simplification, the model can handle several instances of an instrument like Vln. I and Vln. II.

  11. 11.

    We need to use the disjoint union for the case where there are common members between \(N_1\) and \(N_2\).

References

  1. Agón, C.: OpenMusic: un langage visuel pour la composition musicale assistée par ordinateur. Ph.D., Paris 6 (1998)

    Google Scholar 

  2. Aho, A.V., Sethi, R., Ullman, J.D.: Compilers: Principles, Techniques, and Tools. Addison-Wesley, Boston (1986)

    Google Scholar 

  3. Berlioz, H.: Grand traité d’instrumentation et d’orchestration modernes. Schonenberger, Paris (1844)

    Google Scholar 

  4. Bresson, J., Agon, C., Assayag, G.: OpenMusic: visual programming environment for music composition, analysis and research. In: Proceedings of the 19th ACM International Conference on Multimedia, New York, NY, USA, pp. 743–746 (2011)

    Google Scholar 

  5. Carnovalini, F., Rodà, A., Harley, N., Homer, S.T., Wiggins, G.A.: A new corpus for computational music research and a novel method for musical structure analysis. In: Proceedings of the 16th International Audio Mostly Conference, New York, NY, USA, pp. 264–267 (2021)

    Google Scholar 

  6. Couturier, L., Bigo, L., Levé, F.: Annotating symbolic texture in piano music: a formal syntax. In: Proceedings of Sound and Music Computing 2022, pp. 577–584 (2022)

    Google Scholar 

  7. Couturier, L., Bigo, L., Levé, F.: A dataset of symbolic texture annotations in Mozart Piano Sonatas. In: Proceedings the 23rd International Society for Music Information Retrieval Conference, pp. 509–516 (2022)

    Google Scholar 

  8. Good, M.: MusicXML for notation and analysis. The virtual score: representation, retrieval, restoration 12(113–124), 160 (2001)

    Google Scholar 

  9. Hudak, P.: An algebraic theory of polymorphic temporal media. In: Jayaraman, B. (ed.) PADL 2004. LNCS, vol. 3057, pp. 1–15. Springer, Heidelberg (2004). https://doi.org/10.1007/978-3-540-24836-1_1

    Chapter  Google Scholar 

  10. Hudak, P., Janin, D.: Tiled polymorphic temporal media. In: 2nd ACM SIGPLAN International Workshop on Functional Art, Music, Modeling & Design (FARM), Gothenburg, Sweden, pp. 49–60 (2014)

    Google Scholar 

  11. Koelsch, S., Rohrmeier, M., Torrecuso, R., Jentschke, S.: Processing of hierarchical syntactic structure in music. Proc. Natl. Acad. Sci. 110(38), 15443–15448 (2013)

    Google Scholar 

  12. Lerdahl, F.: A Generative Theory of Tonal Music. MIT Press, Cambridge (1983)

    Google Scholar 

  13. Lerdahl, F., Jackendoff, R.: An overview of hierarchical structure in music. Music Perception Interdisc. J. 1(2), 229–252 (1983)

    Article  Google Scholar 

  14. Marsden, A., Hirata, K., Tojo, S.: Towards computable procedures for deriving tree structures in music: context dependency in GTTM and Schenkerian theory. In: Proceedings of the Sound and Music Computing Conference 2013, pp. 360–367 (2013)

    Google Scholar 

  15. Orio, N., Roda, A.: A measure of melodic similarity based on a graph representation of the music structure. In: Proceedings of the 10th International Society for Music Information Retrieval Conference, Kobe, Japan, pp. 543–548 (2009)

    Google Scholar 

  16. Orlarey, Y., Fober, D., Letz, S., Bilton, M.: Lambda calculus and music calculi. In: International Conference on Mathematics and Computing (1994)

    Google Scholar 

  17. Raffel, C., Ellis, D.P.: Intuitive analysis, creation and manipulation of MIDI data with pretty_midi. In: 15th International Society for Music Information Retrieval Conference Late Breaking and Demo Papers, pp. 84–93 (2014)

    Google Scholar 

  18. Tymoczko, D.: Tonality: An Owner’s Manual. Oxford Studies in Music Theory. Oxford University Press, Oxford (2023)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Gonzalo Romero-García .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Romero-García, G., Agón, C., Bloch, I. (2024). A Model of Scores as Abstract Syntactic Trees. In: Noll, T., Montiel, M., Gómez, F., Hamido, O.C., Besada, J.L., Martins, J.O. (eds) Mathematics and Computation in Music. MCM 2024. Lecture Notes in Computer Science, vol 14639. Springer, Cham. https://doi.org/10.1007/978-3-031-60638-0_21

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-60638-0_21

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-60637-3

  • Online ISBN: 978-3-031-60638-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics