Next Article in Journal
A Fractional High-Gain Nonlinear Observer Design—Application for Rivers Environmental Monitoring Model
Previous Article in Journal
Estimating Parameters in Mathematical Model for Societal Booms through Bayesian Inference Approach
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Transformational Modified Markov Process for Chord-Based Algorithmic Composition

1
Department of Mathematics, SCE—Shamoon College of Engineering, 84 Jabotinsky St., Ashdod 77245, Israel
2
Department of Mechanical Engineering, SCE—Shamoon College of Engineering, 56 Bialik St., Beer-Sheva 8410802, Israel
3
Department of Applied Mathematics, Holon Institute of Technology, 52 Golomb St., Holon 5810201, Israel
4
Department of Mathematics, Bar-Ilan University, Ramat Gan 5290002, Israel
*
Author to whom correspondence should be addressed.
Math. Comput. Appl. 2020, 25(3), 43; https://doi.org/10.3390/mca25030043
Submission received: 24 March 2020 / Revised: 19 June 2020 / Accepted: 9 July 2020 / Published: 10 July 2020
(This article belongs to the Section Natural Sciences)

Abstract

:
The goal of this research is to maximize chord-based composition possibilities given a relatively small amount of information. A transformational approach, based in group theory, was chosen, focusing on chord intervals as the components of a modified Markov process. The Markov process was modified to balance between average harmony, representing familiarity, and entropy, representing novelty. Uniform triadic transformations are suggested as a further extension of the transformational approach, improving the quality of tonality. The composition algorithms are demonstrated given a short chord progression and also given a larger database of albums by the Beatles. Results demonstrate capabilities and limitations of the algorithms.

1. Introduction

Algorithmic composition occurs on a plane where science, technology and art, specifically music, meet, and refers to musical composition techniques which were studied and developed well before the advent of digital computers [1]. Development of musical technologies has always been related to general technological advance. Specifically, computer-aided algorithmic composition begun in the mid twentieth century, with the increasing availability of computer technologies [2]. It has since become a significant field of research that has artistic and commercial representation.
The algorithm presented in this paper was developed for an on-going research involving audio-based synchronization of guitar playing robot manipulators. The interactive goal of the robotic system is to follow a given chord progression, played by a human musician, then modify it and develop it in an interactive environment [3]. This demanded maximizing compositional possibilities given a relatively short chord progression. A transformational approach was considered due to its firm mathematical basis and potential to expand compositional capabilities. According to music theorist David Lewin (1933–2003), transformational music theory has the potential to describe music not from an objective outside perspective, but from the perspective of a musician thinking within the music [4,5]. This, together with the limited input data scenario, provides the motivation for the research presented herewith.
Transformational music theory involves analysis, characterization and formulation of transformations in musical composition [6]. In [7], Hook suggests a generalized formulation, termed the uniform triadic transformation (UTT), relates to two transformations between major and minor triads. Transformational notions such as neo-Riemannian transformations and Tonnetz have appeared in recent research as methods of exploring harmonic relations in algorithmic composition. The research appearing in [8] introduces a method of harmonization, given the melody and the desired style, based on a database of music. A tree-based process of analyzing, constructing and trimming the harmony using neo-Riemannian transformations is suggested. The Tonnetz is a graphical representation of the relation between notes and triads and is applied in [9] for interactive composition. In [10,11], interactive composition is designed using methods of tonal interval space [12]. An application of transformational theory in music appear in [13], which focuses on specific groups as the basis for composition. Finally, an example of composition using uniform triadic transformations (UTTs) appears in [14].
A Markov process was used as the basic structure for the current algorithm. Markov processes have been applied to music over almost a century, being versatile and easy to implement [1,15,16]. However, due to data storage problems on one hand, and the difficulty producing musically acceptable results on the other, Markov processes usually appear as part of a more complex algorithm [17]. In the context of chord progression analysis, recent examples can be found in [18,19]. In [20], the factor oracle is a structural basis for musical improvisation algorithms, addressing harmony, rhythm, melody and style. An interval-based approach was suggested as a possibility for expanding the compositional possibilities. The factor oracle was recently developed into a wider structure termed the variable Markov oracle [21].
The modified Markov process described below was presented in [22], and optimally adjusts the transition probabilities to control a balance between average source probability and entropy, representing familiarity and novelty, respectively.

2. Transformational Music Theory

