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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 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.
The question that naturally arises is how these chords are chosen, but this will be the subject of the next sections.
- 3.
We may model ties by the sum of two rational numbers and tuplets by using different numbers in the denominator.
- 4.
We may even allow for negative numbers for the case of anacrusis.
- 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.
The dependence on I is omitted to simplify notations.
- 7.
We use the O for instrumentation since I is already used and it refers to the term orchestration, usually taken as synonym.
- 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.
\(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.
This is only a simplification, the model can handle several instances of an instrument like Vln. I and Vln. II.
- 11.
We need to use the disjoint union for the case where there are common members between \(N_1\) and \(N_2\).
References
Agón, C.: OpenMusic: un langage visuel pour la composition musicale assistée par ordinateur. Ph.D., Paris 6 (1998)
Aho, A.V., Sethi, R., Ullman, J.D.: Compilers: Principles, Techniques, and Tools. Addison-Wesley, Boston (1986)
Berlioz, H.: Grand traité d’instrumentation et d’orchestration modernes. Schonenberger, Paris (1844)
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)
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)
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)
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)
Good, M.: MusicXML for notation and analysis. The virtual score: representation, retrieval, restoration 12(113–124), 160 (2001)
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
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)
Koelsch, S., Rohrmeier, M., Torrecuso, R., Jentschke, S.: Processing of hierarchical syntactic structure in music. Proc. Natl. Acad. Sci. 110(38), 15443–15448 (2013)
Lerdahl, F.: A Generative Theory of Tonal Music. MIT Press, Cambridge (1983)
Lerdahl, F., Jackendoff, R.: An overview of hierarchical structure in music. Music Perception Interdisc. J. 1(2), 229–252 (1983)
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)
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)
Orlarey, Y., Fober, D., Letz, S., Bilton, M.: Lambda calculus and music calculi. In: International Conference on Mathematics and Computing (1994)
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)
Tymoczko, D.: Tonality: An Owner’s Manual. Oxford Studies in Music Theory. Oxford University Press, Oxford (2023)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
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)