Sentiment-Based Music Recommendation System using Natural Language Processing for Emotion-aware Song Suggestions

Music plays a vital role in influencing emotions, mood, and mental health. However, classical music recommendation systems mostly rely on listening to history, genre preference, or popularity, ignoring the listener’s mood. Motivation to go further in this area gave birth to this study, where a new sentiment-based music recommendation system is being designed by incorporating Natural Language Processing (NLP) and Machine Learning (ML) techniques to provide emotion-aware song recommendations. The system collects various audio features such as valence, energy, tempo, and danceability from music distribution platforms such as Spotify, which are well-known indicators for classifying the emotional tone of a song. Thereafter, NLP processes are used to analyse audio features and provide sentiment scores assigned to each music track: positive, negative, or neutral. These sentiment scores were further used with other song features, such as genre and tempo, to build in-depth emotional profiles for each song. Three ML methods were implemented in the system for classification and recommendation: K-Nearest Neighbors (KNN), Support Vector Machine (SVM), and Decision Tree (DT). After many trials, the SVM scored the highest in sentiment classification accuracy (87.5%), with maximum precision and recall values of 0.88. The recommendation is fed through a simple interface on a website where the user can enter their feelings and obtain song recommendations instantly determined by mood. According to the survey, 78% of users said that mood-based recommendations fit their emotional state better than traditional recommendations. Although the results prove this, limitations have been noted, particularly with a limited range of features and small dataset. Future enhancements will focus on real-time affect tracking, additional affect features, and larger and more diverse datasets. Traditional NLP applies to text data, but this system applies sentiment detection to numerical audio features. This version does not use lyric-based NLP.

Authors

Institutions

Publication Details

Journal
Journal of Informatics and Web Engineering
Published
2026-02-14
DOI
https://doi.org/10.33093/jiwe.2026.5.1.11
Primary Topic
Music and Audio Processing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Sentiment-Based Music Recommendation System using Natural Language Processing for Emotion-aware Song Suggestions

Mohamed Uvaze Ahamed Ayoobkhan, Naveen Palanichamy, Bui Xuan Yu, S. Prabha Kumaresan
Journal of Informatics and Web Engineering
Music and Audio Processing
article

Sentiment-Based Music Recommendation System using Natural Language Processing for Emotion-aware Song Suggestions

Mohamed Uvaze Ahamed Ayoobkhan, Naveen Palanichamy, Bui Xuan Yu, S. Prabha Kumaresan
article en

Abstract

Music plays a vital role in influencing emotions, mood, and mental health. However, classical music recommendation systems mostly rely on listening to history, genre preference, or popularity, ignoring the listener’s mood. Motivation to go further in this area gave birth to this study, where a new sentiment-based music recommendation system is being designed by incorporating Natural Language Processing (NLP) and Machine Learning (ML) techniques to provide emotion-aware song recommendations. The system collects various audio features such as valence, energy, tempo, and danceability from music distribution platforms such as Spotify, which are well-known indicators for classifying the emotional tone of a song. Thereafter, NLP processes are used to analyse audio features and provide sentiment scores assigned to each music track: positive, negative, or neutral. These sentiment scores were further used with other song features, such as genre and tempo, to build in-depth emotional profiles for each song. Three ML methods were implemented in the system for classification and recommendation: K-Nearest Neighbors (KNN), Support Vector Machine (SVM), and Decision Tree (DT). After many trials, the SVM scored the highest in sentiment classification accuracy (87.5%), with maximum precision and recall values of 0.88. The recommendation is fed through a simple interface on a website where the user can enter their feelings and obtain song recommendations instantly determined by mood. According to the survey, 78% of users said that mood-based recommendations fit their emotional state better than traditional recommendations. Although the results prove this, limitations have been noted, particularly with a limited range of features and small dataset. Future enhancements will focus on real-time affect tracking, additional affect features, and larger and more diverse datasets. Traditional NLP applies to text data, but this system applies sentiment detection to numerical audio features. This version does not use lyric-based NLP.

Journal of Informatics and Web EngineeringVol. 1(5)
Multimedia University (MY), National University of Uzbekistan (UZ)
Quality Education
Openalex Percentile: Top 47%
Music and Audio Processing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.