Skip to content

this repo is meant to contain all files for the project of machine learning, course code X_400154

Notifications You must be signed in to change notification settings

CriMilanese/ml_music_generation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Music generation with machine learning

This project was meant to be the result of an assignment for the course of Machine Leaning at Vrije Unieversiteit - Amsterdam. It became a joint effort to experiment the power of machine learning for music composition, with satisfying results given its time constraints. It is

It is composed of two parts, one exploiting basic probability theories and a second, more advanced, using modern recurrent neural networks, both with the goal of producing a sequence of notes by prepending an input of the same type.

File structure:

  • src/ contains the whole python project source code
    • dataset includes a zip file with the midi files generated after key normalization
    • HMM contains the main functions for the generation of songs with the Hidden Markov Model
    • LSTM contains the main functions for the generation of songs with the Recurrent Neural Network
    • midi/ all MIDI sample files to be parsed are stored here
    • pickles/ includes all python data structures in a handy pickle format
    • stats/ contains a script to perform basic statistical analysis on the midi files produced after normalization
  • docs/ the full article describing the experiment in-depth and the tex file, where the article came from, is there as an example to look at.
  • utils helpers for most of the operations done through the experiment, they might find application elsewhere, take a look at the API section.

for more information take a look at the resulting article in the docs folder, which is compiled using latex environment.

We got the models to produce two songs, which were then the subject of a survey to find out which of the result people liked the most.

About

this repo is meant to contain all files for the project of machine learning, course code X_400154

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages