An automatic music generation method based on given patterns of rhythm

Yinji Jing,Shengchen Li
2019-01-01
Abstract:This paper presents a method that generates music with given rhythm. The engagement of rhythm is fairly common for folk song composers as the lyrics can be easily transformed to the requirement of rhythm. To show the probability that the melody can be generated with the certain rhythm, the paper uses the Char-RNN (Character Recurrent Neural Network) [2] to model the relationship between the pitch line and the rhythm. The Char-RNN proposed by Andrej can generate text at the character level showing the effectiveness of RNN structure. The method proposed is based on the Char-RNN with LSTM (Long Short-Term Memory) to improve the long-time memories, the structure in this paper is shown in Figure 1. The bottom neurons is the input layer and the input is the rhythm represented as minim, crotchet, quaver, semiquaver et al. The middle hidden layer contains 1 LSTM layers with 128 units. The upper output layer output the pitch of each note represented by the absolute pitch in MIDI (which ‘60’ represents ‘C5’ ).
What problem does this paper attempt to address?