This melody line playing on the piano was composed by AI with deep learning algorithm which used standalone Keras with a Tensorflow 1.14 backend. It was trained by Beatles song "Michelle" MIDI notes divided into 12 bars and played with "Michelle" accompaniment on LogicPro X. Using the method of extracting the characteristics of the composer by calculating the probability distribution of the pitch and length of the note that comes after each note. The official code repository for examples in the O'Reilly book 'Generative Deep Learning' https://learning.oreilly.com/library/view/generative-deep-learning/9781492041931/ https://www.amazon.com/Generative-Deep-Learning-Teaching-Machines/dp/1492041947/ref=sr_1_1