This section describes harmonic relations in music and triadic operations in the language and notation provided by group theory, following [7].
All definitions below relate to pitch-class, and to the 12 tones of which western music is comprised. This means that a tone r represents the same tone as r + 12 .
A chord refers to several musical tones resonating simultaneously. The two main chord types in western music are major and minor triads, made up of three tones each. The major triad with root r is composed of three tones, ( r , r + 4 , r + 7 ) . As r represents the same note as r + 12 , the respective intervals within the triad are the differences along the cycle, namely ( 4 , 3 , 5 ) . Similarly, the minor triad with root r is composed of the three notes ( r , r + 3 , r + 7 ) , giving the differences ( 3 , 4 , 5 ) .
In the other direction, each of the 24 pairs ( t , ( a , b , c ) ) , where t Z 12 and ( a , b , c ) is either ( 4 , 3 , 5 ) or ( 3 , 4 , 5 ) , corresponds to a triad ( t , t + a , t + a + b ) .

2.1. Triadic Transformations

Definition 1.
Atriadcan be represented by the ordered pair Δ = ( r , σ ) , where r is the root of the triad expressed as an integer (mod 12), which is the relative shift in terms of semi-tones; and σ is a sign representing its mode (+ for major, − for minor).
For example, ( 0 , + ) represents C major, while ( 8 , ) represents G# minor.
Theorem 1.
The set of all 24 major and minor triads forms an abelian group (isomorphic to Z 12 × Z 2 ) with multiplication defined by
( r 1 , σ 1 ) ( r 2 , σ 2 ) = ( ( r 1 + r 2 ) ( mod 12 ) , σ 1 σ 2 ) ,
This set is denoted by Γ.
Definition 2
([7], p. 62). Given Δ 1 = ( r 1 , σ 1 ) and Δ 2 = ( r 2 , σ 2 ) , the transposition level t = r 2 r 1 is the interval between the roots, and the sign factor σ = σ 1 σ 2 is the change in sign, following usual multiplication of signs. The Γ-interval int ( Δ 1 , Δ 2 ) is the ordered pair ( t , σ ) , where t and σ are the transposition level and sign factor, respectively. The Γ-interval is, therefore, the triadic transformation between Δ 1 and Δ 2 .
Hugo Riemann (1849–1919) defined three triadic operations (transformations), known today as Neo-Riemannian operations:
  • The parallel operation (P) shifts the second note of the triad up or down a semitone transforming between the major and minor triads of the same root. This can be seen, for example, in the shift between C major and C minor. This transformation switches the intervals ( 4 , 3 , 5 ) and ( 3 , 4 , 5 ) , so it transforms a major triad to a minor one, and vice versa. More explicitly,
    P : ( r , + ) ( r , ) ,    ( r , ) ( r , + ) .
  • The leading tone exchange (L) moves the bottom note of the major triad down a semitone or the top note of the minor triad up a semitone. For example, transforming between C major and E minor. By rotating the triad observe that
    L : ( r , + ) ( r + 4 , ) ,    ( r , ) ( r 4 , + ) .
  • The relative operation (R) transforms between relative major and relative minor triads by shifting the top note of the major triad up a whole tone or by shifting the bottom note of a minor triad down a whole tone. Here
    R : ( r , + ) ( r 3 , ) ,    ( r , ) ( r + 3 , + ) .
As a result that
L R : ( r , + ) ( r 7 , + ) ,    ( r , ) ( r + 7 , )
preserves the type, and because 7 is prime to 12, it is clear that every triad can be transformed by L , R to any other triad (i.e., the group of transformations generated by L , R acts transitively on Γ ).

2.2. Uniform Triadic Transformations

The uniform triadic transformation, presented in [7], expands upon the neo-Riemannian transformations, and provides a generalized algebraic framework for the study of triadic transformations. A given uniform triadic transformation, or UTT, operates on major triads by a certain shift, and on minor triads by another. The UTT is denoted by σ , t + , t , where σ + , is the sign factor, t + is the transposition level given a major triad, and t is the transposition level given a minor triad. In this notation,
P = , 0 , 0 ,    L = , + 4 , 4 ,    R = , 3 , + 3 .
The UTT ( σ , t + , t ) moves the triad ( r , o ) to the triad ( r , o ) , where the new mode (i.e., major or minor) is o = σ o ; and the new root is r = r + t o ( mod 12 ) (namely r = r + t + if o = + and r = r + t if o = ).
As major and minor triads are being rotated independently, we have a set of 144 operations, and this set + , t + , t | t + , t Z 12 clearly forms a group, isomorphic to Z 12 × Z 12 , which does not contain the operation P. It is easy to check that
P + , t + , t = + , t , t + P ,
and it follows that the group
U : = ± , t + , t | t + , t Z 12 ,
of all the UTTs, is isomorphic to the semidirect product Z 2 ( Z 12 × Z 12 ) , which has order 288.

