0% found this document useful (0 votes)
7 views23 pages

Generating Melodies With RNN-LSTM - Series Overview

Uploaded by

Baibhav Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views23 pages

Generating Melodies With RNN-LSTM - Series Overview

Uploaded by

Baibhav Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 23

Generating melodies with

RNN-LSTM
Valerio Velardo
What you’ll learn
● Generate melody with NN
● Build and train LSTM network with Keras
● Handle time-series data
● Basic understanding of symbolic music representation
● Basic music theory concepts (e.g., pitch, duration, key)
● Preprocess symbolic music
Prerequisites
● Intermediate Python
● Familiar with TensorFlow/Keras [advisable but not necessary!]
Tools and libraries
● Keras/TensorFlow
● Music21
● MuseScore
Melody
● Sequence of notes and rests
Melody generation problem
● Treat melody as a time series
● Time-series prediction problem
● Vocabulary of notes
The melody generator (training)

Predict next note


RNN-LSTM in the melody
The melody generator (inference)

RNN-LSTM
The melody generator (inference)

RNN-LSTM
The melody generator (inference)

RNN-LSTM

RNN-LSTM
The melody generator (inference)

RNN-LSTM

RNN-LSTM
The melody generator (inference)

RNN-LSTM

RNN-LSTM

RNN-LSTM
The melody generator (inference)

RNN-LSTM

RNN-LSTM

RNN-LSTM
The melody generator (inference)

RNN-LSTM

RNN-LSTM

RNN-LSTM
Why do we use an RNN-LSTM?
● Melodies have long-term structural patterns
Why do we use an RNN-LSTM?
Why do we use an RNN-LSTM?
Why do we use an RNN-LSTM?
Why do we use an RNN-LSTM?
Why do we use an RNN-LSTM?
Why do we use an RNN-LSTM?
● Melodies have long-term structural patterns
● LSTMs capture long-term temporal dependencies
The melody dataset
● Traditional folk melodies
● ESAC dataset 5K+ songs from all over the world
What next?
● Music concepts + symbolic music representation

You might also like