Sofcomputing Approach to Melody Generation Based on Harmonic Analysis
Abstract
This work aims to create an ANN-based system for a musical improviser. An artificial improviser of "hearing" music will create a melody. The data supplied to the improviser is MIDI-type musical data. This is the harmonic-rhythmic course, the background for improvisation, and the previously made melody notes. The harmonic run is fed into the system as the currently ongoing chord and the time to the next chord, while the supplied few dozen notes performed earlier will indirectly carry information about the entire run and the musical context and style. Improvisation training is carried out to check ANN as a correct-looking musical improvisation device. The improviser generates several hundred notes to be substituted for a looped rhythmic-harmonic waveform and examined for quality.References
J. P. Briot, F. Pachet, “Deep learning for music generation: challenges and directions”, Neural Comput. Appl., vol. 32, no. 4, pp. 981–993, 2020.
J. P. Briot, G. Hadjeres, F. D. Pachet, “Deep Learning Techniques for Music Generation”, Springer Nature Switzerland AG, 2020.
D. Herremans, C. H. Chuan, E. Chew, “A functional taxonomy of music generation systems”, ACM Comput. Surv. (CSUR), vol. 50, no. 5, pp. 1–30, 2017.
C. F. Huang, C. Y. Huang, “Emotion-based AI music generation system with CVAE-GAN”, in 2020 IEEE Eurasia Conference on IOT, Communication and Engineering (ECICE), pp. 220–222, 2020.
T. M. Association, “Standard MIDI Files (SMF) specification”, https://www.midi.org/specifications-old/item/standard-midi-files-smf, 2020.
Y. Bengio, P. Simard, P. Frasconi, “Learning long-term dependencies with gradient descent is difficult”, IEEE Trans. Neural Networks, vol. 5, no. 2, pp. 157–166, 1994.
K. Zhao, S. Li, J. Cai, H. Wang, J. Wang, “An emotional symbolic music generation system based on LSTM networks”, in: 2019 IEEE 3rd Information Technology, Networking, Electronic and Automation Control Conference (ITNEC), pp. 2039–2043, 2019.
A. Karpathy, “The unreasonable effectiveness of recurrent neural network”, https://karpathy.github.io/2015/05/21/rnn-effectiveness/, 2015.
H. G. Zimmermann, R. Neuneier, “Neural network architectures for the modeling of dynamical systems”, in: A Field Guide to Dynamical Recurrent Networks, pp. 311–350, IEEE Press, Los Alamitos, 2001.
S. Mangal, R. Modak, P. Joshi, “LSTM based music generation system”, arXiv https://doi.org/10.17148/IARJSET.2019.6508, 2019.
S. Hochreiter, J. Schmidhuber, “Long short-term memory”, Neural Comput. vol. 9, no. 8, pp. 1735–1780, 1997.
K. Greff, R. K. Srivastava, J. Koutnik, B. R. Steunebrink, J. Schmidhuber, “LSTM: a search space odyssey”, IEEE Trans. Neural Netw. Learn. Syst., vol. 28, pp. 2222–2232, 2017.
A. Everest, K. Pohlmann, “Master Handbook of Acoustics”, 5th ed. edition, New York: McGraw-Hill, 2009.
B. Thom, "Unsupervised Learning and Interactive Jazz/Blues Improvisation," in American Association for Artificial Intelligence, 2000.
I. Simon, D. Morris, and S. Basu, "Exposing Parameters of a Trained Dynamic Model for Interactive Music Creation," in Association for the Advancement of Artificial Intelligence, 2008.
C. Schmidt-Jones, “Understanding Basic Music Theory”, Rice University, Houston, Texas: Connexions, 2007.
P. Ponce, J. Inesta, “Feature-Driven Recognition of Music Styles”, Lecture Notes in Computer Science 2652, pp. 773–781, 2003. https://doi.org/10.1007/978-3-540-44871-6_90
J. Mazurkiewicz, “Softcomputing Approach to Music Generation”, in: Dependable Computer Systems and Networks. DepCoS-RELCOMEX 2023. Lecture Notes in Networks and Systems, vol 737, pp. 149–161, Springer, Cham, 2023. https://doi.org/10.1007/978-3-031-37720-4_14
Downloads
Published
Issue
Section
License
Copyright (c) 2024 International Journal of Electronics and Telecommunications

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
1. License
The non-commercial use of the article will be governed by the Creative Commons Attribution license as currently displayed on https://creativecommons.org/licenses/by/4.0/.
2. Author’s Warranties
The author warrants that the article is original, written by stated author/s, has not been published before, contains no unlawful statements, does not infringe the rights of others, is subject to copyright that is vested exclusively in the author and free of any third party rights, and that any necessary written permissions to quote from other sources have been obtained by the author/s. The undersigned also warrants that the manuscript (or its essential substance) has not been published other than as an abstract or doctorate thesis and has not been submitted for consideration elsewhere, for print, electronic or digital publication.
3. User Rights
Under the Creative Commons Attribution license, the author(s) and users are free to share (copy, distribute and transmit the contribution) under the following conditions: 1. they must attribute the contribution in the manner specified by the author or licensor, 2. they may alter, transform, or build upon this work, 3. they may use this contribution for commercial purposes.
4. Rights of Authors
Authors retain the following rights:
- copyright, and other proprietary rights relating to the article, such as patent rights,
- the right to use the substance of the article in own future works, including lectures and books,
- the right to reproduce the article for own purposes, provided the copies are not offered for sale,
- the right to self-archive the article
- the right to supervision over the integrity of the content of the work and its fair use.
5. Co-Authorship
If the article was prepared jointly with other authors, the signatory of this form warrants that he/she has been authorized by all co-authors to sign this agreement on their behalf, and agrees to inform his/her co-authors of the terms of this agreement.
6. Termination
This agreement can be terminated by the author or the Journal Owner upon two months’ notice where the other party has materially breached this agreement and failed to remedy such breach within a month of being given the terminating party’s notice requesting such breach to be remedied. No breach or violation of this agreement will cause this agreement or any license granted in it to terminate automatically or affect the definition of the Journal Owner. The author and the Journal Owner may agree to terminate this agreement at any time. This agreement or any license granted in it cannot be terminated otherwise than in accordance with this section 6. This License shall remain in effect throughout the term of copyright in the Work and may not be revoked without the express written consent of both parties.
7. Royalties
This agreement entitles the author to no royalties or other fees. To such extent as legally permissible, the author waives his or her right to collect royalties relative to the article in respect of any use of the article by the Journal Owner or its sublicensee.
8. Miscellaneous
The Journal Owner will publish the article (or have it published) in the Journal if the article’s editorial process is successfully completed and the Journal Owner or its sublicensee has become obligated to have the article published. Where such obligation depends on the payment of a fee, it shall not be deemed to exist until such time as that fee is paid. The Journal Owner may conform the article to a style of punctuation, spelling, capitalization and usage that it deems appropriate. The Journal Owner will be allowed to sublicense the rights that are licensed to it under this agreement. This agreement will be governed by the laws of Poland.
By signing this License, Author(s) warrant(s) that they have the full power to enter into this agreement. This License shall remain in effect throughout the term of copyright in the Work and may not be revoked without the express written consent of both parties.