3. Modified Markov Process

The composition method is based on an extended Markov process, given a desired musical progression to be improvised upon. The method takes into account two competing factors:
  • Familiarity: The outcome is musical-theoretically coherent with the initial progression. This property will be measured in terms of average probability.
  • Novelty: Given the same input sequence, several possible outcomes are appropriate. This property will be measured in terms of entropy.
Denote by C the given input data (which in our case is a sequence of triads). Let h C be the distribution of consecutive pairs of triads. This distribution defines a Markov process on triads, where the distribution of the next triad is taken from the data (see for example Table 2). However, as stated, this process only relates to the familiarity condition. We therefore modify the process by incorporating the entropy.
A new distribution is defined that maximizes a linear combination of familiarity vs. novelty. Let δ be a distribution on Γ , so that
c Γ δ ( c ) = 1 .
Definition 3.
Theaverage probabilityof δ (with respect to C ) is
E δ : = E δ [ h C ] = c Γ h C ( c ) δ ( c ) .
Definition 4.
Theentropyof δ is
H δ = c Γ δ ( c ) · log 2 ( δ ( c ) ) .
The average favors repeating the most common symbols of C , while the entropy favors a uniform distribution. To balance the two competing effects, the distribution δ is chosen to maximize the function
T ( δ ) = μ · E δ + ( 1 μ ) · H δ ,
where the parameter μ is fixed and determines the degree of familiarity relative to the input data.
Rewrite (5) as follows:
T ( δ 1 , , δ n ) = μ i = 1 n δ i h ( c i ) ( 1 μ ) i = 1 n δ i · log 2 δ i ,
where n denotes the number of possible states, which in this case is the cardinality of Γ , namely 24. T is maximized under the constraint δ i = 1 .
Define the Lagrange function as follows:
L ( δ 1 , , δ n , λ ) = T ( δ 1 , , δ n ) λ i = 1 n δ i .
Taking the derivative of L by δ i and comparing to zero, yields:
T ( δ 1 , , δ n ) δ i λ = 0 .
More explicitly,
μ · h ( c i ) ( 1 μ ) · ln δ i + 1 ln 2 λ = 0 .
Extracting δ i :
δ i = 1 e 2 μ h ( c i ) λ ( 1 μ ) ,
and summing all arguments:
1 = i = 1 n δ i = 1 e i = 1 n 2 μ h ( c i ) λ 1 μ .
Therefore,
λ = ( 1 μ ) ln 2 + ( 1 μ ) · log 2 ( i = 1 n 2 μ · h ( c i ) 1 μ ) ,
leading to the optimal distribution vector
δ i = 1 e · e μ h ( c i ) ( ( 1 μ ) ln 2 + ( 1 μ ) log 2 j 2 μ h ( c j ) 1 μ ) 1 μ = 1 e 2 μ 1 μ h ( c i ) + 1 ln 2 log 2 j 2 μ h ( c j ) 1 μ .
Maximizing using the Hessian matrix,
f C ( δ 1 , , δ n ) δ i = μ h i ( 1 μ ) ln 2 ( ln δ i + 1 ) .
If i j , then
2 f C ( δ 1 , , δ n ) δ i δ j = 0 ,
and if i = j , then
2 f C ( δ 1 , , δ n ) δ i 2 = ( 1 μ ) ln 2 1 δ i < 0 .
It follows that the vector that maximizes the target function is:
δ i = 2 μ 1 μ h ( c i ) j = 1 n 2 μ 1 μ h ( c j ) .
Figure 1 shows an example row of a transition probability matrix ( h j ) and the effect of μ on the respective output probabilities. Given μ = 1 , the transition with highest probability will always be chosen. As μ decreases, the transition probability flattens out. Low values of μ yield a distribution that appears uniform. This can be observed also in Figure 2.
Figure 2 shows average sequence matching given an arbitrary length—16 sequences—used for producing a thousand new sequences. This correlates with Figure 1 implying that for low values of μ , although the distribution is not uniform, it becomes approximately uniform. For higher values of μ , the modified Markov process can be expected to yield chord progressions (or sequences in general) that maintain similarity to the given input data. More sequence matching examples are presented below.

