Open AccessOpen Access


Main Melody Configuration and Chord Algorithm for Relaxing Music Generation

Chih-Fang Huang1,*, Ai-Hsien Fan2, Jin-Huang Huang3, Hsing-Cheng Huang3

1 Department of Health and Marketing, Kainan University, Taoyuan, Taiwan
2 Master Program at School of Healthcare Management, Kainan University, Taoyuan, Taiwan
3 Ph.D. Program of Mechanical and Aeronautical Engineering, Feng Chia University, Taichung, Taiwan

* Corresponding Author: Chih-Fang Huang. Email:

Intelligent Automation & Soft Computing 2023, 35(1), 661-673.


This study applies the diatonic chord in music theory, utilization rate, and the close relationship between the main chord system, the dominant chord system, and the subordinate chord system. From the perspective of music theory, the computer can automatically and quickly analyze the music, and establish a set of algorithms for configuring the chord accompaniment for the main melody, called the symmetrical circle of fifths algorithm, SCFA (Symmetrical Circle of Fifths Algorithm). SCFA can immediately confirm the key, perform harmony analysis, configure chord accompaniment for the main melody, and effectively and correctly complete any given melody or interval. It can also quickly analyze and correctly configure the chord accompaniment for any MIDI (Musical Instrument Digital Interface) music, enriching the musicality of the music. It can also allow scorers or computer music creators to quickly deconstruct the harmony configuration of the melody. Through the measurement of bio-feedback sensor HRV (Heart Rate Variability), it can achieve a relaxing music healing effect.


Cite This Article

C. Huang, A. Fan, J. Huang and H. Huang, "Main melody configuration and chord algorithm for relaxing music generation," Intelligent Automation & Soft Computing, vol. 35, no.1, pp. 661–673, 2023.

This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 564


  • 378


  • 0


Share Link

WeChat scan