AntsOMG: A Framework Aiming to Automate Creativity and Intelligent Behavior with a Showcase on Cantus Firmus Composition and Style Development

: Creative behavior is one of the most fascinating areas in intelligence. The development of speciﬁc styles is the most characteristic feature of creative behavior. All important creators, such as Picasso and Beethoven, have their own distinctive styles that even non-professional art lovers can easily recognize. Hence, in the present work, attempting to achieve cantus ﬁrmus composition and style development as well as inspired by the behavior of natural ants and the mechanism of ant colony optimization (ACO), this paper ﬁrstly proposes a meta-framework, called ants on multiple graphs (AntsOMG), mainly for roughly modeling creation activities and then presents an implementation derived from AntsOMG for composing cantus ﬁrmi, one of the essential genres in music. Although the mechanism in ACO is adopted for simulating ant behavior, AntsOMG is not designed as an optimization framework. Implementations can be built upon AntsOMG in order to automate creation behavior and realize autonomous development on different subjects in various disciplines. In particular, an implementation for composing cantus ﬁrmi is shown in this paper as a demonstration. Ants walk on multiple graphs to form certain trails that are composed of the interaction among the graph topology, the cost on edges, and the concentration of pheromone. The resultant graphs with the distribution of pheromone can be interpreted as a representation of cantus ﬁrmus style developed autonomously. Our obtained results indicate that the proposal has an intriguing effect, because signiﬁcantly different styles may be autonomously developed from an identical initial conﬁguration in separate runs, and cantus ﬁrmi of a certain style can be created in batch simply by using the corresponding outcome. The contribution of this paper is twofold. First, the presented implementation is immediately applicable to the creation of cantus ﬁrmi and possibly other music genres with slight modiﬁcations. Second, AntsOMG, as a meta-framework, may be employed for other kinds of autonomous development with appropriate implementations.


Introduction
Among the crucial goals in pursuing automation of creativity and intelligent behavior is music composition, of which the idea can be dated back for centuries [1], long before the development of modern computers composed of electronic components, such as vacuum tubes and transistors. The historical trajectory of the application of computer methodologies on music composition or generation can be traced via reviews and surveys in various related domains, such as evolutionary computation [2][3][4], computational intelligence and creativity [5][6][7], deep learning [8], and artificial intelligence [9][10][11][12]. Most of the studies in existence focus on the generation of musical sequences that consist of notes with little or no involvement of composers or music artists. These studies, which originate from the engineering or computational aspects, usually belong to one of the following categories: (1) generating notes according to some rules or certain mathematical constructs; (2) using example data to train models to mimic a given music style or to compose as some target composer; and, (3) considering composition as an optimization task in which the objective function determines many important properties and characteristics of the creation. Although there is no doubt that interesting results suitable for practical use may be obtained [13,14] in this fashion, many important and even fundamental issues regarding music itself and music creation are rarely addressed [15]. This study seeks to create new possibilities to the related fields by proposing a framework aiming to automate creativity and intelligent behavior and demonstrating its capability of autonomous music style development and cantus firmus composition by cultivating "composers" of different styles.
To the best of our limited knowledge, this paper presents the first attempt to achieve autonomous music style development as a showcase for automation of creativity and intelligent behavior. In particular, collaborating with a classical music composer, a meta-framework, called ants on multiple graphs (AntsOMG), mainly for roughly modeling creation activities, the mindset of a creator, and the accumulation of experience is proposed, followed by an implementation of AntsOMG for composing cantus firmi, one of the essential genres in music, in order to demonstrate the effectiveness of the proposal. Inspired by the self-organizing behavior of natural ants [16], the mechanism designed in ant colony optimization (ACO) [17][18][19][20] for simulating ants is adopted. The self-organizing property is considered as the conduit for a "composer" to go from a common, initial condition to establishing and possessing distinctive styles. In what available, closest to the present study in the literature, ACO has been adapted to tasks of music generation [21][22][23], in which music generation is considered to be an optimization task. Unlike those studies employing optimization techniques for training models or considering music generation as an optimization task, there is no objective function, which is actually a deciding factor to the generated music, in AntsOMG. The experimental results show that significantly different styles can be autonomously developed from an identical initial configuration, and cantus firmi of a certain style can be created in batch by using the cultivated composer. The contribution of this paper is twofold. First, the presented implementation can be immediately used to generate cantus firmi and possibly other music genres with slight modifications. Second, AntsOMG, as a meta-framework, may be employed for other kinds of autonomous development with appropriate implementations.
The remainder of this paper is organized, as follows. Section 2 gives some background of this study, focusing on the creative ideas and mindset of a music composer while composing music pieces as well as cantus firmus, chosen as the target music genre in this study. Because cantus firmus composition and style development is employed as a showcase for the porposed AntsOMG, Section 3 provides a literature review on the generation of music via methods in artificial intelligence and evolutionary computation. Section 4 describes the proposed meta-framework, AntsOMG, designed for autonomous development and the implementation specific for autonomously developing styles of cantus firmi. Section 5 presents the developed Style Models, or considered "composers", via the operation of the implementation. Section 6 analyzes the cantus firmi created by the obtained Style Models from a professional, musical point of view, and discusses the distinctiveness in music styles. Finally, this paper is concluded by Section 7.

