<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>October</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Let the Music Flow Where the Modal Branches Lead</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Lorenzo Balboni</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Federico Manzella</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Guido Sciavicco</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>University of Ferrara</institution>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2025</year>
      </pub-date>
      <volume>26</volume>
      <issue>2025</issue>
      <fpage>0000</fpage>
      <lpage>0002</lpage>
      <abstract>
        <p>This paper presents a novel approach to symbolic music generation using Modal Decision Trees (MDTs), a class of interpretable, rule-based models that integrate modal logic into the decision-tree algorithm. We construct a dataset from multitrack MIDI files, representing each track as a binary pianoroll matrix, and frame the generation task as a binary classification problem: predicting whether a pitch should be played at each time step based on a local window of context. The performed experiments demonstrate that MDTs, despite not leveraging explicit pitch identities, achieve strong performance, with an F1 score of 0.926 and balanced accuracy of 0.943. The generated music closely follows the input melodies, with some modifications that reflect the model's learned patterns. While MDTs do not yet match the performance of deep learning models for temporal sequence modeling, our results highlight their potential as interpretable tools for symbolic music generation. We discuss future directions, including modal decision forests, multi-track analysis, and controlled randomness to enhance generative diversity.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;MIDI</kwd>
        <kwd>Symbolic Music</kwd>
        <kwd>Algorithmic Composing</kwd>
        <kwd>Music Generation</kwd>
        <kwd>Symbolic Machine Learning</kwd>
        <kwd>Interpretable</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>AI-generated music relies on two main forms of representation: audio and symbolic. Audio
representation directly reproduces sound, rich in timbral and performative details. Generation in this format
focuses on synthesizing the sound signal itself. Symbolic representation, by contrast, abstracts
music into notes, rhythms, and structures, similar to traditional notation, enabling more eficient and
interpretable processing.</p>
      <p>
        This distinction defines two primary approaches [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]: music generation (audio-based) [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] and
