Skip to main content

SentHYMNent: An Interpretable and Sentiment-Driven Model for Algorithmic Melody Harmonization

Publication ,  Conference
Hahn, S; Yin, J; Zhu, R; Xu, W; Jiang, Y; Mak, S; Rudin, C
Published in: Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining
August 25, 2024

Music composition and analysis is an inherently creative task, involving a combination of heart and mind. However, the vast majority of algorithmic music models completely ignore the "heart"component of music, resulting in output that often lacks the rich emotional direction found in human-composed music. Models that try to incorporate musical sentiment rely on a "valence-arousal"model, which insufficiently characterizes emotion in two dimensions. Furthermore, existing methods typically adopt a black-box, music agnostic approach, treating music-theoretical and sentimental understanding as a by-product that can be inferred given sufficient data. In this study, we introduce two major novel elements: a nuanced mixture-based representation for musical sentiment, including a web tool to gather data, as well as a sentiment- and theory-driven harmonization model, SentHYMNent. SentHYMNent employs a novel Hidden Markov Model based on both key and chord transitions, as well as sentiment mixtures, to provide a probabilistic framework for learning key modulations and chordal progressions from a given melodic line and sentiment. Furthermore, our approach leverages compositional principles, resulting in a simpler model that significantly reduces computational burden and enhances interpretability compared to current state-of-the-art algorithmic harmonization methods. Importantly, as shown in our experiments, these improvements do not come at the expense of harmonization quality. We also provide a web app where users can upload their own melodies for SentHYMNent to harmonize.

Duke Scholars

Published In

Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining

DOI

ISSN

2154-817X

Publication Date

August 25, 2024

Start / End Page

5050 / 5060
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Hahn, S., Yin, J., Zhu, R., Xu, W., Jiang, Y., Mak, S., & Rudin, C. (2024). SentHYMNent: An Interpretable and Sentiment-Driven Model for Algorithmic Melody Harmonization. In Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 5050–5060). https://doi.org/10.1145/3637528.3671626
Hahn, S., J. Yin, R. Zhu, W. Xu, Y. Jiang, S. Mak, and C. Rudin. “SentHYMNent: An Interpretable and Sentiment-Driven Model for Algorithmic Melody Harmonization.” In Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 5050–60, 2024. https://doi.org/10.1145/3637528.3671626.
Hahn S, Yin J, Zhu R, Xu W, Jiang Y, Mak S, et al. SentHYMNent: An Interpretable and Sentiment-Driven Model for Algorithmic Melody Harmonization. In: Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. 2024. p. 5050–60.
Hahn, S., et al. “SentHYMNent: An Interpretable and Sentiment-Driven Model for Algorithmic Melody Harmonization.” Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 2024, pp. 5050–60. Scopus, doi:10.1145/3637528.3671626.
Hahn S, Yin J, Zhu R, Xu W, Jiang Y, Mak S, Rudin C. SentHYMNent: An Interpretable and Sentiment-Driven Model for Algorithmic Melody Harmonization. Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. 2024. p. 5050–5060.

Published In

Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining

DOI

ISSN

2154-817X

Publication Date

August 25, 2024

Start / End Page

5050 / 5060