Modelling music
Dorien Herremans
ISTD, Singapore University of Technology and Design IHPC, A*STAR 1 Sound and Music Computing, NUS - 22.03.18
Modelling music Dorien Herremans ISTD, Singapore University of - - PowerPoint PPT Presentation
Modelling music Dorien Herremans ISTD, Singapore University of Technology and Design IHPC, A*STAR Sound and Music Computing, NUS - 22.03.18 1 Outline Why modelling music? A brief early history of generation systems Approaches to
ISTD, Singapore University of Technology and Design IHPC, A*STAR 1 Sound and Music Computing, NUS - 22.03.18
2
3
(Mozart)
fertige Menuetten- und Polonaisencomponist (Johann Philipp Kirnberger, 1757)
4
compositions
“The Earth's Magnetic Field”
“Analogique A” (Markov)
5
“[The Engine's] operating mechanism might act upon other things besides numbers [. . . ] Supposing, for instance, that the fundamental relations of pitched sounds in the signs of harmony and of musical composition were susceptible of such expressions and adaptations, the engine might compose elaborate and scientific pieces of music of any degree of complexity or extent." — Ada Lovelace 1840
6
7
Intelligence
style —> different composers
8
— Francois Pachet
technical ability of musicians with stylistically consistent, automatically learnt musical material”
9
http://www.francoispachet.fr/continuator/
Keller (2005)
grammars, deep believe networks,. . .
10
Problems
Approaches
local search, etc)
11
Herremans, Chuan, Chew. 2017. A functional taxonomy of music generation systems. ACM Computing Surveys.
music: 6.4 billion USD
= 45% of the global music industry
expected to grow 15% a year until 2020
12
13
14
15
—> One of the most formally defined musical styles Rules written by Johan Fux in 1725
Composing music = combinatorial optimization problem
possible
16
e.g. Each large leap should be followed by stepwise motion in the opposite direction Penalty points for each rule violation —> Minimized
17
, . . . )
18
A metaheuristic is a high-level problem-independent algorithmic framework that provides a set of guidelines
(Sörensen and Glover, 2014).
19
20
21
Rule-based objective function Machine learned objective function
22
Why still optimization? Because it allows us to:
How integrated in optimisation objective function?
23
Objective function: Match an expectancy profile
24
25
2 Challenges:
Intelligence for Creativity and Affective Computing (CICAC). Singapore. 48-55.
26
2 Challenges:
27
3D geometrical mathematical model of tonality (Chew, 2012)
finding key boundaries (Chew, 2000), etc. —> 3 aspects of tonal tension
28 Herremans D., Chew E.. 2016. Tension ribbons: Quantifying and visualising tonal tension. Second International Conference on Technologies for Music Notation and Representation (TENOR). 2:8-18. Cambridge, UK.
29
C major triad and the C diminished triad
30
C major and C# major chord with their center of effect (ce, in green).
31
C major — C# major — A minor chord together with their distance from the ce of the key (in orange).
Isolde’
6th and 9th
32
33 Cunha N., Subramanian A., Herremans D. 2017. Generating guitar solos by integer programming. Journal of the Operational Research Society.
—> maximal translatable patterns
34
35
36
37 Herremans D., Chew E. 2017. MorpheuS: generating structured music with constrained patterns and tension. IEEE Transactions on Affective Computing. PP (99).
Random (with patterns)
38 Herremans D., Chew E. 2017. MorpheuS: generating structured music with constrained patterns and tension. IEEE Transactions on Affective Computing. PP (99).
39
40
How can we fully model music so we don’t need a template?
With CNN
41
Can we leverage this to music?
RNN-RBM
42
43
44
45 Chuan C.-H., Herremans D.. 2018. Modeling temporal tonal relations in polyphonic music through deep networks with a novel image-based
Code: http://dorienherremans/software
relationships
tonally stable, with less tension
—> more structure
46
47
Continuous vector space in which semantically similar words are represented geographically close to each other
Words that are used and
tend to purport similar meanings (Harris, 1954)
e.g. emotional excitement: fast, accelerating, and high-pitched sound patterns
flexible)
notes generate peaks measurable in brain potentials (N400 & P600)
49
50
A slice of music = word
Herremans D., Chuan C.-H.. 2017. Modeling Musical Context with Word2vec. First International Workshop On Deep Learning and Music joint with IJCNN. 1:11-18. Anchorage, US
Can we derive semantic similarity through context only?
Code: http://dorienherremans/software
LSTMs, RNNs, etc. typically incorporate musical information (i.e., pitch, pitch class, duration, intervals,…)
six unique slices (unit = 8th note) transpose to C major
billions of words in a matter of hours
51
Cosine distance between the tonic chord C major and its functional chords
games
53 Herremans D., Chuan C.-H., Chew E.. In Press. A Functional Taxonomy of Music Generation Systems. ACM Computing Surveys.
Machine learning brings a range of new possibilities to digital music/audio, including:
learning
54
ISTD, Singapore University of Technology and Design IHPC, A*STAR dorienherremans.com 55 Sound and Music Computing, NUS - 22.03.18