algorithmic composition (symbolic-based) [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. The former emphasizes sonic rendering, while the latter
focuses on musical structure. Each has distinct computational requirements and objectives.
      </p>
      <p>
        Historically, algorithmic composition dates back centuries, from Pythagoras to Mozart’s Musikalisches
Würfelspiel [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], and later to the Illiac Suite (1957). Audio generation, on the other hand, is a more
recent development, closely tied to advances in deep learning. Successful deep learning approaches
include RNNs, LSTMs, GANs, and VAEs [
        <xref ref-type="bibr" rid="ref5 ref6 ref7">5, 6, 7</xref>
        ], which are capable of capturing complex patterns in
data, though they often lack interpretability.
      </p>
      <p>Choosing between audio and symbolic formats involves a fundamental trade-of: expressiveness and
sonic fidelity versus control, eficiency, and structural clarity. This balance continues to guide current
research into hybrid methods.</p>
      <p>
        Algorithmic composition has its roots in symbolic AI [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], well before the emergence of deep learning.
Grounded in explicit, transparent rules, this tradition formalizes musical knowledge using logic and
structured representations.
      </p>
      <p>
        Symbolic music generation has historically employed strategies such as rule-based systems, controlled
randomness, and logical structures. Over time, various paradigms have emerged, including stochastic
models like Markov chains [
        <xref ref-type="bibr" rid="ref10 ref9">9, 10</xref>
        ], musical grammars [
        <xref ref-type="bibr" rid="ref11 ref12 ref13">11, 12, 13</xref>
        ], expert systems (e.g., Ebcioğlu’s
      </p>
      <p>
        CHORAL [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]), and case-based reasoning [
        <xref ref-type="bibr" rid="ref15 ref16">15, 16</xref>
        ], eventually leading to hybrid solutions that integrate
multiple techniques [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ]. A notable example is David Cope’s EMI [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ], which can emulate classical
styles using symbolic rules. Unlike neural models, these systems are fully interpretable, ofering direct
control and allowing insight into the creative processes they employ.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Symbolic music generation using Modal Decision Trees</title>
      <p>Modal logic generalizes propositional logic by introducing modal operators for necessity (□ ) and
possibility (♢ ). Its semantics rely on Kripke models (, ,  ), where worlds  relate via accessibility
, and valuation  assigns truth to propositions in each world. Modal logic enables reasoning about
complex relational structures, underpinning formalisms for temporal, spatial, epistemic, and deontic
reasoning.</p>
      <p>
        Modal Decision Trees (MDTs) [
        <xref ref-type="bibr" rid="ref19">19, 20</xref>
        ] integrate modal logic into decision-tree frameworks, allowing
symbolic learning directly from structured data modeled as finite Kripke structures. Unlike classical
decision trees, MDTs handle relational, temporal, and spatial information explicitly within modal logic
formulas at decision nodes. MDTs thus maintain interpretability and provide logical explanations,
making them suitable for structured domains requiring transparent reasoning and robust predictions.
      </p>
      <p>In this work we choose to plug into the learning algorithm the interval temporal modal logic,
specifically the logic of Halpern and Shoham (HS) [21]. This approach allows one to represent the musical
data as sequences of intervals rather than points in time. Each interval can relate to others through
one of the Allen’s interval relations [22] being adjacent to, later than, begins, ends, during and overlaps,
{, , , , , }, all of their inverse relations {, , , , , }, and the same interval (the identity
). These relations are treated as modalities, allowing the model to reason about temporal patterns
via existential or universal operators over these relations. This logic is used to make decisions about
sequences of notes by evaluating dynamic features over intervals, rather than over single points. Each
split in the tree involves checking whether there exists a related interval that satisfies a given property,
such as whether a particular melodic or harmonic pattern occurs during or overlaps with the current
interval. This interval-based reasoning is crucial in music, where structure often emerges from temporal
relationships between note groups, not just from isolated events. By learning decision rules over these
modal and temporal features, MDTs can capture recurring musical patterns and generate structurally
coherent sequences.</p>
      <p>To leverage the expressive capacity of this approach, we trained the model to generate symbolic music
using a dataset of time-pitch matrices encoding note activations. The model predicts whether a pitch
should be played or not at each time step, based on a window of previously played pitches. Generation
is achieved by sliding this window both vertically and horizontally across the input representation of
musical notes, allowing the MDT to determine pitch activation. This window can be seen as the context
that the algorithm can use to build intervals and search relations in. The model operates without explicit
knowledge of pitch labels. That is, it does not know which specific pitch (e.g. C4) it is evaluating, nor the
identities of pitches in the input window. Instead, it relies purely on the structural relationships within
the local pitch-time context to make predictions by dynamically evaluating features over intervals:
1. whether a note is never present in an interval (evaluating the minimum value), 2. whether a note
is present at least once in an interval (evaluating the maximum value), and 3. how long the note was
played in the given interval (evaluating the average value).</p>
      <p>Before delving into the dataset, let’s introduce the concept of a pianoroll matrix, which can be easily
derived from symbolic music formats like MIDI. It is defined as a matrix  ∈ N× , where:
•  is the number of supported pitches (128 in MIDI notation, from C-1 to G9).
•  is the number of time steps.</p>
      <p>• , is a natural number indicating the velocity of the pitch  at time .</p>
      <p>Due to the nature of MIDI files, velocity values range from 0 to 127, where 0 indicates that a note is
not played at all, and 127 represents the maximum volume.
. . .</p>
      <p>bar
beat
(b)</p>
      <p>Since predicting the exact velocity of a note is a more complex task, we simplify the problem into
binary classification by predicting whether a note is played or not, rather than its velocity. This is
equivalent to assigning class 0 to velocity values of 0, and class 1 to all non-zero values. So, the pianoroll
matrices we are dealing with are binary matrices, where each element , is either 0 or 1.</p>
      <p>In Figure 1b, we present an example of a segment from a binary pianoroll matrix  derived from
a MIDI file. Each beat has a resolution of 4 timesteps, meaning that each beat is represented by 4
consecutive columns in the matrix. As mentioned earlier, the matrix is structured such that each row
corresponds to a pitch, and each column corresponds to a time step.</p>
      <p>Given the definition of the pianoroll matrix, we formally define the dataset as  = {(X(), ())}=1,
where  is the number of instances and each instance X() ∈ {0, 1}×  is a binary matrix
representing a window in a pianoroll matrix, where:
•  is the number of pitches of an instance calculated as seen in Equation 1.
•  is the number of timesteps of an instance.</p>
      <p>= 2 ·   + 1
(1)</p>
      <p>To control the size of the instances in the dataset, and thus determine how much context in terms of
pitches and time steps should be provided to the model for predicting whether a pitch is present, we
define two parameters:
• octave vision determines how many octaves above and below a central pitch to include in the
instance.</p>
      <p>– If the octave vision is set to 0, each instance will have 1 feature, which corresponds to a
single pitch, the one being evaluated by the model (Figure 2a).
– If the octave vision is set to 1, each instance will have 25 features, which corresponds to the
pitch being evaluated and the 12 pitches in the octave above and below it (Figure 2b).
• lookback beats determines how many beats to look back.</p>
      <p>– By default, each beat has a resolution of 4 timesteps, so a lookback beats of 1 corresponds to
4 timesteps, a lookback beats of 2 corresponds to 8 timesteps, and so on.
– This parameters indirectly controls the number of instances ( ), indeed given a pianoroll
matrix  ∈ N× , the number of instance generate from it is |  |= ( − ) × .</p>
      <p>Each instance X() represents a window of size  ×  in the pianoroll matrix  , outlined
as the blue rectangle (Figure 2b), which , and the label () is defined as the green rectangle, which
represents the pitch being evaluated by the model at the current time step.
. . .</p>
      <p>By sliding a window of size  ×  across  and extracting the corresponding label, we
can generate the dataset.</p>
      <p>Furthermore, because instances with label 0 significantly outnumber those with label 1, we reduce
the dataset size by cropping each pianoroll matrix  to its played pitch range. This range is defined as
the interval between the lowest and highest pitches that are played at least once. All pitches outside
this range are removed. To further reduce the imbalance of the dataset, which is still dominated by
instances with label 0, we transposed all pianorolls to the key of C major. Consequently, we removed
all pitches corresponding to sharp and flat notes, as they do not belong to the C major scale.</p>
      <p>This simplification makes the task of music composition more manageable without imposing
significant limitations. Previous studies have employed datasets where all songs are transposed to the
same scale, such as C major, to standardize the data and facilitate the learning process [23]. Since the
model predicts whether a specific pitch is played based solely on a local window of the pianoroll, it does
not require knowledge of the absolute pitch identities within that window—only the relative patterns
and activity matter, making the exact pitch range irrelevant for learning. Moreover, a composition
written in one scale can easily be transposed to another by shifting all notes by a fixed interval. This is a
straightforward operation in MIDI, which avoids the complications that typically arise when transposing
audio. This assumption holds true for compositions in the major and natural minor scales.</p>
      <p>Finally, the dataset is derived from a collection of multitrack MIDI files representing modern pop
compositions in 4/4 time, where each track corresponds to a single instrument or, more generally, a distinct
musical layer (e.g., bass, arpeggio, lead, melody, or rhythm). The Python library pypianoroll [24]
was extensively used, as it enables the representation of MIDI files as multitrack objects, in which each
track of the original MIDI file is represented by its own pianoroll matrix.</p>
      <p>Another version of the dataset has been created to let Decision Trees (DTs) learn from it. In this
case, the instance is defined as a vector of size  × , where each element corresponds to
a pitch at a specific time step.</p>
      <p>Several experiments have been conducted by varying the dataset configuration parameters as well
as the model type, comparing standard Decision Trees (DT) and Modal Decision Trees (MDT). Among
these, the best results were obtained using a dataset of 3624 instances, each with a size of 25 × 64,
corresponding to an octave vision of 1 and a lookback beats of 16. For this specific dataset configuration,
both models were trained and evaluated under identical conditions to ensure a fair comparison.</p>
      <p>Overall, the Modal Decision Tree showed improved performance over the standard Decision Tree
across major evaluation metrics. It achieved a higher F1 score (0.926), indicating a better balance
between precision and recall, as well as greater overall accuracy (93.8%) and balanced accuracy (94.3%),
reflecting robustness to class imbalance. The Kappa coeficient for the MDT was also notably higher
(0.852), suggesting stronger agreement between predictions and ground truth beyond chance.</p>
      <p>Generations were performed on test MIDI files using both models. While the Modal Decision Tree
often produced sequences that loosely echoed the input melody, with simplified or slightly altered
patterns, the standard Decision Tree typically generated outputs consisting of sparse, disconnected
notes, sometimes repeating the same pitch excessively or lacking any coherent structure. However, it
is important to note that the diference in generative quality, though present, is not dramatic: most
generations from both models lack true musicality or structure. That said, the Modal Decision Tree
occasionally succeeds in producing musically plausible phrases. Informal evaluation suggests that, out
of ten generations, the MDT typically yields two somewhat coherent results, whereas the standard DT
consistently fails to produce anything musically meaningful. In essence, while both models struggle to
generate convincing music, the Modal Decision Tree demonstrates a slight but meaningful edge in its
capacity to occasionally generate outputs that resemble simplified musical phrases.</p>
      <p>These findings are summarized in Table 1 and visually illustrated in Figure 3.</p>
      <p>(a) Generated music example 1
(b) Generated music example 2</p>
    </sec>
    <sec id="sec-3">
      <title>3. Conclusions</title>
      <p>The symbolic music generation obtained from the experiments presented in this work produced results
that, while not outstanding, are promising and open to improvement. This approach, based on Modal
Decision Trees, has not been previously applied to this task. Its performance is naturally lower compared
to more established models such as RNN and LSTM networks, which are better suited for handling
temporal sequences. However, this work introduces a novel interpretable and rule-based method that
complements existing approaches. Future work will explore improvements such as constructing modal
decision forests, analyzing multiple tracks simultaneously, and introducing controlled randomness to
allow the same input to produce diferent outputs at each inference.</p>
    </sec>
    <sec id="sec-4">
      <title>Declaration on Generative AI</title>
      <p>The authors declare that no Generative Artificial Intelligence (GenAI) tools or services were used in the
preparation, writing, editing, or revision of this paper. All content was created solely by the authors.
A. Dovier, A. Montanari, A. Orlandini (Eds.), AIxIA 2022 – Advances in Artificial Intelligence,
Springer International Publishing, Cham, 2023, pp. 47–59.
[20] F. Manzella, G. Pagliarini, G. Sciavicco, I. E. Stan, Eficient modal decision trees, in: R. Basili,
D. Lembo, C. Limongelli, A. Orlandini (Eds.), AIxIA 2023 – Advances in Artificial Intelligence,
Springer Nature Switzerland, Cham, 2023, pp. 381–395.
[21] J. Halpern, Y. Shoham, A propositional modal logic of time intervals, Journal of the ACM 38 (1991)
935–962.
[22] J. F. Allen, Maintaining knowledge about temporal intervals, Communications of the ACM 26
(1983) 832–843.
[23] H.-W. Dong, W.-Y. Hsiao, L.-C. Yang, Y.-H. Yang, Musegan: Multi-track sequential generative
adversarial networks for symbolic music generation and accompaniment, in: Proceedings of the
32nd AAAI Conference on Artificial Intelligence, 2018. URL: https://arxiv.org/abs/1709.06298.
[24] Y.-S. Huang, Y.-H. Yang, pypianoroll: Open source python library for handling multitrack pianorolls,
Late-Breaking/Demo ISMIR 2018 (2018). URL: https://github.com/salu133445/pypianoroll.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>L.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Liu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Pang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Qin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <article-title>A review of intelligent music generation systems</article-title>
          ,
          <year>2023</year>
          . URL: https://arxiv.org/abs/2211.09124. arXiv:
          <volume>2211</volume>
          .
          <fpage>09124</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Huang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Gou</surname>
          </string-name>
          ,
          <article-title>Applications and advances of artificial intelligence in music generation:a review, 2024</article-title>
          . URL: https://arxiv.org/abs/2409.03715. arXiv:
          <volume>2409</volume>
          .
          <fpage>03715</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>S.</given-names>
            <surname>Tian</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , W. Yuan,
          <string-name>
            <given-names>W.</given-names>
            <surname>Tan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Zhu</surname>
          </string-name>
          , Xmusic:
          <article-title>Towards a generalized and controllable symbolic music generation framework</article-title>
          ,
          <year>2025</year>
          . URL: https://arxiv.org/abs/2501.08809. arXiv:
          <volume>2501</volume>
          .
          <fpage>08809</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>D.</given-names>
            <surname>Williams</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Kirke</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Miranda</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Roesch</surname>
          </string-name>
          , I. Daly,
          <string-name>
            <given-names>S.</given-names>
            <surname>Nasuto</surname>
          </string-name>
          ,
          <article-title>Investigating afect in algorithmic composition systems</article-title>
          ,
          <source>Psychology of Music</source>
          <volume>43</volume>
          (
          <year>2014</year>
          ). doi:
          <volume>10</volume>
          .1177/0305735614543282.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>H.-W.</given-names>
            <surname>Dong</surname>
          </string-name>
          , W.-Y. Hsiao, L.-
          <string-name>
            <surname>C. Yang</surname>
            ,
            <given-names>Y.-H.</given-names>
          </string-name>
          <string-name>
            <surname>Yang</surname>
          </string-name>
          ,
          <article-title>Musegan: Multi-track sequential generative adversarial networks for symbolic music generation and accompaniment, 2017</article-title>
          . URL: https://arxiv. org/abs/1709.06298. arXiv:
          <volume>1709</volume>
          .
          <fpage>06298</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>L.-C.</given-names>
            <surname>Yang</surname>
          </string-name>
          , S.-Y. Chou,
          <string-name>
            <given-names>Y.-H.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <article-title>Midinet: A convolutional generative adversarial network for symbolic-domain music generation</article-title>
          ,
          <year>2017</year>
          . URL: https://arxiv.org/abs/1703.10847. arXiv:
          <volume>1703</volume>
          .
          <fpage>10847</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>A.</given-names>
            <surname>Roberts</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Engel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Rafel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Hawthorne</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Eck</surname>
          </string-name>
          ,
          <article-title>A hierarchical latent vector model for learning long-term structure in music, 2019</article-title>
          . URL: https://arxiv.org/abs/
          <year>1803</year>
          .05428. arXiv:
          <year>1803</year>
          .05428.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>J.</given-names>
            <surname>Fernandez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Vico</surname>
          </string-name>
          ,
          <article-title>Ai methods in algorithmic composition: A comprehensive survey</article-title>
          ,
          <source>Journal of Artificial Intelligence Research</source>
          <volume>48</volume>
          (
          <year>2013</year>
          )
          <fpage>513</fpage>
          -
          <lpage>582</lpage>
          . URL: http://dx.doi.org/10.1613/jair.3908. doi:
          <volume>10</volume>
          .1613/jair.3908.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9] Volume information,
          <source>Computer Music Journal</source>
          <volume>10</volume>
          (
          <year>1986</year>
          )
          <fpage>17</fpage>
          -
          <lpage>39</lpage>
          . URL: http://www.jstor.org/stable/ 3680287.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>D.</given-names>
            <surname>Ponsford</surname>
          </string-name>
          , G. Wiggins,
          <string-name>
            <given-names>C.</given-names>
            <surname>Mellish</surname>
          </string-name>
          ,
          <article-title>Statistical learning of harmonic movement</article-title>
          ,
          <source>Journal of New Music Research</source>
          <volume>28</volume>
          (
          <year>1999</year>
          )
          <fpage>150</fpage>
          -
          <lpage>177</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>J. A.</given-names>
            <surname>Moorer</surname>
          </string-name>
          , Music and computer composition,
          <source>Commun. ACM</source>
          <volume>15</volume>
          (
          <year>1972</year>
          )
          <fpage>104</fpage>
          -
          <lpage>113</lpage>
          . URL: https: //doi.org/10.1145/361254.361265. doi:
          <volume>10</volume>
          .1145/361254.361265.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>D.</given-names>
            <surname>Lidov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Gabura</surname>
          </string-name>
          ,
          <article-title>A melody writing algorithm using a formal language model</article-title>
          ,
          <source>Computer Studies Humanities Verbal Behaviour</source>
          <volume>4</volume>
          (
          <year>1973</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>G. M.</given-names>
            <surname>Rader</surname>
          </string-name>
          ,
          <article-title>A method for composing simple traditional music by computer</article-title>
          ,
          <source>Commun. ACM</source>
          <volume>17</volume>
          (
          <year>1974</year>
          )
          <fpage>631</fpage>
          -
          <lpage>638</lpage>
          . URL: https://doi.org/10.1145/361179.361200. doi:
          <volume>10</volume>
          .1145/361179.361200.
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>K.</given-names>
            <surname>Ebcioğlu</surname>
          </string-name>
          ,
          <article-title>An expert system for harmonizing four-part chorales</article-title>
          ,
          <source>Computer Music Journal</source>
          <volume>12</volume>
          (
          <year>1988</year>
          )
          <fpage>43</fpage>
          -
          <lpage>51</lpage>
          . URL: http://www.jstor.org/stable/3680335.
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>F.</given-names>
            <surname>Pereira</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Grilo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Macedo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Cardoso</surname>
          </string-name>
          ,
          <source>Composing Music using Case-Based Reasoning</source>
          ,
          <year>1997</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>P.</given-names>
            <surname>Ribeiro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Pereira</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. Pérez</given-names>
            <surname>Ferra</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Cardoso</surname>
          </string-name>
          ,
          <article-title>Case-based melody generation with muzacazuza (</article-title>
          <year>2002</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>G.</given-names>
            <surname>Ramalho</surname>
          </string-name>
          , J.-G. Ganascia,
          <article-title>Simulating creativity in jazz performance (</article-title>
          <year>1999</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>D.</given-names>
            <surname>Cope</surname>
          </string-name>
          ,
          <article-title>Experiments in musical intelligence (emi): Non-linear linguistic-based composition</article-title>
          ,
          <source>Interface</source>
          <volume>18</volume>
          (
          <year>1989</year>
          )
          <fpage>117</fpage>
          -
          <lpage>139</lpage>
          . doi:
          <volume>10</volume>
          .1080/09298218908570541.
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>D.</given-names>
            <surname>Della Monica</surname>
          </string-name>
          , G. Pagliarini, G. Sciavicco,
          <string-name>
            <given-names>I. E.</given-names>
            <surname>Stan</surname>
          </string-name>
          ,
          <article-title>Decision trees with a modal flavor</article-title>
          , in:
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>