Cargando…

The Generation of Piano Music Using Deep Learning Aided by Robotic Technology

In order to improve the accuracy and precision of music generation assisted by robotics, this study analyzes the application of deep learning in piano music generation. Firstly, based on the basic concepts of robotics and deep learning, the advantages of long short-term memory (LSTM) networks are in...

Descripción completa

Detalles Bibliográficos
Autores principales: Pan, Jian, Yu, Shaode, Zhang, Zi, Hu, Zhen, Wei, Mingliang
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Hindawi 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9576368/
https://www.ncbi.nlm.nih.gov/pubmed/36262599
http://dx.doi.org/10.1155/2022/8336616
_version_ 1784811509883338752
author Pan, Jian
Yu, Shaode
Zhang, Zi
Hu, Zhen
Wei, Mingliang
author_facet Pan, Jian
Yu, Shaode
Zhang, Zi
Hu, Zhen
Wei, Mingliang
author_sort Pan, Jian
collection PubMed
description In order to improve the accuracy and precision of music generation assisted by robotics, this study analyzes the application of deep learning in piano music generation. Firstly, based on the basic concepts of robotics and deep learning, the advantages of long short-term memory (LSTM) networks are introduced and applied to the piano music generation. Meanwhile, based on LSTM, dropout coefficients are used for optimization. Secondly, various parameters of the algorithm are determined, including the effects of the number of iterations and neurons in the hidden layer on the effect of piano music generation. Finally, the generated music sequence spectrograms are analyzed to illustrate the accuracy and rationality of the algorithm. The spectrograms are compared with the music sequence spectrograms generated by the traditional restricted Boltzmann machine (RBM) music generation algorithm. The results show that (1) when the dropout coefficient value is 0.7, the function converges faster, and the experimental results are better; (2) when the number of iterations is 6000, the error between the generated music sequence and the original music is the smallest; (3) the number of hidden layers of the network is set to 4. When the number of neurons in each hidden layer is set to 1024, the training result of the network is optimal; (4) compared with the traditional RBM piano music generation algorithm, the LSTM-based algorithm and the sampling frequency distribution tend to be consistent with the original sample. The results show that the network has good performance in music generation and can provide a certain reference for automatic music generation.
format Online
Article
Text
id pubmed-9576368
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher Hindawi
record_format MEDLINE/PubMed
spelling pubmed-95763682022-10-18 The Generation of Piano Music Using Deep Learning Aided by Robotic Technology Pan, Jian Yu, Shaode Zhang, Zi Hu, Zhen Wei, Mingliang Comput Intell Neurosci Research Article In order to improve the accuracy and precision of music generation assisted by robotics, this study analyzes the application of deep learning in piano music generation. Firstly, based on the basic concepts of robotics and deep learning, the advantages of long short-term memory (LSTM) networks are introduced and applied to the piano music generation. Meanwhile, based on LSTM, dropout coefficients are used for optimization. Secondly, various parameters of the algorithm are determined, including the effects of the number of iterations and neurons in the hidden layer on the effect of piano music generation. Finally, the generated music sequence spectrograms are analyzed to illustrate the accuracy and rationality of the algorithm. The spectrograms are compared with the music sequence spectrograms generated by the traditional restricted Boltzmann machine (RBM) music generation algorithm. The results show that (1) when the dropout coefficient value is 0.7, the function converges faster, and the experimental results are better; (2) when the number of iterations is 6000, the error between the generated music sequence and the original music is the smallest; (3) the number of hidden layers of the network is set to 4. When the number of neurons in each hidden layer is set to 1024, the training result of the network is optimal; (4) compared with the traditional RBM piano music generation algorithm, the LSTM-based algorithm and the sampling frequency distribution tend to be consistent with the original sample. The results show that the network has good performance in music generation and can provide a certain reference for automatic music generation. Hindawi 2022-10-10 /pmc/articles/PMC9576368/ /pubmed/36262599 http://dx.doi.org/10.1155/2022/8336616 Text en Copyright © 2022 Jian Pan et al. https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
spellingShingle Research Article
Pan, Jian
Yu, Shaode
Zhang, Zi
Hu, Zhen
Wei, Mingliang
The Generation of Piano Music Using Deep Learning Aided by Robotic Technology
title The Generation of Piano Music Using Deep Learning Aided by Robotic Technology
title_full The Generation of Piano Music Using Deep Learning Aided by Robotic Technology
title_fullStr The Generation of Piano Music Using Deep Learning Aided by Robotic Technology
title_full_unstemmed The Generation of Piano Music Using Deep Learning Aided by Robotic Technology
title_short The Generation of Piano Music Using Deep Learning Aided by Robotic Technology
title_sort generation of piano music using deep learning aided by robotic technology
topic Research Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9576368/
https://www.ncbi.nlm.nih.gov/pubmed/36262599
http://dx.doi.org/10.1155/2022/8336616
work_keys_str_mv AT panjian thegenerationofpianomusicusingdeeplearningaidedbyrobotictechnology
AT yushaode thegenerationofpianomusicusingdeeplearningaidedbyrobotictechnology
AT zhangzi thegenerationofpianomusicusingdeeplearningaidedbyrobotictechnology
AT huzhen thegenerationofpianomusicusingdeeplearningaidedbyrobotictechnology
AT weimingliang thegenerationofpianomusicusingdeeplearningaidedbyrobotictechnology
AT panjian generationofpianomusicusingdeeplearningaidedbyrobotictechnology
AT yushaode generationofpianomusicusingdeeplearningaidedbyrobotictechnology
AT zhangzi generationofpianomusicusingdeeplearningaidedbyrobotictechnology
AT huzhen generationofpianomusicusingdeeplearningaidedbyrobotictechnology
AT weimingliang generationofpianomusicusingdeeplearningaidedbyrobotictechnology