Skip to content

gopuman/MusicGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MusicGen

Credits - How to Generate Music using a LSTM Neural Network in Keras --> Classical Piano Composer

This project allows you to train a neural network to generate midi music files that make use of a single instrument

Requirements

  • Python 3.x
  • Installing the following packages using pip:
    • Music21
    • Keras
    • Tensorflow
    • h5py

Usage

  • Place midi files of your choice into the midi_songs directory

  • Run the train.py file to train the NN

python3 train.py
  • After successfully running train.py, update the path_to_weights_file variable in gen.py and run:
python3 gen.py
  • Find the results in - test_output.mid

Results

  • I had chosen music of similar genres i.e Superhero/Sci-Fi music
  • Check it out -> BatAI_unmixed

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages