This book discusses the use of advanced techniques to produce and understand music in a digital way. Moreover, machine-learning methods include popular deep learning algorithms and are used in a broad range of contexts, from discovering patterns in music features to producing music.