DEV Community

FeliDrummond
FeliDrummond

Posted on

GitHub Copilot CLI Challenge: Music Idea Genarator

GitHub Copilot CLI Challenge Submission

This is a submission for the GitHub Copilot CLI Challenge

What I Built

The Music Idea Genarator is a simple Python CLI tool that generates music ideas such as moods, themes, chord progressions, and song structures. This project was built as part of the GitHub Copilot CLI Challenge, using GitHub Copilot directly in the terminal to design and implement the application.

In this project, I combined two passions: music and technology. I built this project to help me compose new songs in a simple and quick way. The project doesn't give you a song, but rather themes, chords, structure, and vibes that you can use as a starting point for inspiration and creation.

Demo

Access my repository on GitHub and follow the Readme to better understand how it works. GitHub: https://github.com/Feli021/Music-Idea-Genarator

Once you've cloned the repository and created and activated the virtual environment, the commands are very simple:

In the terminal, just type 'python main.py' followed or not by what you already have. For example, you might have a sequence of chords in C major and want the program to suggest the rest, such as the song's theme, vibe, and structure.

My Experience with GitHub Copilot CLI

For my first time using the tool, I used it in a very simple way, only assisting me with the structuring of folders and with generating the contents of the data.py file (the file where the lists and dictionaries with the Moods, themes, chords, and structure options are located).

From the terminal, using natural language, I explained the project and directly asked it to help me with the points mentioned above. For example, in the data.py file, I asked it to fill in the themes and chords for each mood, freeing me from a very manual process of creating themes and chords for each mood.

What can I expand and/or improve in this project?
We can expand and improve this project in many ways, from increasing the options for Moods (melancholic, depressive, agitated, etc.), Chords (such as major, minor, seventh chords, etc.) and themes for each mood, to including GitHub Copilot more explicitly in the project, allowing you to generate suggestions from natural language using the GitHub Copilot CLI, unlike the current version where you generate them from terminal commands like "python main.py --mood happy".

Top comments (0)