This project generates musical note sequences using a Long Short-Term Memory (LSTM) neural network trained on MIDI music data. The model learns patterns from existing music and creates new melodies automatically.
- MIDI file preprocessing using Music21
- Note sequence extraction
- LSTM-based deep learning model
- Automatic music generation
- Export generated music as MIDI files
- Python
- TensorFlow / Keras
- Music21
- NumPy
- Google Colab
- Collect MIDI music files.
- Extract notes and chords using Music21.
- Convert notes into numerical sequences.
- Train an LSTM neural network.
- Generate new note sequences.
- Convert generated notes back into MIDI format.
- LSTM Layers
- Dropout Layers
- Dense Output Layer
- Softmax Activation
The trained model successfully generates new musical compositions based on learned musical patterns from the training dataset.
-
Install required libraries: pip install -r requirements.txt
-
Open the notebook in Google Colab.
-
Run all cells sequentially.
-
Generate new music and download the output MIDI file.
- Train on larger datasets
- Support multiple music genres
- Deploy as a web application
- Add real-time music generation
This project generates music using an LSTM neural network trained on MIDI files.
- Python
- TensorFlow
- Keras
- Music21
The model generates MIDI music files based on learned note patterns.
Sri Priyanka S


