The present invention discloses a system and a method for automatically composing music using approaches of
generative adversarial network and adversarial inverse reinforcement learning algorithm, comprising: a music feature extracting unit, a first operation module, a second operation module and a third operation module. The music feature extracting unit performs a feature extracting process on each of reference music data stored in the reference music database, thereby extracting a plurality of music features. Particularly, the first operation module performs a long and short-term memory (LSTM) neural network algorithm with bi-axial architecture. The second operation module uses an adversarial inverse reinforcement learning (AIRL) algorithm to perform a second operation on the plurality of music features, thereby obtaining at least one reward function. According to foregoing features of the present invention, the music generated by the system and method of the present invention are melodic and like the music composed by humans. |