We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Chemistry/Generation of music pieces using machine learning: long short-term memory neural networks approach
PeriodicalsChemistry

Generation of music pieces using machine learning: long short-term memory neural networks approach

Checking your access to this record.

Abstract & Overview

In this article, we explore the usage of long short-term memory neural network (NN) in generating music pieces and propose an approach to do so. Bach’s musical style has been selected to train the NN to make it able to generate similar music pieces. The proposed approach takes midi files, converting them to song files and then encoding them to be as inputs for the NN. Before inputting the files into the NNs, an augmentation process which augments the file into different keys is performed then the file is fed into the NN for training. The last step is the music generation. The main objective is to provide the NN with an arbitrary note and then the NN starts amending it gradually until producing a good piece of music. Various experiments have been conducted to explore the best values of parameters that can be selected to obtain good music generations. The obtained generated music pieces are accepted in terms of rhythm and harmony; however, some other problems exist such as in certain cases the tone stops or in some other cases getting short melodies that do not change.

Cite this record

Nabil M. Hewahi, Salman AlSaigal, Sulaiman AlJanahi (2019). Generation of music pieces using machine learning: long short-term memory neural networks approach. Arab Journal of Basic and Applied Sciences, 26(1), 397–413. https://doi.org/10.1080/25765299.2019.1649972

Copy in another style

Hewahi, N. M., AlSaigal, S., & AlJanahi, S. (2019). Generation of music pieces using machine learning: long short-term memory neural networks approach. Arab Journal of Basic and Applied Sciences, 26(1), 397–413. https://doi.org/10.1080/25765299.2019.1649972
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.