<!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 />
    <article-meta>
      <title-group>
        <article-title>11 CDDheeapprttl.e.sooffUSSnooivffttewwrsaairrteey,EEMnnggaiilnnoeseteerrraiinnnggs,k,eFFaanccauumlltt.yy2oo5ff, MMPraaattghhueeemm, aaCttziiccesschaannRddepPPuhhbyylssiiicccss</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Ladislav Mars k</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jaroslav Pokorny</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Martin Ilc k</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ladislav Mars k</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jaroslav Pokorny</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Martin Ilc k</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Charles Universmitayr</institution>
          ,
          <addr-line>sMika,losptorkaonrsnkye</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>nTivheersIintsytiotfuTteecohfnCoolomgpy</institution>
          ,
          <addr-line>uFtearvoGrritaepnhsitcrsaaend9-A11lg,oVriitehnmnas</addr-line>
          ,
          <institution>, Austria Vienna University of Te</institution>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2014</year>
      </pub-date>
      <abstract>
        <p>Music information retrieval (MIR) is small, but fast growing discipline. It aims at extraction of relevant information from music in order to improve the work with multimedia information systems. A popular approach in MIR is to apply signal processing techniques to extract low-level features from a musical piece. However, in order to create helpful applications, high-level concepts, such as music harmony, need to be examined as well. In this paper, we present a new model for understanding music harmony in computer systems. The proposed model takes the challenge of lling the gap between music theory and mathematical structures. Inspired by the computational complexity, we then derive a new term, harmonic complexity, that can be evaluated for a musical piece, and we test it on a genre classi cation problem.</p>
      </abstract>
      <kwd-group>
        <kwd>music information retrieval</kwd>
        <kwd>harmonic analysis</kwd>
        <kwd>harmonic complexity</kwd>
        <kwd>chord transcription</kwd>
        <kwd>chord progression</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        A massive distribution of digital media has made music information retrieval
(MIR) a wanted eld of study. Musicians and non-musicians both bene t from
applications that ease their work with music, such as notation software or
internet radios. One of the recent challenges has been to develop an intelligent
retrieval of musical piece based on user preferences (Schonfuss [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]). However,
information systems are still not able to understand the music in its full depth
and more research is needed in this eld. In this work, we narrow our focus
on content-based recommendation and classi cation tasks. Rather than giving
a complete solution, we de ne a new term, harmonic complexity, and a model
of music harmony, to help future research in both tasks, and provide tools for
other harmony-related problems.
      </p>
      <p>
        Content-based recommendation or classi cation can be addressed using rules
of music acoustics, by computing the Discrete Fourier Transform (DFT), and
dealing with the frequency-domain features (Li [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]). To achieve even more
accuracy, some knowledge of higher-level concepts can be used, such as chord
progression or key analysis (Absolu et al. [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], Sapp [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]). That leads us to the
use of music theory and tonal harmony.
      </p>
      <p>
        Tonal harmony. Music theory is a highly developed eld that provides us
with a framework for working with musical structures. In our work, we choose
music theory, and in particular, tonal harmony (TH), to help us understand
one of the important aspects in music. Our focus on tonal harmony comes from
understanding, that acoustic sounds (tones) sounding simultaneously form
structures, which even listeners without explicit musical training implicitly recognize
(Krumhansl [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]). Brief de nitions of TH can be found in Section 2.
Harmonic complexity. With music classi cation and recommendation tasks,
naturally a question arises: What features can we use to determine the music
genre or to match the music with user's preference? There have been several
attempts to select the relevant musical features resulting in useful applications
(Schonfuss [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] or Pandora music radio3). However, in the most successful
systems like Pandora, the extraction of relevant features is still a domain of human
analysis. We propose a new feature, harmonic complexity, that simulates the
process a trained musician would use to analyze the musical piece. Whenever the
music obeys simple TH rules, we assign it a lower value of complexity, whereas
if the rules are complex, or the harmony does not obey any known rules, we
assign it higher values. For this purpose, we have created a model of harmonic
complexity based on formal grammars.
      </p>
      <p>
        We are motivated by the fact, that although TH is a stable theory based
