Using LSTM neural network to generate music
Abstract
Music generation is a cutting edge and useful research filed, which is helpful for artists to compose novel melodies as well as revealing potential patterns of music. Recurrent neural network (RNN) is a member of the neural network family, which is commonly used for processing sequential data. It can deal with sequential changes in data compared to normal neural networks. Long short-term memory (LSTM) aims at improving the conventional RNN. It is designed to alleviate the deficiencies of gradient disappearance and gradient explosion that possibly happened in RNN during training. In simple terms, LSTM is superior at grasping long term information than normal RNN. It can record the information that requires to be recorded for a long time and abandon these unimportant features. Unlike RNN, which have merely one way of stacking long-term information. It's quite useful for tasks that require long range dependence. In this work the effectiveness of the LSTM is validated on the music generation task.
References
- Lundqvist, L. O., Carlsson, F., Hilmersson, P., & Juslin, P. N. (2009). Emotional responses to music: Experience, expression, and physiology. Psychology of music, 37(1), 61-90.
- Ritter, S. M., & Ferguson, S. (2017). Happy creativity: Listening to happy music facilitates divergent thinking. PloS one, 12(9), e0182210.
- McCormack, J. (1996). Grammar based music composition. Complex systems, 96, 321-336.
- Collins, D. (2005). A synthesis process model of creative thinking in music composition. Psychology of music, 33(2), 193-216.
- Wang, H., Ma, C., & Zhou, L. (2009, December). A brief review of machine learning and its application. In 2009 international conference on information engineering and computer science, 1-4.
- Libbrecht, M. W., & Noble, W. S. (2015). Machine learning applications in genetics and genomics. Nature Reviews Genetics, 16(6), 321-332.
- Hsu, C. C., Zhuang, Y. X., & Lee, C. Y. (2020). Deep fake image detection based on pairwise learning. Applied Sciences, 10(1), 370.
- Briot, J. P., Hadjeres, G., & Pachet, F. D. (2017). Deep learning techniques for music generation--a survey. arXiv preprint arXiv:1709.01620.
- Mao, H. H., Shin, T., & Cottrell, G. (2018). DeepJ: Style-specific music generation. In 2018 IEEE 12th International Conference on Semantic Computing, 377-382.
- Medsker, L. R., & Jain, L. C. (2001). Recurrent neural networks. Design and Applications, 5, 64-67.