Development of Agents that Create Melodies based on Estimating
Gaussian Functions in the Pitch Space of Consonance
Hidefumi Ohmura
1 a
, Takuro Shibayama
2
, Keiji Hirata
3
and Satoshi Tojo
4
1
Department of Information Sciences, Tokyo University of Science, 2641 Yamazaki, Noda-shi, Chiba, Japan
2
Department of Information Systems and Design, Tokyo Denki University,
Ishizaka, Hatoyama-cho, Hikigun, Saitama, Japan
3
Department of Complex and Intelligent Systems, Future University Hakodate,
116-2, Kamedanakano-cho, Hakodate-shi, Hokkaido, Japan
4
Graduate School of Information Science, Japan Advanced Institute of Science and Technology,
1-1 Asahidai, Nomi-shi, Ishikawa, Japan
Keywords:
Music, Melody, Lattice Space, GMM, EM Algorithm.
Abstract:
Music is organized by simple physical structures, such as the relationship between the frequencies of tones.
We have focused on the frequency ratio between notes and have proposed lattice spaces, which express the
ratios of pitches and pulses. Agents produce melodies using distributions in the lattice spaces. In this study,
we upgrade the system to analyze existing music. Therefore, the system can obtain the distribution of the pitch
in the pitch lattice space and create melodies. We confirm that the system fits the musical features, such as
modes and scales of the existing music as GMM. The probability density function in the pitch lattice space is
suggested to be suitable for expressing the primitive musical structure of the pitch. However, there are a few
challenges of not adapting a 12-equal temperament and dynamic variation of the mode; in this study, we focus
on these challenges.
1 INTRODUCTION
Music is essential in various cultures, and people have
used music for various purposes (DeNora, 2000). It is
often thought that only professional musicians create
music; however, this is not true because almost ev-
eryone creates music, for example, when they hum
and whistle a melody by intuition in the bathroom
(Jordania, 2010). Why do people with limited mu-
sical education enjoy listening to music and creating
melodies? We believe that the reason comes from
the gestalt perception of humans. Music is organized
by simple physical structures, such as the relation-
ship between the frequencies of tones. Humans can
understand musical structures because they can often
discern the relationship between frequencies. Ledahl
and Jackendoff proposed the theory to analyze mu-
sic based on musical gestalt perception (Meyer, 1956;
Lerdahl and Jackendoff, 1983).
We focused on the frequency ratios of the funda-
mental relations between tones, and the development
a
https://orcid.org/0000-0003-4373-0890
of agents that create melodies as a system (Ohmura
et al., 2018; Ohmura et al., 2019). The frequency ratio
refers to the interval between two basic frequencies
of tones and note values between pulse frequencies of
the sound timing. The agents in the system produce
notes based on the probability density function. There
are two types of spaces, one for pitch and another for
musical values. The agents have a probability density
function consisting of one or two normal distributions
in every two spaces. This system provides simple
melodies like humming and whistling. Moreover, the
system creates a structure of the musical theory, such
as musical modes and complex rhythms. Therefore,
it was suggested that the spaces based on frequency
ratios could express musical structures quantitatively.
However, the system was only capable of creating
melodies and was unable to analyze existing music.
In this study, we make improvements to the system
to analyze existing music and express the probability
density functions of the spaces based on frequency
ratios. First, we provide a system analyzing pitches
of existing music. This system can read a Standard
MIDI file (SMF) as existing music. The system anal-
Ohmura, H., Shibayama, T., Hirata, K. and Tojo, S.
Development of Agents that Create Melodies based on Estimating Gaussian Functions in the Pitch Space of Consonance.
DOI: 10.5220/0009382203630369
In Proceedings of the 12th International Conference on Agents and Artificial Intelligence (ICAART 2020) - Volume 1, pages 363-369
ISBN: 978-989-758-395-7; ISSN: 2184-433X
Copyright
c
2022 by SCITEPRESS – Science and Technology Publications, Lda. All rights reserved
363