4. Demonstration Database

In order to demonstrate the modified Markov process and the transformational approach in the following sections, two Beatles’ albums were chosen. The first was the Beatles’ debut album, “Please Please Me” and the second was the extended LP, “Magical Mystery Tour”, their ninth album. The Beatles music is considered as a significant influence on modern popular music and has been well documented [23,24]. In the two albums, song structure is similar, but arrangements and production are extremely different. In terms of style and harmony, Please Please Me is traditional sixties pop music, and contains mainly diatonic chord sequences and blues-based chord sequences. The songs in Magical Mystery Tour include a large degree of repetition, partly influenced by traditional Indian music. Diatonic and blues merge to yield a mixture of major chord based songs as well as songs with very intricate harmonies.
The chords of all the songs used appear in [25]. This book does not include cover versions or instrumental tracks and these were, therefore, omitted. In order to maintain structure, songs were separated into two main parts, ‘A’ and ‘B’. Each A-part or B-part was typically made up of four chords units that were repeated or modified, so for demonstration purposes, four chord progressions were composed using the Markov process. A Markov process was created for each set of parts in each album, and the modified probability matrices were created for various values of μ . New progressions were chosen to begin with the E major chord which happens to be the most frequent chord in Beatles music [23]. This was also important for comparing the results of the algorithms presented below.
Evaluation of new chord progressions depends on the purpose of the algorithm. For example, a method for determining consonance of music, based on Euclidean distance within a tonal interval space, appears in [12]. In [26], evaluation was related to the Wundt curve which describes the relation between complexity and enjoyment.
In the results presented below, evaluation considers two factors–tonality and similarity to the intervals and interval sequences of the input data. As both factors are significant in the quality of the algorithms, the evaluation score was chosen to be the higher value of the two. Table 1 shows sets of four-chord progressions created using the chords in the A-parts of the album Please Please Me as input data. The sets were created for the original Markov probability matrix and for the modified Markov process given μ = 1 , 0.9 , 0.8 , 0.7 , 0.6 .
At μ = 1 , only the most dominant state is chosen, which happens to be repetition—remaining on the same chord. For high values of μ , new chord combinations appear, with the score remaining similar to that of the original Markov process. Below μ = 0.8 , chord combinations become arbitrary as transition probabilities approach uniformity. The score decreases with the decrease in the quality of tonality and compatibility with the original progressions. Although these examples are not statistically significant, they demonstrate the modified Markov method and concur with the tendencies in Figure 1 and Figure 2. The modified Markov process itself does not add new chords to the input database. The transformational will be shown to significantly increase the selection of new chords given the same input progression.

5. A Transformational Approach

In order to explain the transformational approach, a short chord progression will be analyzed. The two bar progression in Figure 3 was chosen for demonstration.
Major chords are represented by upper case letters and minor chords by upper case letters followed by a lower case ‘m’. Below the musical stave is the triadic notation of the progression, where ( 9 , ) represents A minor and so on (modulu 12). Below the triads, slightly indented, are the triadic transformations. For example, the triadic transformation between ( 9 , ) and ( 0 , + ) is ( 3 , ) . Musical notes represent pitch-class rather than actual voice leading. The repetition sign (:) at the end adds transition from G major ( 7 , + ) back to A minor ( 9 , ) . The triadic transformation is, therefore, ( 2 , ) . Transition probabilities were calculated for the triads and for the transformations. For demonstration purposes, and without loss of generality, the new progressions were chosen to be eight bars long, with the first triad and transformation kept at their original values.

5.1. Modified Markov Process

As a result that each triad in the progression leads to a different triad, and because the last triad leads back to the first, the average probability of the progression is given by the unit matrix. Using the modified Markov process given μ = 1 , the output probability (delta) matrix is identical to the average probability, and the resulting four bar progression would be identical to the original one. Modifying the values of μ would rearrange the given chords into new progressions.

5.2. Transformational Modified Markov Process

