Machine Learning Approach for Harmonizing Songs
ISEF · 2019 Robotics and Intelligent Machines
Overview
This research examines the possibility to use computer algorithms to solve problems which involve creativity and artistic skills. In this work machine learning algorithms are applied to a melody harmonization task. I compare the ability to harmonize a melody of popular songs by four algorithms: Gaussian Naive Bayes (GNB), Support Vector Machine (SVM), Decision Treesand Random Forest. Quantitative evaluation of such performance was done with several comparative parameters. Random Forest was the most successful algorithm, slightly ahead of Decision Trees. While this algorithm did not capture high order harmonic relations, I demonstrate an ability of machine learning to perform such a traditionally human function as melody harmonization with a reasonable success. Optimization of the algorithms with respect to a higher level organization of music such as rhytmicity, tonality and stylistic nuances of harmony would bring the harmonization routine to a significantly higher level and presumably resemble human performance.
Competition history
- ISEF 2019
Resources
Related projects
ISEF · 2025
Identification of Musical Key, Mode, and Style Using Various Supervised Machine Learning Methods
ISEF · 2019
Auto Arranger Based on Deep Learning Methods
ISEF · 2018
A Fast and Accurate Open-Source Solo Musical Instrument Classifier
ISEF · 2019
ExploreYourMind: Software for Harmonic Combination of Video and Music
Closest projects by meaning, across every fair and year in the corpus.
Source: Regeneron International Science and Engineering Fair