The Complexity of Creative Ideas
When composers are at work, their creative ideas can be extremely complicated and sophisticated, many music ideas are being developed simultaneously from mixed materials of various facets at different levels. These ideas not only influence each other, but also overlap in the layers of interpretation.
Very few music materials represent only one single meaning in a composer's mind, most of them go through the process of being ruminated on over and over countless times. Moreover, with the finalization, even the publication of the piece, when the composer personally performs it, the piece may still seem as if yet another new work.
What is equally complicated is that each composer has different growing background, musical training, and audiovisual experience, usually forming the foundation of this particular composer's personal style. However, a very high percentage of this element has hardly been discussed when simulating the action of composing music with computation, or it is just filled up with some general theories. Hence, a compositional or personal style that is based on a certain time period or music genre becomes a subject that is even more rarely discussed.
Nowadays, we often utilize machine computation, commonly known as Artificial Intelligence, in order to simulate human activities, such as playing chess, recognizing objects or patterns, and even creating something to a certain degree. Among these methodologies, natural and evolutionary computation is one of the most used tools. In the process of using natural and evolutionary computation, the training process is mostly done with the composition results or by designing a computation model that directly produces notes. Yet, the mindset behind the creative process is often regarded as a black box, which is quite difficult to be discussed or even simulated.
Although the compositional creativity can also be described as a continuous process of "searching" for "optimal" "solutions", these three words might be differently defined for people in the field of computation. The authors have been searching for an operational method that can roughly depict the complexity of human artists, which can also produce elements on a higher level during the computational process: compositional style or personality. Based on personal experience for creation, we found inspiration from the collective intelligence of ant colonies, propose the framework of ants on multiple graphs (AntsOMG) as the computational model to simulate the multi-dimensional, multi-thinking aspects of the compositional process, and apply the framework to cantus firmus, which originated from the middle-ages and blossomed in the seventeenth-century counterpoint textbooks.

