Skip to content

Utilizes natural language processing to convert textual descriptions into MIDI compositions. Outputs are compatible with a wide range of Digital Audio Workstations (DAWs). Integrates dynamic music theory, including scales and chord progressions, based on user input. Tech stack includes Python, MIDIUtil, OpenAI GPT API, and Flask for the backend.

Notifications You must be signed in to change notification settings

akhan2000/Generative-Music

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Music Synthesis Software

Overview

"Music Gen" is a pioneering software that employs Natural Language Processing (NLP) and AI to convert textual descriptions into MIDI music compositions. It stands at the intersection of linguistic expression and musical creativity, offering users a unique way to generate music based on their descriptive inputs.

Features

Text-to-Music Translation: Converts detailed textual descriptions into complex MIDI compositions.

Genre Versatility: Capable of creating music in multiple genres, including blues, jazz, rock, classical, and pop.

MIDI Compatibility: Outputs compositions in MIDI format, compatible with a wide range of Digital Audio Workstations (DAWs).

Dynamic Music Theory Application: Applies a variety of scales and chord progressions corresponding to different musical genres, based on the input text.

Installation

Prerequisites:

Python 3.8 or later MIDIUtil library OpenAI GPT API key To install the software:

Clone the repository

git clone https://github.com/akhan2000/Generative-Music

Navigate to the project directory

cd Generative-Music

Install the required Python libraries

pip install -r requirements.txt

Usage

To use the software, run the main.py script with a textual description of the music you want to generate. For example:

Run the script with a description

python Music-Gen.py "Create a lively jazz melody in the key of E at 140 bpm" The script will process the input and generate a MIDI file corresponding to the described music.

Contributing

Contributions to "Music Gen" are welcome! If you have ideas for improvements or new features, feel free to fork the repository and submit a pull request. Please adhere to standard Python coding conventions and write clear, commented code.

Acknowledgements

This project was developed at Duke University. Special thanks to the Computer Science and Music Departments for their support and guidance, and to all volunteer users who provided invaluable feedback during the testing phase.

Contact Information

For any queries related to "Music Gen," please contact:

Name: Asfandyar Khan

Email: AK556@duke.edu

Institution: Duke University

About

Utilizes natural language processing to convert textual descriptions into MIDI compositions. Outputs are compatible with a wide range of Digital Audio Workstations (DAWs). Integrates dynamic music theory, including scales and chord progressions, based on user input. Tech stack includes Python, MIDIUtil, OpenAI GPT API, and Flask for the backend.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages