Skip to content
Microsystems, Electronics and Acoustics
ISSN 2523-4447 · e‑ISSN 2523-4455 Open Access · CC BY-SA 4.0
Vol. 23 · Issue 4 · 2018 Aug 31, 2018 Electronic Systems and Signals

Application of Neural Networks to Solve the Task of Generating Music

YD
Yaroslav Yuriiovych Dorogyi Corresponding Національний технічний університет України "Київський політехнічний інститут імені Ігоря Сікорського" Ukraine
VT
Vasyl Vasylovych Tsurkan Національний технічний університет України "Київський політехнічний інститут імені Ігоря Сікорського" Ukraine
KB
Kyryl D Beldiaha Національний технічний університет України "Київський політехнічний інститут імені Ігоря Сікорського" Ukraine
Pages42-50 PublishedAug 31, 2018
VOL 23 · ISS 4 · 2018 View issue

Abstract

The article considers the possibility of using neural networks as the basis of the music generator. Under the music generation is the process of creating sequences of music notes, which relates this task to the tasks of simulation sequences, as well as modeling the language. The urgency of the development of this topic is connected with the necessity of writing new music and finding new motives, caused by the production of many films and people's needs. The main requirement for the system was the generation of polyphonic music, a sequence of musical tuples, that is, a multi-dimensional object requiring the use of generative models, such as restricted Boltzman machine, that are able to calculate the probabilistic distribution, by estimating the energy function of configuration state, in relation to recurrent patterns, which in turn enable their production of long-term dependencies in a sequence of multi-dimensional objects. And for the representing of deep relations and dependencies between music notes there were deep belief network used that is able to estimate deep connections and dependencies by hierarchical representing of data. This approach allows to create four topologies which are compound of recurrent part and generative. For this purpose in the article necessary the or ethical information is given. The existing solutions are considered and the iradvantages and disadvantages are determined. The variants of possible topologies, algorithms of the ir training and generation are analyzed and presented. The results of experimental researches on the basis of which the comparisonis made and the advantages and disadvantages of each of the mare determined. For the comparison there were used the negative log-likelihood function, cross-entropy cost, accuracy and training time. The results show that the best characteristics has topology that consists of long short-term memory and deep belief network, because of it difficult structure and properties. But at the same time, training time of this topology was extremely high on small dataset, that makes not efficient to use it as a basis of music generator. Topology which consists of recurrent neural network and restricted Boltzman machine had the worst indicators, but the small training time. Thereby topology which consists of long short-term memory and restricted Boltzman machine had become the best candidate. Good characteristics of this structure are confirmed by the main property of long short-term memory that is solution of vanishing gradient problem and by the possibility of representing complicated distribution in restricted Boltzman machine. Training were performed on “Nottingham folk music database” dataset through 200 epochs. All training and generating algorithms were implemented in Python with Theano. Research described in this article allows to simplify the process of development of polyphonic music generator. Ref. 11, fig. 8, tabl. 1.

Keywords

References

  1. E. Douglas, “Make Music and Art Using Machine Learning,” Magenta, 2016. [Online]. Available: https://magenta.tensorflow.org/ .
  2. A. van den Oord, S. Dieleman, and H. Zen, “WaveNet: A Generative Model for Raw Audio,” DeepMind, 2016. [Online]. Available: https://deepmind.com/blog/wavenet-generative-model-raw-audio/ .
  3. D. Johnson, “Composing Music With Recurrent Neural Networks · hexahedria,” hexahedria, 2015. [Online]. Available: http://www.hexahedria.com/2015/08/03/composing-music-with-recurrent-neural-networks/ .
  4. I. Goodfellow, Y. Bengio, and A. Courville, “Sequence Modeling: Recurrent and Recursive Nets,” in Deep Learning, MIT Press, 2016, pp. 367–415, URL: http://www.deeplearningbook.org/contents/rnn.html .
  5. S. Hochreiter, Y. Bengio, P. Frasconi, and J. Schmidhuber, “Gradient Flow in Recurrent Nets: the Difficulty of Learning Long-Term Dependencies,” 1991, URL: http://www.bioinf.jku.at/publications/older/ch7.pdf .
  6. S. Hochreiter and J. Schmidhuber, “Long Short-Term Memory,” Neural Comput., vol. 9, no. 8, pp. 1735–1780, 1997, DOI: 10.1162/neco.1997.9.8.1735.
  7. Z. C. Lipton, J. Berkowitz, and C. Elkan, “A Critical Review of Recurrent Neural Networks for Sequence Learning,” 2015, arXiv: 1506.00019.
  8. G. (LISA lab. . Hinton, “Restricted Boltzmann Machines (RBM),” DeepLearning 0.1 documentation, 2010. [Online]. Available: http://deeplearning.net/tutorial/rbm.html .
  9. G. Hinton, “Deep Belief Nets,” Toronto, 2007, URL: https://www.cs.toronto.edu/~hinton/nipstutorial/nipstut3.pdf .
  10. N. Boulanger-Lewandowski, “Modeling High-Dimensional Audio Sequences with Recurrent Neural Networks,” Universit_e de Montr_eal, 2014. URL: http://www-etud.iro.umontreal.ca/~boulanni/NicolasBoulangerLewandowski_thesis.pdf
  11. J. Allwright, “ABC version of the Nottingham Music Database,” 2003. [Online]. Available: http://abc.sourceforge.net/NMD/ .
§ 06 — Related

Similar articles in this journal

Related peer-reviewed studies published in this journal.
View all issues

Quasistatic Identification of The Shading Structure of Solar Panels by The Method of Cardinal Number Vectors

PhD, Assoc. Prof. Olena Olehivna Abakumova, Dr.Sc.(Eng.), Prof. Valerii Yakovych Zhuikov, Mykola O. Lukianov

In the article the problem of identification the shading structure of solar panels is considered. The relevance of the study is conditioned by the necessity of rapid and…

#solar panels #photovoltaic surface #shadow structure modeling #quasistatic identification
p. 362283.1-362283.7
10.20535/2523-4455.mea.362283

A A Complex Method for Non-invasive Fetal Electrocardiogram Signal Extraction and Cardiac Arrhythmia Classification

Dmytro A. Shevchuk, PhD, Assoc. Prof. Nataliia Heorhiivna Ivanushkina

This study is devoted to the development of a complex method for extracting the fetal electrocardiogram (fECG) from non-invasive abdominal recordings and for the…

#abdominal electrocardiogram #fetal electrocardiogram #arrhythmia #blind source separation
p. 356487.1-356487.11
10.20535/2523-4455.mea.356487

Simulation Modeling of a Filter-Compensating Converter for a Three-Phase Three-Wire Network

Ivan Andriiovych Vakulenko, PhD, Assoc. Prof. Dmytro Anatoliiovych Mykolaiets, PhD, Assoc. Prof. Kateryna Serhiivna Klen

This paper addresses the critical issue of power quality degradation in modern power systems caused by the proliferation of non-linear loads. The study focuses on the…

#filter-compensating converter #three-phase three-wire network #power quality #total harmonic distortion
p. 361138.1-361138.6
10.20535/2523-4455.mea.361138

Most read articles by the same author(s)

Similar Articles

1-10 of 60

You may also start an advanced similarity search for this article.