Abstract
This paper examines potential applicability and efficacy of Artificial Intelligence (AI) methods in automatic music generation. Specifically, we propose an Evolutionary Algorithm (EA) capable of constructing melodic line harmonization with given harmonic functions, based on the rules of music composing which are applied in the fitness function. It is expected that harmonizations constructed in accordance to these rules would be formally correct in terms of music theory and, additionally, would follow less-formalised aesthetic requirements and expectations. The fitness function is composed of several modules, with each module consisting of smaller parts. This design allows for its flexible modification and extension. The way the fitness function is constructed and tuned towards better quality harmonizations is discussed in the context of music theory and technical EA implementation. In particular, we show how could generated harmonizations be modelled by means of adjusting the relevance of particular fitness function components. The proposed method generates solutions which are technically correct (i.e. in line with music harmonization theory) and also “nice to listen to” (i.e. aesthetically plausible) as assessed by an expert - a harmony teacher.
Keywords
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
https://github.com/MelodicLineHarmonization/melodicLineHarmonization.git
Agmon, E.: The Languages of Western Tonality. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-39587-1
Benham, H.: A Student’s Guide to Harmony and Counterpoint. Rhinegold Publishing Limited, London (2006)
Carnovalini, F., Rodà, A.: Computational creativity and music generation systems: an introduction to the state of the art. Front. Artif. Intell. 3, 14 (2020)
Crocker, R.L.: A History of Musical Style. Dover Publications Inc., New York (2018)
Evans, B., Fukayama, S., Goto, M., Munekata, N., Ono, T.: Autochoruscreator: four-part chorus generator with musical feature control, using search spaces constructed from rules of music theory. In: Proceedings ICMC (2014)
Freitas, A., Guimaraes, F.: Melody harmonization in evolutionary music using multiobjective genetic algorithms. In: Proceedings of the Sound and Music Computing Conference (2011)
Hild, H., Feulner, J., Menzel, W.: HarmoNet: a neural net for harmonizing chorales in the style of J.S.Bach. In: NIPS 2091: Proceedings of the 4th International Conference on Neural Information Processing Systems, pp. 267–274 (1991)
Kaliakatsos-Papakostas, M., Floros, A., Vrahatis, M.N.: Artificial intelligence methods for music generation: a review and future perspectives. In: Nature-Inspired Computation and Swarm Intelligence, pp. 217–245 (2020)
Mańdziuk, J., Goss, M., Woźniczko, A.: Chopin or not? A memetic approach to music composition. In: 2013 IEEE Congress on Evolutionary Computation, pp. 546–553 (2013)
Mańdziuk, J., Woźniczko, A., Goss, M.: A neuro-memetic system for music composing. In: Iliadis, L., Maglogiannis, I., Papadopoulos, H. (eds.) AIAI 2014. IAICT, vol. 436, pp. 130–139. Springer, Heidelberg (2014). https://doi.org/10.1007/978-3-662-44654-6_13
Moray, A., Williams, C.K.I.: Harmonising chorales by probabilistic inference. Adv. Neural. Inf. Process. Syst. 17, 25–32 (2005)
Olseng, O., Gambäck, B.: Co-evolving melodies and harmonization in evolutionary music composition. In: International Conference on Computational Intelligence in Music, Sound, Art and Design (2018)
Pachet, F., Roy, P.: Musical harmonization with constraints: a survey. Constraints 6(1), 7–19 (2001)
Prisco, R.D., Zaccagnino, G., Zaccagnino, R.: Evocomposer: an evolutionary algorithm for 4-voice music compositions. Evol. Comput. 28(3), 489–530 (2020)
Rimsky-Korsakov, N.: Practical Manual of Harmony. C. Fischer, New York (2005)
Sikorski, K.: Harmonia cz. 1. PWM (2020)
Vechtomova, O., Sahu, G., Kumar, D.: LyricJam: a system for generating lyrics for live instrumental music. In: Proceedings of the 11th International Conference on Computational Creativity (2021)
Wiggins, G.A.: Searching for computational creativity. N. Gener. Comput. 24(3), 209–222 (2006). https://doi.org/10.1007/BF03037332
Yi, L., Goldsmith, J.: Automatic generation of four-part harmony. In: Proceedings of the Fifth UAI Bayesian Modeling Applications Workshop (2007)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Mycka, J., Żychowski, A., Mańdziuk, J. (2022). Human-Level Melodic Line Harmonization. In: Groen, D., de Mulatier, C., Paszynski, M., Krzhizhanovskaya, V.V., Dongarra, J.J., Sloot, P.M.A. (eds) Computational Science – ICCS 2022. ICCS 2022. Lecture Notes in Computer Science, vol 13350. Springer, Cham. https://doi.org/10.1007/978-3-031-08751-6_2
Download citation
DOI: https://doi.org/10.1007/978-3-031-08751-6_2
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-08750-9
Online ISBN: 978-3-031-08751-6
eBook Packages: Computer ScienceComputer Science (R0)