The probability matrix for the transformations in the progression appears in Table 2.
The transformation ( 3 , ) appears twice in the original progression, reducing the average probability matrix dimension. The first row of the average transition probability matrix indicates that after a ( 3 , ) transformation, there is an equal probability of a ( 4 , ) transformation or a ( 2 , ) transformation.
A sample output progression, given μ = 0.9 , appears in Figure 4.
The first two bars are identical to the original progression; however, the choice of transformation between triads (0,+) and ( 4 , ) , represented by the transformation ( 4 , ) , and the transformation between ( 0 , + ) and ( 2 , ) , represented by ( 2 , ) , has added the ( 5 , + ) (F major) and ( 2 , ) (D minor) triads to the list of possible chords. As μ decreases, the possibility of the original transformations appearing in a different order gradually increases, adding more chords to the possible output. For example, choosing μ = 0.8 yielded the progression in Figure 5.
Notice that after the first two bars, which happen to be identical to the original progression, the transformation ( 4 , ) is chosen, leading to B minor rather than to A minor. B minor leads to D major, which follows the original ( 3 , ) transformation; but then, a ( 3 , ) transformation is chosen. This interval, a ( 3 , ) after a major chord, did not appear in the original progression and is non-diatonic. It is an example of an interval that would be used rarely and carefully in composition. Choosing μ = 0.5 yielded the output in Figure 6.
The selection of new chords has increased, but the outcome is somewhat random and has little in common with the original progression. This follows from the fact that the transformational approach is atonal and, therefore, does not always correctly capture the tonal nature of the original progression. This limitation of the transformational approach can be moderated by distinguishing between intervals following major or minor chords, an approach inspired by the uniform triadic transformation (UTT) [7].

5.3. UTT-Based Approach

Using this approach, given the transition probabilities appearing in Table 2, the decision process would be applied separately for transformations following major chords and transformations following minor chords. In the example, given a minor chord, which occurs after either a ( 4 , ) or a ( 2 , ) transformation, the output transformation is always ( 3 , ) , yielding a major chord. Given a major chord, the opposite occurs, and ( 4 , ) or ( 2 , ) will be chosen, yielding a minor chord. Output results are, in this case, independent of the values of μ . Possible output progressions include the original progression (Figure 3) and the first output progression of the transformational method displayed above (Figure 4).
In Figure 7, each minor triad is followed by a ( 3 , ) transformation, and each major triad is followed by ( 4 , ) transformation. This progression may be described by the UTT , 4 , 3 . In Figure 8, each minor triad is, again, followed by a ( 3 , ) transformation, but each major triad is followed by a ( 2 , ) transformation. This progression is described by the UTT , 2 , 3 .
Extending these two progressions would eventually include all major and minor triads following what is known as the circle of fifths (consecutive ( 5 , + ) transformations) or circle of fourths (consecutive ( 4 , + ) transformations).

6. Large Database

To test the transformational approach, the chords of both Beatles albums were simplified to triads and new chord progressions were created given each album as a separate database. Table 3 shows new four-chord progressions created with the original and modified Markov processes created using the triadic transformations between chords, for μ = 1 , 0.9 , 0.8 , 0.7 , 0 .
At μ = 1 only the most dominant state is chosen, which happens to be repetition—remaining on the same chord. The average score gradually decreases with μ . It is beyond the scope of the current study to actually compare the musical results, however it is interesting to notice that as μ decreases, there is a difference in the new progressions between the two albums. Employing the UTT-based approach is also expected to improve tonality of new progressions.

7. Sequence Matching

Sequence matching is an essential tool in the fields of bio-informatics and genetics. It is also used as a method for comparing musical compositions [27,28].
Three examples of short progressions were chosen. The first is a repetitive transformational passage from the piece ‘Wilde Jagd’ by Liszt; the second is a simplification of the main theme of the Radiohead song ‘Morning Bell’; and the third is a modified version of the chorus of the Beatles’ song ‘Hello Goodbye’. The transformational and UTT approaches were applied to the transformations of each progression, given 0 < μ < 1 . A thousand new progressions of the same length were created and compared to the original progression in terms of the transformations and the actual triads of each input progression. The following figures show the percentage of maximal sequence matching.
Some examples of triad chains generated by order-24 UTTs, chosen from the musical literature, appear in [7]. One of them is an excerpt from Wild Jagd by Franz Liszt. Figure 9 shows the maximal matching of the transformations chosen (Figure 9a) and the respective output triads (Figure 9b). In this example, the UTT-based approach succeeds in recreating the original progression for all values of μ until just below 1. The transformational approach succeeds in recreating the original progression for all values above approximately μ = 0.7 . However, when μ is very close to 1, the results deteriorate. This follows the fact that for μ 1 , only the transformation with the highest probability is chosen, preventing the new progression from completing the original progression (see Figure 1).
In [29], the song Morning Bell by Radiohead was analyzed in terms of neo-Riemannian transformations. In terms of maximal sequence matching (Figure 10), the UTT-based method achieves higher results, indicating its capability to reproduce the original progression.
Figure 11 shows maximal sequence matching for the modified version of the chorus of Hello Goodbye, which appears on the LP version of Magical Mystery Tour. The difference compared to the previous examples can be attributed to the fact that this progression includes significantly less repetition of transformations.

