Skip to content

This is a dataset to dedicated to the relationship between chords & melodies

License

Notifications You must be signed in to change notification settings

shiehn/chord-melody-dataset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chord Melody Dataset

This dataset to dedicated to the relationship between chords & melodies. The intended use case of the data set is to train models capable of predicting melodies from chord progressions or vice versa.

The dataset conforms to a strict format. All songs are saved in MUSIC_XML

Each bar must contain:

  • 2 chords
  • all notes MUST be monophonic (i.e single note melodies)
  • notes and or rests that sum to 4 beats (4/4 time)
  • triplets are NOT supported!
  • the maximum resolution supported is 16th notes

How the dataset was created

The dataset was created scaning leadsheets via the OCR feature in the SMARTSCORE SOFTWARE

Contributing to the dataset

Ideally each song/leadsheet will be transposed to 12keys. I have created a golang app that will validate that the xml format is correct MusicXmlParser

How to use this dataset

In order to use this data set to make musical predictions you must first encode the data into a format consumable by machine learning algorithms. You are welcome to use the tool I've created or of course roll your own. The encoder I've created is a simple GoLang commandline tool that consumes the MusicXML format and outputs enoded data strings. ENCODING TOOL

For ideas on how to format and feed this data into machine learning algorithms & frameworks please visit my blog Signals & Sorcery Blog or my procedural music generation project TrebleMaker.Ai

About

This is a dataset to dedicated to the relationship between chords & melodies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published