mobeets / mood-music

generating music by mood

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Data: MIDI data for songs in the Million Songs Dataset can be obtained by downloading "LMD-matched" and "LMD-matched-metadata" from the Lakh MIDI Dataset.

Preprocessing:

  1. Find the mood of each song using pygn to query the Gracenote API
  2. Discretize midi data into sixteenth notes, convert to piano-roll notation (binary matrix of [nsamples x npitches]), and tranpose to C major or C minor.

About

generating music by mood


Languages

Language:Python 100.0%