8. Conclusions

A transformational approach to chord-based composition was suggested within the framework of a modified Markov process. The system optimizes the balance between familiarity, represented by average harmony, and novelty, represented by entropy. The modified Markov itself is not actually limited to harmony and can be used for algorithmic composition of melody, rhythm and possibly other parameters. Combining the modified Markov process with the transformational approach can significantly expand the chord range in the new progressions. one of the disadvantages of using triadic transformations in the Markov process is the atonality of the transformations. The UTT-based approach moderates this problem as it maintains the mode of chord being followed, thus improving tonality as well as sequence matching. The algorithms were demonstrated given a short chord progression and also given a larger database of albums by the Beatles. Further work is expected to include more evaluation examples, on the one hand, and real-time application, on the other.

Author Contributions

Conceptualization, E.F. and M.A.; methodology, E.F.; software, E.F.; validation, E.F. and S.G.; formal analysis, E.F., S.G. and U.V.; investigation: E.F.; resources, E.F.; data curation, E.F.; writing—original draft preparation, E.F. and S.G.; writing—review and editing, E.F., S.G. and U.V.; visualization, E.F.; supervision, U.V.; project administration, S.G. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Acknowledgments

The authors would like to thank Beeri Greenfield for his significant contribution to the modified Markov algorithm. We would also like to thank the reviewers for their helpful comments.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Nierhaus, G. Algorithmic Composition: Paradigms of Automated Music Generation; Springer: Vienna, Austria, 2009. [Google Scholar]
  2. Ariza, C. Navigating the landscape of computer aided algorithmic composition systems: A definition, seven descriptors, and a lexicon of systems and research. In Proceedings of the International Computer Music Conference (ICMC 2005), Barcelona, Spain, 4–10 September 2005. [Google Scholar]
  3. Garcia, Y.; Fisher, E.; Mendez, J. Positioning for a Guitar Playing Robot Using a Single Image; ICR: Herzliya, Israel, 2016. [Google Scholar]
  4. Lewin, D. Generalized Musical Intervals and Transformations; Oxford University Press: Oxford, UK, 1987/2007.
  5. Thalmann, F. Gestural Composition with Arbitrary Musical Objects and Dynamic Transformation Networks. Ph.D. Thesis, University of Minnesota, Minneapolis, MN, USA, 2014. [Google Scholar]
  6. Zhang, A. The Framework of Music Theory as Represented with Groups. Available online: https://sites.math.washington.edu/~morrow/336_09/papers/Ada.pdf (accessed on 9 July 2020).
  7. Hook, J. Uniform Triadic Transformations. J. Music Theory 2002, 46, 57–126. [Google Scholar] [CrossRef]
  8. Chuan, C.H.; Chew, E. Generating and Evaluating Musical Harmonizations that Emulate Style. Comput. Music J. 2011, 35, 64–82. [Google Scholar] [CrossRef]
  9. Bigo, L.; Spicher, A.; Mackay, W. PaperTonnetz: Music Composition with Interactive Paper. In Proceedings of the 9th Sound and Music Computing Conference, Copenhagen, Denmark, 11–14 July 2012. [Google Scholar]
  10. Bigo, L.; Ghisi, D.; Spicher, A.; Andreatta, M. Representation of Musical Structures and Processes in Simplicial Chord Spaces. Comput. Music J. 2015, 39. [Google Scholar] [CrossRef]
  11. Cocharro, D.; Bernardes, G. HarT: Smart Tool for Harmonic Content Transformations. In Proceedings of the 13th International Symposium on CMMR, Matosinhos, Portugal, 25–28 September 2017. [Google Scholar]
  12. Bernardes, G.; Cocharro, D.; Guedes, C.; Davies, M.E.P. Conchord: An Application for Generating Musical Harmony by Navigating in a Perceptually Motivated Tonal Interval Space. In Proceedings of the 11th International Symposium on Computer Music Modeling and Retrieval (CMMR), Plymouth, UK, 16–19 June 2015. [Google Scholar]
  13. Andreatta, M. On Group-Theoretical Methods Applied to Music: Some Compositional and Implementational Aspects. Available online: http://recherche.ircam.fr/equipes/repmus/moreno/01AndreattaEpos2004.pdf (accessed on 9 July 2020).
  14. Wolfe, G. Using Uniform Triadic Transformations to Map Out Chord Progressions. Available online: http://www.gershonwolfe.com (accessed on 9 July 2020).
  15. Ames, C. The Markov Process as a Compositional Model: A Survey and Tutorial. Leonardo 1989, 22, 175–187. [Google Scholar] [CrossRef]
  16. Papadopoulos, A. Mathematics and Group Theory in Music. In Handbook of Group Actions; International Press of Boston, Inc.: Somerville, MA, USA, 2014; Volume II, pp. 525–572. [Google Scholar]
  17. Fernández, D.J.; Vico, F. AI Methods in Algorithmic Composition: A Comprehensive Survey. J. Artif. Intell. Res. 2013, 48, 513–582. [Google Scholar] [CrossRef]
  18. Berget, G.E. Using Hidden Markov Models for Musical Chord Prediction. Master’s Thesis, NTNU, Trondheim, Norway, 2017. [Google Scholar]
  19. Kiefer, P.; Riehl, A. Markov Chains of Chord Progressions. Ball State Undergrad. Math. Exch. 2016, 10, 16–21. [Google Scholar]
  20. Assayag, G.; Dubnov, S. Using Factor Oracles for Machine Improvisation. Soft Comput. 2004, 8, 604–610. [Google Scholar] [CrossRef]
  21. Wang, C. Analysis and Generation of Music Signals with the Variable Markov Oracle. Ph.D. Thesis, University of California San Diego, San Diego, CA, USA, 2018. [Google Scholar]
  22. Amram, M.; Fisher, E.; Gul, S.; Vishne, U. A Transformational Approach to Harmony Improvisation. In Proceedings of the Bridges 2020: Mathematics, Art, Music, Architecture, Education, Culture, Helsinki and Espoo, Finland, 1–5 August 2020. accepted. [Google Scholar]
  23. Johansson, K.G. The harmonic language of the beatles. Available online: http://www.musikforskning.se/stmonline/vol_2/KGJO/Johansson.pdf (accessed on 9 July 2020).
  24. Pollack, A.W. Notes on Series. Available online: http://www.icce.rug.nl/~soundscapes/DATABASES/AWP/awp-notes_on.shtml (accessed on 9 July 2020).
  25. The Beatles. The Beatles Complete Chord Songbook; Hal Leonard: Milwaukee, WI, USA, 1999. [Google Scholar]
  26. Agres, K.; Herremans, D.; Bigo, L.; Conklin, D. Harmonic Structure Predicts the Enjoyment of Uplifting Trance Music. Front. Psychol. 2017, 7. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  27. Cunningham, S.; Grout, V.; Bergen, H. Mozart to Metallica: A Comparison of Musical Sequences and Similarities. In Proceedings of the Conference on Computer Applications in Industry and Engineering (CAINE), San Diego, CA, USA, 12–14 October 2005. [Google Scholar]
  28. Mongeau, M.; Sankoff, D. Comparison of Musical Sequences. Comput. Humanit. 1990, 24, 161–175. [Google Scholar] [CrossRef]
  29. Capuzzo, G. Neo-Riemannian Theory and the Analysis of Pop-Rock Music. Music Theory Spectr. 2004, 26, 177–199. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Output probability vector, δ j , given average transition probabilities, h j = { 0.04 , 0.09 , 0.1 , 0.22 , 0.13 , 0.17 , 0.11 , 0.03 , 0.04 , 0.07 } , for decreasing values of μ .
