"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.
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.
Prerequisites:
Python 3.8 or later MIDIUtil library OpenAI GPT API key To install the software:
git clone https://github.com/akhan2000/Generative-Music
cd Generative-Music
pip install -r requirements.txt
To use the software, run the main.py script with a textual description of the music you want to generate. For example:
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.
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.
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