Cantus Firmus in the Seventeenth Century
Cantus firmus is a fixed melody that has played a very important role in the transition from monophony to polyphony in western music. With a fixed melody from hymns, composers began to experiment with the possibilities to add on voices on top of it, and gradually shaped into one of the most fundamental theories in the traditional western music: the counterpoint. Although by the time of the High Renaissance, the mechanism of cantus firmus was gradually replaced with the more equal imitative counterpoint among voices, it had become an important pedagogic method in the most significant counterpoint textbook in the seventeenth century: Gradus ad Parnassum by J. J. Fux [24]. This method stresses the use of a clearly-ruled, simply-formed cantus firmus as a learning basis for species counterpoint. An example is shown in Figure 1. Because of the crucial role and position of cantus firmus in the development of western music history, it may represent a performance practice as well as a basis to evolve into more complicated music genres. Its simplicity of form, just like the model organisms, Drosophila melanogaster and Arabidopsis thaliana, in biology, makes it a model organism in music as the basic form to explore more complex phenomena.
From the viewpoint of music, one of the common problems encountered with machine-generated music is the lack of consideration on how the music is performed, especially the melodies made for voices. On the other hand, all of the rules about cantus firmus are designed to allow humans to sing naturally and produce auditory accessibility. Human voices or instruments have some limitations as to what is singable or playable. Not all notes can be sung easily, thus making the design of the melodic flow very important for cantus firmus. Even when played by other instruments, such as pipe organs, it still aims to be similar to the concept of human singing. Please note that the rules in music are not equal to the concept of theorems or equations in mathematics or engineering, and following rules does not guarantee solutions or desired outcomes. The standard answer in the arts domain oftentimes cannot be determined by numbers or does not exist at all. Music rules are usually summarized to help learners to achieve a good direction and to preserve spaces that are needed to accommodate styles and variety.

Related Work on Music Generation and Automated Composition
While the primary goal of this study is to investigate the creation and intelligent behavior, cantus firmus composition and style development is selected as a showcase of the proposed framework, forming a secondary goal. Hence, in this section, studies in the domain of evolutionary computation related to music generation and automated composition are surveyed in order to provide the context regarding the current research progress on the relevant topics.
Evolutionary algorithms have been utilized to generate music for decades because of their flexibility and versatility. They are population-based, stochastic optimization frameworks that are relatively easy to be interfaced with the given task. Starting from their early days, genetic algorithms, one of the major branches of evolutionary algorithms, have been applied to computer-assisted music composition [25][26][27][28][29][30] as attempts of algorithmically composing music in a general sense. Subsequently, more complicated music constructs are utilized and considered, including music theory [31,32], chord progression [33], and measures and phrases [34,35]. Recently, a concert music piece, named Pygmalion [36], derived from a work [37] based on genetic algorithms creating a dialogue between creation and algorithmic operators, was formally performed at National Recital Hall, Taiwan.
In addition to genetic algorithms, genetic programming has been employed to compose 16th-century counterpoint [51], construct an interactive music system [52], and evolve the generation of music [53]. Moreover, ant colony optimization has been adapted to tasks of music generation [23] and creating melodies with Baroque harmony [21,22]. Falling into the same category of the computational paradigm as ant colony optimization, methods of swarm intelligence have also been used for music creation [13,54], music genre classification [55], and tasks of other various nature [56][57][58][59].
There are studies aiming to imitate specific music genres or styles. Jazz [60][61][62][63], a modern music genre, and Bach [64][65][66], the classic Baroque style, attract most attention of researchers. There even exists a study attempting to bridge the two ends [67]. In addition to jazz and Bach, researchers also investigated into music of other styles, including rock [68], Chinese folk music [69], and the fusion of Flamenco and Argentine Tango [70].
Evaluation on music in a general sense involves subjective assessment and qualitative judgment, and evaluation on the styles of music may only be harder, since it is on a higher, more abstract level of recognition. Because, unless there are specific goals or targets, evaluation is extremely difficult to be appropriately done with quantitative approaches, many studies proposed the incorporation of human components, usually for evaluating and guiding the created music pieces, and developed interactive systems [71][72][73][74][75][76][77][78][79] in order to strike a balance between arts and engineering.
On a broader sense of relevance, the arrangement of music for guitar was investigated [80], and it is a rare study in this field that does consider how, specifically on what instrument, the generated music is performed. In [81], artificial intelligence was considered as an artistic phenomenon, and the creative ability of artificial intelligence was discussed from a philosophical perspective. Accompanied with the creation by means of artificial intelligence, open questions regarding copyright law are raised and discussed in [82]. Finally, an approach for structurally describing music pieces based on principles of Linguistics was proposed in [83].
In summary, most related studies that are available in the AI literature addressed the task of music generation from an engineering perspective with directly manipulating notes or fitting certain chosen mathematical models in order to improve the system performance or even to optimize the objective function. These approaches are apparently barely similar to the process for a composer to write notes and create music. In fact, the authors are not against such an engineering way, since the mechanisms for the modern aircraft to fly cannot be obtained simply by mimicking birds after all. However, this study does aim to investigate creation and intelligent behavior from the side of imitating a creator's mindset and hopefully grasps some essence of the mechanism of creativity, such that future studies might be intrigued and benefit from the proposed framework.
Furthermore, performance measure in the sense of engineering or objective functions in terms of optimization fundamentally dictate the results that were obtained by systems or frameworks incorporating those designs or components. That is why if a specific style, such as Bach, is the target, it is relatively easy to establish a system by using the existing AI techniques, and the built system can be evaluated with some precisely defined criteria. In this study, we make an attempt to construct something capable of creating, and we use autonomous cantus firmus style development as the target task. If well-defined, adequate criteria to evaluate creation or creativity exist, we can simply adopt them into a common optimization framework. However, unfortunately those are yet available or will probably never be available. Hence, the goal of this study and the way that this study is conducted contribute to the uniqueness of this study in that we try to propose a framework exhibiting certain properties of creating ability for the research community to extend, discuss, or criticize.
Finally, as to conclude this section, please allow us to use the two dimensions proposed in [84] to distinguish the present study from existing systems: (1) nature of the inputs/outputs of the system (Section 3.4 in [84]): our proposal apparently does not belong to one of the three classes, Symbolic, Audio, and Hybrid, because "generative models," the term used by [84], are the outputs, instead of notes or audio. (2) generality of the system (Section 3.6 in [84]): as indicated in [84], the two ends of this spectrum are: (a) ".... tend to reflect... the aesthetic of the designer... rather than creating completely novel outputs..." and (b) "... corpus-based style-imitation system... from the corpus provided..." It is also apparent that our work cannot be put within this spectrum, because no human preference or music corpus is used.

The Design of the Basic Computation Framework
We propose ants on multiple graphs, AntsOMG, a meta-framework inspired by both the collective behavior of natural ants and the algorithmic mechanism of ant colony optimization in order to describe the multi-layered ideas of creative behavior and to achieve the effect of autonomously developed styles ( Figure 2). The distinguishing feature of this framework mainly lies in two aspects: (1) the allowance to arrange multiple different graphs upon which the artificial ants can walk simultaneously in spaces of different dimensions, which would result in an effect that is similar to the creator's mindset of creation; (2) instead of considering creative activities and creation processes as optimization tasks, no objective function is defined for evaluating the immediate results that were produced by ants. There are several reasons to consider the collective intelligence of ant colonies as the blueprint. First, we can arrange the knowledge background that is equivalent to the creators' into different graphs, and this structure is designed within the formation of edges and vertices. Because the artificial ants can walk simultaneously in multiple dimensions and every dimension can interact with each other, such a framework design may result in a highly intricate behavior that can be difficult to visualize and therefore exert intriguing properties, including personalities.
Secondly, another characteristic of ant colonies, also the main reason for adopting this model, is that ants' walking is affected by the density of both cost given on graphs and pheromone left by ants. The former is part of the creative background knowledge, and the latter is the key factor for the system to autonomously develop its own style. The situation is the same as after a creator who has been working for years, a set of idioms will definitely be formed, furthermore to develop a distinct style.
Finally, ant colony optimization has a useful trait, which is, the spirit of explicit exploration, represented by a specific parameter of exploration probability. There is a certain probability that the choice of next move would not be affected by the aforementioned mechanism for the interaction of cost and pheromone. For optimization, it is the mechanism for the searching process to escape the capture of local optima and have the opportunity for finding better solutions. For the artistic creation, it is more like the unexpected creative inspiration of the creator, which becomes an important factor in creating and developing a unique style. It is one of the main goals and it would be the ideal result for this research.

