Rests symbols plays a fundamental role in the symbolic time axis, and they could be inserted between notes or at the end of a musical passage. For this reason, the total symtime duration of a theme is not always equal to the sum of the note duration, so the total symtime duration is an additional property associated to a theme. Other important property associated to a theme is the total number of elements (i.e., rows). Properties of a theme are denoted using the dot symbol, i.e., theme.duration , theme.rows.
3.1.1.2. Events
An event refers to a collection of notes that occurs at the same symbolic time on a theme vector. The theme A in Figure 3.6 consists of 8 events represented in a vector that uses zero-based indexing. An iteration of events is always circular, meaning that the iteration starts and ends with the zero element. In an expression the event iterator is denoted by empty brackets (e.g., A[]). …show more content…
Events vector for theme A.
3.1.2. ASL Constants
ASL Constants are useful in computation of numerical expressions. Table 3.1 contains the list of ASL constants related to dynamic labels and intervals, and Table 3.2 contains the constants that identifies the three first columns of a sequence (pitch, duration, and dynamic). Additionally, pitch constants are identified using an uppercase letter (i.e., A-G) plus the octave location. For instance, middle C is represented as C4 or 60 using the midi value.
Table 3.1. List of ASL Constants