Figure 1. Output probability vector, δ j , given average transition probabilities, h j = { 0.04 , 0.09 , 0.1 , 0.22 , 0.13 , 0.17 , 0.11 , 0.03 , 0.04 , 0.07 } , for decreasing values of μ .
Mca 25 00043 g001
Figure 2. Average sequence matching given a length—16 sequences.
Figure 2. Average sequence matching given a length—16 sequences.
Mca 25 00043 g002
Figure 3. Two bar progression.
Figure 3. Two bar progression.
Mca 25 00043 g003
Figure 4. Output progression, high μ 1 .
Figure 4. Output progression, high μ 1 .
Mca 25 00043 g004
Figure 5. Output example, μ 1 = 0.8 .
Figure 5. Output example, μ 1 = 0.8 .
Mca 25 00043 g005
Figure 6. Output example, μ 1 = 0.5 .
Figure 6. Output example, μ 1 = 0.5 .
Mca 25 00043 g006
Figure 7. Output example, uniform triadic transformation (UTT)-based method.
Figure 7. Output example, uniform triadic transformation (UTT)-based method.
Mca 25 00043 g007
Figure 8. Another output example, UTT-based method.
Figure 8. Another output example, UTT-based method.
Mca 25 00043 g008
Figure 9. Wilde Jagd—maximal sequence matching of transformations (a) and triads (b).
Figure 9. Wilde Jagd—maximal sequence matching of transformations (a) and triads (b).
Mca 25 00043 g009
Figure 10. Morning Bell—maximal sequence matching of transformations (a) and triads (b).
Figure 10. Morning Bell—maximal sequence matching of transformations (a) and triads (b).
Mca 25 00043 g010
Figure 11. Hello Goodbye—maximal sequence matching of transformations (a) and triads (b).
Figure 11. Hello Goodbye—maximal sequence matching of transformations (a) and triads (b).
Mca 25 00043 g011
Table 1. New chord progressions given A-parts of Please Please Me.
Table 1. New chord progressions given A-parts of Please Please Me.
ChordProgression Score ChordProgression Score
EG#m7Gm7F#m71EEABm1
EEEE1EG#7A7C0.2
EGm7F#7A70.7
no μ av.1 μ = 0.8 av.0.63
EG#m7G#7A70.4
EEEE1EG#7G#m7Em0.2
EG#m7A7C0.4
μ = 1 av.1 μ = 0.6 av.0.3
EEBmA1EG#m7G#7A70.4
EEGC1EG#7G#m7D0.4
EEEAm1EGm7A7C0.2
μ = 0.9 av.1 μ = 0 av.0.3
Table 2. Average transition probability—transformations.
Table 2. Average transition probability—transformations.
( 3 , ) ( 4 , ) ( 2 , )
( 3 , ) ( 4 , ) ( 2 , ) 0 0.5 0.5 1 0 0 1 0 0
Table 3. New chord progressions—transformational approach.
Table 3. New chord progressions—transformational approach.
Please Please Me (1962)Magical Mystery Tour (1967)
Progression Score ChordProgression Score
EF#m7F#m7B1EGAD0.8
EGmGmGm0.8EAmAmAm1
EAEG0.8EEEE1
EAmAmAm1EF#mF#mF#m1
Original Average0.9 Original Average0.95
EEEE1EEEE1
μ = 1 Average1 μ = 1 Average1
EEABm1EBBEm0.8
EAEA1EEEG1
EGGG0.8EBBAm1
EDDF0.8EBBC#m1
μ = 0.9 Average1 μ = 0.9 Average0.95
EAmG#mG#m0.7EG#G#G#0.8
EG#mA#G#1EAFC#m0.7
EECAm0.7EBC#mAm0.7
EDmDmF1EACmBb0.4
μ = 0.8 Average0.85 μ = 0.8 Average0.65
EF#D#mFm0.4EDmG#mDm0.7
EFFEbm0.4EBBDm0.7
EDEmF0.8EAmCA0.6
EADEb0.6EF#mG#A#m0.4
μ = 0.7 Average0.55 μ = 0.7 Average0.6
EGmDmAm0.4ED#GD0.4
EBGEm0.4EGmEGm0.3
EF#mA#mDm0.3EBbGbE0.6
ED#D#G0.4EF#G#C#0.4
μ = 0 Average0.38 μ = 0 Average0.43

Share and Cite

MDPI and ACS Style

Amram, M.; Fisher, E.; Gul, S.; Vishne, U. A Transformational Modified Markov Process for Chord-Based Algorithmic Composition. Math. Comput. Appl. 2020, 25, 43. https://doi.org/10.3390/mca25030043

AMA Style

Amram M, Fisher E, Gul S, Vishne U. A Transformational Modified Markov Process for Chord-Based Algorithmic Composition. Mathematical and Computational Applications. 2020; 25(3):43. https://doi.org/10.3390/mca25030043

Chicago/Turabian Style

Amram, Meirav, Etan Fisher, Shai Gul, and Uzi Vishne. 2020. "A Transformational Modified Markov Process for Chord-Based Algorithmic Composition" Mathematical and Computational Applications 25, no. 3: 43. https://doi.org/10.3390/mca25030043

Article Metrics

Back to TopTop