The Implementation of Cantus Firmus Composer
Inheriting the framework of AntsOMG, in order to tackle the task of developing styles, which we consider as an important characteristic of intelligent behavior, we selected the creation of cantus firmi as a showcase. According to the cantus firmus specification [85] in the task, a minimal set of graphs, Graph x and Graph y, were defined. Although AntsOMG allows for ants to walk on multiple graphs at the same time, for this implementation, ants are designed to walk on Graph x and Graph y iteratively. Graph x describes the decision-making process for writing a note (Figure 3). Each turn starts with the "Start" vertex and decides whether to continue the previous trait ("directional") or to balance it ("complemental"). These two directions could roughly describe the intention when a composer writes a cantus firmus, and it may be possible to develop different composing styles between computation instances.
It will then be divided into two paths: if one makes the "directional" choice, then one must select one from the two paths: "conjunct" or "disjunct". If one makes the "complemental" choice, the next step is to choose between a balanced short-term trend or a long-term trend. The difference between these two choices is that the former only follows the direction of the last note and takes it to the contrary direction; the latter makes the choice according to the overall range of some written part. If the last note is higher in the register, then the decision will be going downwards, or vice versa. According to the result of the moves on Graph x, a path will be chosen to determine the strategy for the moves on Graph y. The structure of Graph y is much more complicated than that of Graph x. It consists of a series of pitches, and the ants may walk out a complete cantus firmus through it. In order to define the cantus firmus style of the seventeenth century in this graph, the authors use the design of diatonic gamut at vertex, instead of the pitch class ( Figure 4). The whole graph ( Figure 5   It is worth noting that the role of "cost" in these two graphs, especially in Graph y, is basically for characterizing the style of the seventeenth century. For example, in most situations, it has the tendency for stepwise motion and a small leap in thirds, and directional appears more frequent than complemental, etc. These presets can certainly be subtly altered by the pheromone left by the artificial ants and, thus, creating different styles under the same historical background and genre. The moving mechanisms for simulating ants, including the choice of next move and the deposit of pheromone, are adapted from ant colony optimization in this implementation for generating cantus firmi. The source code developed for this study is available at https://github.com/nclab/cf.composer.

Experiment Design
Based on the traits of ants depositing pheromone on route, the authors presume that after a large number of ants' "developing", it is possible that some unintended characteristics would be amplified on graphs as the level of pheromone, which leads to the formation of certain "autonomous music style models". These models can be kept as the basis for producing cantus firmi in batch. In both stages, the identical AntsOMG framework is employed, with slightly different parameter settings.
The authors divide the experiment into two stages. In the first stage, in each run, 100,000 ants "crawl" on the set of graphs, and each graph set is independently developed. In the second stage, fewer "artificial ants" are used, with no pheromone deposits or evaporation, to compose cantus firmi, which are to be observed and analyzed to recognize possible autonomously developed styles.

The First Stage: Developing the "Style Models"
The parameters used at this stage are as follows: • (1) p(r, s) represents the probability for an ant to go from r to s. J(r) is the set of next vertices from r.
τ(r, s) and η(r, s) represents the pheromone and the cost on the edge from r to s, respectively. α and β are the weights of τ(r, s) and η(r, s) for their relative importance. q 0 is the exploit chance and q is a random number uniformly distributed in [0, 1]. The ant movement rule used in this study is an adaption of the hybridization of Ant System (Equation (4) of [17]) and Ant Colony System (Equation (3) of [18]). Different ant movement/state transition rules may be adopted for different purposes or requirements of the task to tackle.  Table 1 shows a part of the graph data of these five Style Models. The values stand for the compound results of cost and pheromone. The percentage is the calculated probability to choose the path, regardless of the exploration rate. The paths of the highest probabilities are listed: two paths for Graph x and 5 paths for Graph y. From the consistency of the highest probability of paths on Graph x, most of the Style Models maintain the basic stepwise style of cantus firmus, but the variance is still significantly large. The second highest probability begins to diverse; Model 2 and 3 share the same order (Directional-Conjunct and Directional-Disjunct), but the two probabilities of Style Model 3 are much closer. Hence, each model appears to be very different. The situation of Graph y is also very interesting. Among the top five paths, most of them are stepwise. The conjunct paths to and from the final (D) and dominants (A) of Dorian Mode (D3 → E3, D4 → C4, E3 → D3, A4 → G4, B3 → A3, G3 → A3, etc.) are not unexpectedly ranked among the best, which properly forms the modal structure of cantus firmus. Under the strong influence of stepwise motion from Graph x, there are still a few combinations of thirds showing up in the top five list (E4 → C4, G3 → E3), indicating that the melodic style of each group may be very different from each other.

The Second Stage: Generating Cantus Firmi
In this stage, the authors use the aforementioned five selected Style Models to create the actual cantus firmus. The parameters of AntsOMG framework are similar, but there are some differences in using the graphs: • The structure of the graphs and the cost values which representing the known background are not changed.

•
The pheromone values developed from the first stage are loaded in each graph.

•
The Style Model is read-only when being used and the pheromone does not evaporate with time.

•
In order to keep the original appearances of the model during the process of composing, the authors use artificial ants that react to the preloaded pheromone but do not deposit pheromone.
Using the Style Models developed in the first stage, the authors only need 2% of ants in number to create a large body of cantus firmi in particular styles.
Finally, the authors used an filtering/evaluation function with three indicators to obtain the created cantus firmi for presentation. Please note that this evaluation function is definitely not an objective for optimization and cannot be used as one. It merely plays the role of a filter for discarding cantus firmi, which are not considered pleasing in general. The following three indicators are also simply some fundamental melodic properties. Other indicators can surely be adopted for the filtering purpose if desired or needed: • Range: 100 if the range is between fourth and octave, score being reduced when exceeding or insufficient. • Length: 100 between 7 and 15 notes, score being reduced if exceeding or insufficient. • Dominant count: 100 if the melody reaches dominant three times, score being reduced when exceeding or insufficient.
The score function for each indicator is defined as: 1+min(|x−l|,|x−u|) , otherwise. (2) x is the indicator value of the corresponding cantus firmus. l and u are the lower and upper bounds for each indicator as aforementioned. The evaluation function is then defined as: where cf is a cantus firmus and DC stands for "Dominant count". Each Style Model has had five independent experiments, from which 100 melodies are selected according to their scores, to be analyzed and discussed in the next section. Please note that the evaluation function here is not an objective function, as those existing in an optimization task. The evaluation function here is a part of the implementation for cantus firmi, but not a part of AntsOMG. It is only used to filter out unwanted generated music pieces, and no optimization process is conducted upon the evaluation function.
As mentioned in Section 2.2, all of the rules of cantus firmus are intended to allow humans to sing naturally. Hence, in the following section, we will actually verify that the cantus firmi produced in our showcase is indeed singable by performing as a way of evaluation in the realm of music. Moreover, the links to the recordings are provided for readers to listen in order to show the auditory amiability of these cantus firmi, especially that listeners may easily sing along, which is one of the important characteristics of cantus firmus and can be qualitatively evaluated.

Discussion
In this section, the authors observe the cantus firmi created by using each Style Model from the perspective of music and discuss the creative style exhibited.
The authors have selected seven cantus firmi from each model, performed in a Medieval hurdy-gurdy-like manner, and recorded each of them in order to demonstrate the unique character of each Style Model. Melodies created from each Style Model will be discussed in the following analysis, with explanation of the characteristics, respectively. As illustration, the first two cantus firmi are marked with trend lines and brackets on the music score.
The so-called "style" here is not a decisive distinction and cannot be considered as a key to partition or classification. Sometimes a cantus firmus exhibiting some characteristic of one Style Model might also exhibit that of another Style Model. The tendency generated by different Style Models permits us to deliver the melodies featuring the characteristics described below. Thus, this would correspond to our idea of creative behavior.
The discussion of the five Styles is given in what follows. The first part of description in italic is how a musician would describe the style from the perspective of music, followed by a more direct, operational description, and the corresponding music score.
Style Model 1: Ascending and descending scales in a five-note group is the most frequently seen in this style, which creates an interesting flavor as in playing on a slide.
Stepwise motions are greatly preferred in cantus firmus style. This Style Model is characterized with successive stepwise motions in the same direction, which appears at least four times to form a five-note group, as shown in Figure 6 (see the brackets indicating the five-note groups. Listen to the selected examples, including the two shown in Figure 6 at https://e.cctcc.art/ec20m1. One can hear that the melodic flow is indeed smooth, without abrupt leaps or jerky gaps. More examples are available at https://e.cctcc.art/ec20m1g for this Style Model). Style Model 2: More daring with larger disjunct (over fourth), some beautiful combinations would be created. It is especially interesting with a downward progression of the fourth at the beginning.
In this model, the cantus firmi are featured with at least one leap in interval of octave and two leaps in intervals greater than thirds, as shown in Figure 7 (the brackets mark the leaps). The definition of interval here refers to the space between two notes. It will subsequently be expressed using the musical terms, such as thirds, fourth, etc. Listen to the selected examples, including the two shown in Figure 7 at https://e.cctcc.art/ec20m2. Although there are some big leaps to create tension in musical expression, they are being crafted into a smooth arch, which are still accessible to sing. More examples are available at https://e.cctcc.art/ec20m2g for this Style Model). In this Style Model, the melodic interval of cantus firmi is mainly comprised of seconds and thirds, and the combination of a successive seconds and thirds (or vice versa) takes at least 50%, as shown in Figure 8    In this Style Model, the cantus firmi are initiated with a four-note figure which comprised of intervals smaller than fifth, while at least one interval is greater than second, followed by notes going in opposite directions, as shown in Figure 10  From the results presented above, it is clearly observed that the AntsOMG implementation designed for autonomous music style development has expressed the tendencies to produce different music styles upon the basis of given background knowledge from analytical views from the music perspective on both the computational data as well as music styles.
Finally, in addition to the seven selected, performed, and recorded cantus firmi of each Style Model shown in this paper, more cantus firmus with their corresponding music scores can be listened to via https://e.cctcc.art/ec20 or https://github.com/nclab/cf.composer.

Conclusions
In this paper, a meta-framework, called ants on multiple graphs (AntsOMG), was proposed for autonomous development and creativity automation in general situations, and an implementation derived from AntsOMG specifically for composing cantus firmi was presented as a showcase in order to address the issue regarding automating creativity and intelligent behavior as well as autonomously developing music compositional styles. After conducting experiments on developing cantus firmi styles autonomously, five Style Models were observed, selected, and used to generate a large number of cantus firmi. Professional, musical analysis was then conducted on the generated pieces of music. It was found that each of the developed Style Models was indeed able to create cantus firmi of distinctive styles. Hence, the presented implementation can be used to create cantus firmi in batch and possibly also other music genres with minor modifications. Moreover, the proposal, AntsOMG, may be adapted to handle autonomous development in other domains or disciplines with corresponding and appropriate implementations.
The study that is presented in this paper creates new possibilities for research related to applications of computer methodologies on music, provides new directions of potential future work, and possibly assists humans to gain insights into what a creative mind might be like and how it might operate, such that understandings on intelligence might be pushed slightly further. Future work along this line of research includes, in the short term, adopting the developed music styles to generate music pieces in practical use on the music side and augmenting the components, e.g., enabling the graphs to be dynamically mutable, adaptable, and evolvable to reflect the developing process and remember the accumulated experience, in the proposed framework on the methodology side. In the medium term, AntsOMG may be employed to develop more complex music genres based on multiple layered musical thinking and meta-thinking, expressed as graphs and the actions of ants on graphs. Moreover, AntsOMG can also be adapted in other fields and domains, such as painting and artistic design. For our ultimate goal, AntsOMG may be extended to incorporate other features, properties, and characteristics that were observable in human creative activities and creation processes in order to construct an operational model capable of depicting creativity and ability to create in the long run.  Acknowledgments: The authors would like to thank renowned Taiwanese cellist Sheng-wen Liu for her performance and Chih-fang Chiang for his assistance with the experiment data and baritone singing in the performance recordings.

Conflicts of Interest:
The authors declare no conflict of interest.