on music acoustics (e.g. Schonberg [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]), there is still a gap between the
formalizations of music theory and mathematics. We believe that new models can
clarify the connection between the elds. Moreover, TH provides us an universal
approach to analyze music, which is independent from any genre or any given
dataset, as opposed to machine learning.
      </p>
      <p>To summarize, the main contributions of this paper are:
De ning a new term, harmonic complexity, that can be used as a new musical
feature to aid the content-based music recommendation and music classi
cation tasks
Proposing a mathematical model based on tonal harmony, reusable for future
harmony-related tasks
Testing the proposed model and harmony complexity evaluations on a music
classi cation problem</p>
      <p>After providing de nitions of TH, we summarize the results of the related
work in Section 3. We then describe our model of harmonic complexity in Section</p>
      <sec id="sec-1-1">
        <title>3 http://www.pandora.com</title>
        <p>4. Afterwards, we propose its usefulness for music classi cation challenge in
Section 5. In the end we provide conclusion and discuss the future work, as well
as the connection of our research to music recommendation task.
2</p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>Tonal harmony</title>
      <p>
        In this section we provide brief de nitions of TH, based on Schonberg [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] and
Riemann [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. We consider the following terms to be known to the reader and
reference Schonberg [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] or Krumhansl [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] for clari cation: tone, octave,
accidentals (sharp ] or at [), semitone and whole tone intervals, chord, chord root,
scale, key and degrees of the scale or key.
      </p>
      <p>
        We further make use of the concept of basic harmonic functions
characteristic for each key. The harmony in music usually starts in the tonic, a function
of harmonic steadiness and release. Optionally, it deviates to the subdominant.
Finally, the harmonic movement culminates in the dominant, a function
representing the maximal tension, requiring a transition back to the tonic. According
to Zika [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] it is the skeleton of every music motion in musical pieces in the TH
system.
      </p>
      <p>
        In addition to the three basic harmonic functions, there are also variants, or
parallels of the basic harmonic functions. We provide a simpli ed de nition of a
function parallel based on the original de nition by Riemann [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ].
De nition 1. Function parallel is the chord created from the basic harmonic
function either by extending the highest tone (i.e. fth degree in the tonic, rst
degree in the subdominant and second degree in the dominant) by a whole tone,
or by diminishing the root tone by a semitone. We denote a parallel by adding a
"P\ subscript to the function (T ! TP )
      </p>
      <p>An example parallels for the C major chord c, e, g are c, e, a or b, e, g.</p>
      <p>
        We also add a de nition from one of the modern interpretations of TH,
described by Volek [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] and based on Leos Janacek's conception of added
dissonances to the chord. We will use it in accordance with the original concept.
De nition 2. Chord with an added dissonance is a chord enriched with tones
that did not originally belong to the chord (non-chord tones), thus creating a
whole tone or a semitone dissonance.
      </p>
      <p>An example of a chord with an added dissonance is c, e, f , g, with the tone
f added to the original C major chord c, e, g.</p>
      <p>Some well-known tunes have a simple harmonic structure, for example Happy
Birthday : T { D { T { S { T { D { T . However, more complex compositions,
such as Smetana's Vltava from Ma vlast can be interpreted as: T { SP (D)
{ TP (T ) { S { T { D { T . We can notice the use of the function parallels.
Moreover, some functions can have multiple meanings, if we consider switching
to a di erent key (functions in the parentheses). We capture this principle in the
next section.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Related work</title>
      <p>In this section we provide the summary of the work most related to ours.</p>
      <p>
        De Haas, Magalh~aes, and Wiering [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] have described, how music harmony
analysis can improve chord transcription algorithms (detecting the correct chord
progression for a musical piece). The authors have found statistically signi cant
improvement, when the tonal harmony analysis was used. The presented
Haskellbased system HarmTrace4 is capable of deriving a tree structure explaining the
tonal function of the chords in the piece. The number of errors in creating the
tree can be considered as a possible way to calculate the harmonic complexity
using tonal harmony, even though it was not the aim of the work.
      </p>
      <p>
        Lots of works have been done on tonal tension (see Lerdahl and Krumhansl
[
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]). Tonal tension focuses on the distance from the tonic in every moment and
so describes the harmonic movements of a musical piece. However, speaking
about complexity, we may want to consider tonic, subdominant, and dominant,
all three as the fundamental parts of a musical piece with a simple harmony
structure.
      </p>
      <p>
        Finally, the works on chord distance are closely related to our research. In
his inspiring work, Lerdahl [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] introduces the term tonal pitch space, a model
describing distances between pitches, chords, and keys. The model of a space
starts with the layer of semitones, upon which other four layers are built. The
number of transformations of the basic space measure the distance between the
chords.
      </p>
      <p>If new concepts are to be designed, they need to be in accordance with
previous research.</p>
      <sec id="sec-3-1">
        <title>4 http://hackage.haskell.org/package/HarmTrace-2.0</title>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Model of harmonic complexity</title>
      <p>The basic idea of our model is simple: The use of basic harmonic functions does
not increase harmonic complexity. However, every single use of a parallel or
added dissonances increase the complexity of a musical piece. We can recognize
the use of complex harmonies by evaluating each pair of succeeding chords {
evaluating their harmonic transition. If we shape the three basic transitions
(between T , S, D) in a triangle, the idea of increasing complexity can be illustrated
as in the Figure 2.</p>
      <p>
        We base our model on the overtone series and consequent harmony rules by
Schonberg [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] and Riemann [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. We further chose not to di erentiate between
the transitions S { D, or D { S, and the rest of the transitions between the basic
harmonic functions. In particular, the transition D { S violates the rules of the
original TH. However, there are some exceptions described by Zika [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] and the
mentioned transition is appearing more often in today's music. Moreover, we
chose the modifying of the basic harmonic functions to be our primary target
in evaluating the harmonic complexity. The transitions between the basic
harmonic functions itself are principally di erent from creating parallels or adding
dissonances and therefore should not be considered complex in this concept.
      </p>
      <p>We also merge the concepts of a function parallel and a chord with an added
dissonance de ned in Section 2, since both are a way to modify the basic
harmonic function. The aim here is to generalize the process of creating complex
harmonies, while focus on speci c aspects will be a subject of our future work.
4.1</p>
      <sec id="sec-4-1">
        <title>Formalization of transitions</title>
        <p>We now want to evaluate the transition from the basic harmonic function to
its parallel (e.g. T ! TP ) and in between the parallels (e.g. TP ! SP ). That
alone can give us information how much the music deviates from the simplest
progression and translates to harmonic complexity. We use a linguistic approach
to evaluate these transitions.</p>
        <p>First of all, let us consider the simplest case: T ! TP . We wish to create
a parallel either by adding a tone or modifying a tone. Formally, we de ne a
sentential form as a form of chord notation and two di erent parametric rules
to modify the sentential form: add(t) and alter(t,alt).</p>
        <p>De nition 3. A chord is written in sentential form t1t2:::tn if it consists of the
tones t1; t2; : : : ; tn, and for i 6= j: ti 6= tj , moreover t1 : : : tn are ordered in the
order of the chromatic scale.</p>
        <p>
          The sentential form is therefore only an ordered enumeration of chord's tones,
neglecting the duplicity (working in one octave). We further de ne the transition
rules between the sentential forms in the same fashion as Hopcroft, Motwani,
and Ullman [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ], but with notable di erences. We design our own types of rules,
applicable to the whole sentential form. We also try to avoid excessive formalism.
In the following we assume, that the derivation starts with the sentential form
representing the (original) basic harmonic function { an analogy with the start
symbol of Hopcroft et al.
        </p>
        <p>De nition 4. The add(t) rule between two sentential forms h and g is de ned
as follows: h add(!t) g , (h = t1; t2; : : : tn) ^ (g = t1; : : : tj ; t; tj+1; : : : tn), where
t belongs to the same key as t1 : : : tn, and 8i : t 6= ti.</p>
        <p>
          We wish to simulate both adding dissonances and creating Riemann's
parallels. We choose an approach which can be confusing at rst { both
transformations can be achieved using the add rule. If we set, that the basic harmonic
function that we start with does not necessarily need to contain 3 tones, but
possibly also a single tone or two tones (substituting the basic harmonic function),
using add rule we can indeed get a Riemann's function parallel. For example,
we can get a parallel cea as ce + a, where ce substitutes the tonic ceg in C
major. The alter rule will therefore have a di erent role { moving the tone outside
the key, and so creating sharp dissonances and alterations in the way that TH
describes them [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ].
        </p>
        <p>De nition 5. The alter(t,alt) rule between two sentential forms h and g is
de ned as follows:
h alter(t;al!t) g , (h = t1; : : : :::ti; t; ti+1; : : : tn) ^ (g = t1; : : : ti; talt; ti+1; : : : tn);
where t belongs to the same key as t1 : : : tn, talt does not belong to that key,
and talt is created from t by augmentation (alt = ]) or diminution (alt = [)
by a semitone. Moreover, t can not be one of the tones of the original basic
harmonic function of h (the basic harmonic function that the whole derivation
started with).</p>
        <p>
          The constrains we cast on the add and alter rules yield the rules of TH. First
of all, we can not modify the original tones, because we do not want to lose the
sense of the basic harmonic function. If we wish to weaken the basic harmonic
functions, we always have the possibility to start with only a subset if its tones.
Secondly, we can add the tones, but only from the same key. And thirdly, we
can alter the tones to a di erent key, but only after they have been added. Such
hierarchy agrees with Lerdahl's de nition of tonal pitch space [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ].
        </p>
        <p>Note that, using add and alter rules we are able to create arbitrary harmonies.
The only thing we need to keep in mind is, that given a sentential form h, we rst
have to nd out, which key h belongs to. There are 24 possibilities, comprising
12 major and 12 minor keys. Then we can apply the add and alter rules.
Remark 1. In a simple example we derive the tonic parallel (TP ) cef ]g] from the
original tonic (T ) ce, in the key C major : ce add(f!) cef alter(f;]!) cef ] add(g!)
cef ]g alter(g;]!) cef ]g].</p>
        <p>We rst de ne a chord complexity for a simple chord. Then we proceed to
de ne a transition complexity between two chords.</p>
        <p>De nition 6. A chord complexity (in the given key) c(h) of chord h is the
minimal length of derivation of the chord's sentential form (in the given key).
Remark 2. For our example tonic parallel: cef ]g], the chord complexity in the
key C major is 4. However, overall chord complexity for this chord can be even
lower. If we choose the key G major and treat the form ce as a subdominant in
G major, we will have 3 as the resulting chord complexity (due to the fact that
the tone f ] can be added in one step { it is a part of the key G major.</p>
        <p>Understanding that the chord h can be treated in multiple keys, have
multiple derivations and multiple chord complexities, we always use the shortest
derivation (lowest complexity) to de ne the chord. We label such chord
complexity c(h). We use similar approach in our nal de nition { chord transition
complexity.</p>
        <p>De nition 7. Let us have the sentential form of chord h1 and the sentential
form of chord h2. We de ne a chord transition complexity tc(h1; h2). We
differentiate between these possibilities:
1. Let us assume, that there is a common ancestor in both derivations of h1 and
h2 { a sentential form a, that h1 and h2 can be both derived from, h1 in k1
steps, and h2 in k2 steps. Then if k1 +k2 c(h1)+c(h2), the chord transition
complexity tc(h1; h2) equals to k1 + k2. Otherwise, tc(h1; h2) = c(h1) + c(h2).
2. Let us assume, that there is no such common ancestor. 9r1; r2; kh1; kh2 : h1
can be derived from an original basic harmonic function r1 in kh1 steps, h2
can be derived from an original basic harmonic function r2 in kh2 steps.
(a) Let us assume that r1, r2 are such basic harmonic functions, that are
from the same key and the sum kh1 + kh2 is minimal. Then the chord
transition complexity tc(h1; h2) equals to kh1 + kh2.
(b) The common key for r1 and r2 does not exist. Then the chord
transition complexity tc(h1; h2) equals to u1 + u2, where u1 is the number of
steps required to derive h1 from the empty sentential form, and u2 is the
number of steps required to derive h2 from the empty sentential form.</p>
        <p>In other words, we de ne the transition complexity between two chords as
the amount of steps needed to disassemble the rst chord into its basic harmonic
function (rolling back the derivation), then we switch the function and count the
number of steps to assemble the new chord. The resulting number of steps is the
transition complexity. If there is a common ancestor in derivations, closer than
the basic harmonic function, we disassemble and assemble only to and from this
common ancestor. Finally, if no common key can be found for the two harmonies,
we choose to disassemble the rst chord all the way to an empty sentential form,
and construct the second chord from an empty sentential form.</p>
        <p>In all of these cases, it is only a simple constructing and destructing the
chords, using our derivation rules. This is when the analogy with computational
complexity comes in { the chord transition complexity can be understood as the
computational complexity of reconstructing the chord h1 to h2. The illustration
of chord transition complexity can be found in the Figure 3.</p>
        <p>Fig. 3. Chord transition complexity: The chords SP 1 and SP 2 have a common ancestor
in the derivation, and are assigned a chord transition complexity of 5. The chords SP 2
and DP do not have a common ancestor in derivation, therefore their chord transition
complexity is equal to the sum of their chord complexities.
4.2</p>
      </sec>
      <sec id="sec-4-2">
        <title>Harmonic complexity of a musical piece</title>
        <p>Finally, we can proceed to evaluation of harmonic complexity for a whole piece.
We have a musical piece M . We can use di erent algorithms (some of them
are described in the Section 5) to extract the sequence of chords fCigi l of
the length l. Keeping in mind the analogy with the computational complexity,
we are interested in obtaining an average number of steps needed to construct
a chord from the basic harmonic functions. We average the values because we
want to abstract from the length of the progression, in the same fashion as the
computational complexity theory abstracts from the length of the input. Other
interesting statistical values for harmonic complexity will be the subject of our
future work.</p>
        <p>De nition 8. An average transition complexity (ATC) for a musical piece M ,
a sequence of chords fCigi l of the length l and a sequence of its transition
complexities ftigi l 1 is de ned as follows:
l 1</p>
        <p>P ti
AT C(M ) = i=0
l
1
4.3</p>
      </sec>
      <sec id="sec-4-3">
        <title>Implementation methods</title>
        <p>Understanding that, for a given chord, multiple basic harmonic functions can
be found, along with multiple di erent keys, the model can become di cult
to implement. We propose two methods of implementation, based on internal
representation of musical data:
1. Query method { The fundamental rules of TH (keys, basic harmonic
functions) are saved in a database and a number of queries precedes the
calculation of transition complexity for chords.
2. Graph method { We can also abstract from the ambiguity of keys and
functions and avoid complicated queries. Working within the bounded space of
all possible sets of tones in the octave, we have designed our derivation rules
in such fashion, that for a given chord it is easy to calculate all chords with
transition complexity of 1 from a given chord. That approach can result in
constructing a graph representation of the problem, with edges
representing a transition complexity of 1. On such a graph, queries can be easily
implemented using the breadth- rst search algorithm.
5</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Experiments</title>
      <p>In our experiments, we focused on determination, whether the newly de ned
concept of harmonic complexity can be a good descriptor for music classi cation
task. The aim is to show that ATC values (see De nition 8) can distinguish the
di erent genres, artists in one genre, or even the songs from the same artist.</p>
      <p>The dataset was selected from the top 5 best-selling artists in 2013, according
to renowned worldwide music charts and separate for each genre: Rock and Pop5,
Jazz6 and Classical music7. In each genre, 25 di erent pieces were analyzed.</p>
      <p>
        For obtaining a chord sequence, Vamp-plugins NNLS Chroma and Chordino8
version 0.2.1 by Mauch [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] were used. We used Chordino plugin to nd where the
harmony signi cantly changes. Then we used NNLS Chroma plugin to obtain
the tones sounding in each time interval. For the purpose of these experiments,
we have selected the 4 most signi cant tones in each interval to form a chord
representation, allowing (multiple) dissonances.
      </p>
      <p>We split the experiments into 3 parts.
1. First we measure the mean ATC for di erent genres. Since the Classical
music developed historically and particular music periods are known to obey
certain composition styles, we show the same type of analysis for music
periods of Classical music.
2. Second we measure the mean ATC for di erent artists from the Rock genre.
3. Third we measure the ATC found for di erent songs selected from the 2
artists of Rock music: The Beatles and Queen.</p>
      <p>The Figure 4 shows the result of the analysis. ATC values around 1 means
that the transitions were not complex and aligned with the basic tonal harmony
theory. On the other hand, values above 3 meant that the transitions needed on
average more than 3 steps. We can see how our model gives the highest ranking
to the Jazz music. Rock music averaged around 2 and the lowest rankings were
assigned to Pop songs. This aligns with the expectations. There is an ambiguity
between Rock and Pop genres, that is understandable, because the genres may
overlap.</p>
      <p>In Classical music periods we can observe how the music has developed
through the centuries. This also corresponds with the theoretical knowledge,
knowing that after Romanticism, the composers began to break the established
harmony rules.</p>
      <p>We have also discovered some interesting results about the concrete artists
and songs. Queen songs were analyzed to be considerably more complex than
the rest of the Rock artists, that can be attributed to their famous ensembles
sounding together in an unusual way. Some particular songs have the ATC value
that is out of the area where the songs of the same genre belong to with high
probability (highlighted). In one particular case (Radio Ga Ga by Queen), we
can conclude that, in correspondence with our results, the harmonic movements
of the song are really considered to be less complex, since the song is known
to have more popular genre than the rest of Queen's production. The song Let
It Be by The Beatles is also known for its repetitive chorus containing 4 basic
chords.</p>
      <sec id="sec-5-1">
        <title>5 Source: http://www.billboard.com</title>
      </sec>
      <sec id="sec-5-2">
        <title>6 Source: http://www.artistsdirect.com</title>
      </sec>
      <sec id="sec-5-3">
        <title>7 Source: http://www.classical-music.com</title>
      </sec>
      <sec id="sec-5-4">
        <title>8 http://isophonics.net/nnls-chroma/</title>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>Conclusion and discussion</title>
      <p>In this paper we have proposed a new term that can be evaluated for a musical
piece { harmonic complexity. We have presented a mathematical model based on
tonal harmony, for evaluating harmonic complexity. Lastly, we have successfully
conducted a series of experiments to prove that the new feature is relevant for
music classi cation task. The results correspond with the expectations. Knowing
that our model can evaluate the harmonic movements precisely we propose using
this technique to obtain music descriptors for future music classication attempts.</p>
      <p>
        In the discussion we would also like to propose an idea of content-based music
recommendation based on harmonic complexity. As Zanette pointed out [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ], the
complexity and change in music together with the repetition of pleasant stimuli
are two fundamental, but contradictory, principles that the listeners are looking
for in music. That translates to the initial idea that drives our research { the
expectations of music listeners are di erent and subjective. One listener may
prefer simple harmonies, while other might prefer more complex or more speci c
music (e.g. jazz or modern classical music). The model of harmonic complexity
therefore presents a new way of understanding the need of listeners and can be
used to recommend him music according to his/her needs.
      </p>
      <p>For future work, we propose music classi cation experiments with the use of
harmonic complexity as one of the music features. We also realize that harmonic
complexity as described is only one of the possible implementations of the broad
term of complexity in music and much can be done in specifying other
similar measures (space complexity, complexity of modulations, the use of seventh
chords, etc.). We hope that by showing this point of view we have induced some
new ideas for the future research.</p>
      <p>Acknowledgments. The study was supported by the Charles University in
Prague, project GA UK No. 708314.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Absolu</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ogihara</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>Analysis of Chord Progression Data</article-title>
          .
          <source>In: Advances in Music Information Retrieval, Studies in Computational Intelligence</source>
          , vol.
          <volume>274</volume>
          . Springer (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>De Haas</surname>
            ,
            <given-names>W.B.</given-names>
          </string-name>
          , Magalha~es,
          <string-name>
            <given-names>J.P.</given-names>
            ,
            <surname>Wiering</surname>
          </string-name>
          ,
          <string-name>
            <surname>F.</surname>
          </string-name>
          :
          <article-title>Improving Audio Chord Transcription by Exploiting Harmonic and Metric Knowledge</article-title>
          .
          <source>In: Proceedings of the 13th International Society for Music Information Retrieval Conference. ISMIR</source>
          <year>2012</year>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Hopcroft</surname>
            ,
            <given-names>J.E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Motwani</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ullman</surname>
            ,
            <given-names>J.D.</given-names>
          </string-name>
          :
          <article-title>Introduction to Automata Theory, Languages, and Computation</article-title>
          . Addison-Wesley, Boston, second edn. (
          <year>2001</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Krumhansl</surname>
            ,
            <given-names>C.L.</given-names>
          </string-name>
          :
          <article-title>The Cognition of Tonality { As We Know It Today</article-title>
          .
          <source>Journal of New Music Research 33/3</source>
          (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Krumhansl</surname>
            ,
            <given-names>C.L.</given-names>
          </string-name>
          :
          <article-title>The Geometry of Musical Structure: A Brief Introduction and History</article-title>
          .
          <source>Computers in Entertainment 3/4</source>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Lerdahl</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Tonal Pitch Space</article-title>
          . Oxford University Press, Oxford (
          <year>2001</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Lerdahl</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Krumhansl</surname>
            ,
            <given-names>C.L.</given-names>
          </string-name>
          :
          <article-title>Modeling Tonal Tension</article-title>
          .
          <source>Music Perception: An Interdisciplinary Journal 24/4</source>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ogihara</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>Q.</given-names>
          </string-name>
          :
          <article-title>A Comparative Study on Content-based Music Genre Classi cation</article-title>
          .
          <source>In: Proceedings of the 26th Annual International ACM SIGIR Conference on Research and Development in Informaion Retrieval. SIGIR '03</source>
          ,
          <string-name>
            <surname>ACM</surname>
          </string-name>
          (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Mauch</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Levy</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Structural Change on Multiple Time Scales as a Correlate of Musical Complexity</article-title>
          .
          <source>In: Proceedings of the 12th International Society for Music Information Retrieval Conference. ISMIR</source>
          <year>2011</year>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Riemann</surname>
          </string-name>
          , H.: Harmony Simpli ed.
          <source>Augener Ltd</source>
          .,
          <string-name>
            <surname>London</surname>
          </string-name>
          (
          <year>1896</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Sapp</surname>
            ,
            <given-names>C.S.</given-names>
          </string-name>
          :
          <article-title>Visual Hierarchical Key Analysis</article-title>
          .
          <source>Computers in Entertainment 3/4</source>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12. Schonberg, A.:
          <source>Theory of Harmony</source>
          . University of California Press, Los Angeles (
          <year>1922</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13. Schonfuss, D.:
          <article-title>Content-Based Music Discovery</article-title>
          .
          <source>In: Exploring Music Contents, Lecture Notes in Computer Science</source>
          , vol.
          <volume>6684</volume>
          . Springer (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Volek</surname>
          </string-name>
          , J.:
          <source>The Structure and Figures of Music. Panton</source>
          , Prague (
          <year>1988</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Zanette</surname>
            ,
            <given-names>D.H.</given-names>
          </string-name>
          : Music, Complexity, Information.
          <source>The Computing Research Repository</source>
          <volume>0807</volume>
          .0565 (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Zika</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kor</surname>
            <given-names>nek</given-names>
          </string-name>
          , M.:
          <article-title>Tonal Harmony for 1st-3rd Class of Music Conservatory</article-title>
          . SPN, Bratislava (
          <year>1990</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>