Submitted:
02 October 2025
Posted:
05 November 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
- Examine the role of color and music in mental health.
- Discuss how AI can utilize this role for therapeutic purposes.
- Review the role of the polygraph and fMRI in the AI field.
- Evaluate the effectiveness of the chosen approach and its future impact on psychiatry and society in general.
2. Related Works
3. Materials and Methods

4. Results

- let pulseResult1 = (pulse1 - pulse2);
- let pulseResult2 = (pulse2 - pulse3);
- let pulseResult3 = (pulse3 - pulse1);
- if (pulseResult1 < 0) { pulseResult1 *= -1; };
- if (pulseResult2 < 0) { pulseResult2 *= -1; };
- if (pulseResult3 < 0) { pulseResult3 *= -1; };
- const colorNotePair = {
- grey: "G, bass clef",
- black: "D, bass clef",
- brown: "B, bass clef",
- blue: "F, bass clef",
- green: "G, treble clef",
- orange: "B, treble clef",
- yellow: "F, treble clef",
- violet: "E, treble clef"
- };
- function specifyMusicNote(pulseResult) {
- if(pulseResult == 0 || pulseResult == 1) return colorNotePair.grey;
- else if(pulseResult < 1) return colorNotePair.black;
- else if(pulseResult < 3 && pulseResult > 2) return colorNotePair.brown;
- else if(pulseResult <= 2 && pulseResult > 1) return colorNotePair.blue;
- else if(pulseResult < 7 && pulseResult >= 5) return colorNotePair.green;
- else if(pulseResult < 10 && pulseResult >= 7) return colorNotePair.yellow;
- else if(pulseResult < 5 && pulseResult >= 3) return colorNotePair.violet;
- else return colorNotePair.orange;
- }
- """## Importing the libraries"""
- import numpy as np
- import matplotlib.pyplot as plt
- import pandas as pd
- """## Importing the dataset"""
- dataset = pd.read_csv('dataset.csv')
- X = dataset.iloc[:, :-1].values
- y = dataset.iloc[:, -1].values
- """## Splitting the dataset into the Training set and Test set"""
- from sklearn.model_selection import train_test_split
- X_train, X_test, y_train, y_test = train_test_split(X, y, test_size = 0.25, random_state = 0)
- """## Feature Scaling"""
- from sklearn.preprocessing import StandardScaler
- sc = StandardScaler()
- X_train = sc.fit_transform(X_train)
- X_test = sc.transform(X_test)
- """## Training the K-NN model on the Training set"""
- from sklearn.neighbors import KNeighborsClassifier
- classifier = KNeighborsClassifier(n_neighbors=5, metric='minkowski', p=2)
- classifier.fit(X_train, y_train)
- """## Predicting the Test set results"""
- y_pred = classifier.predict(X_test)
- print(np.concatenate((y_pred.reshape(len(y_pred),1), y_test.reshape(len(y_test),1)),1))
- """## Making the Confusion Matrix"""
- from sklearn.metrics import confusion_matrix, accuracy_score
- cm = confusion matrix(y_test, y_pred)
- accuracy_score(y_test, y_pred)
5. Discussion

6. Limitations and Future Research
7. Conclusion
Funding
Conflicts of Interest
References
- Lüscher, M. and Scott, I.A. (1969) The Lüscher Color Test. New York: Pocket Books.
- Lüscher, M. (1981) Personality Signs. New York: Warner Books.
- Schäfer T., Sedlmeier P., Städtler C. and Huron D. (2013) 'The psychological functions of music listening,' Frontiers in Psychology, 4. [CrossRef]
- Liljeström, S., Juslin, P.N. and Västfjäll, D. (2012) 'Experimental evidence of the roles of music choice, social context, and listener personality in emotional reactions to music,' Psychology of Music, 41(5), pp. 579–599. [CrossRef]
- Schäfer, T. and Sedlmeier, P. (2010) 'What makes us like music? Determinants of music preference.,' Psychology of Aesthetics Creativity and the Arts, 4(4), pp. 223–234. [CrossRef]
- Kendra Cherry, MSEd (2024) Music preferences and your personality, Verywell Mind. Available at: https://www.verywellmind.com/music-and-personality-2795424.
- The Truth About Lie Detectors (aka Polygraph Tests) (2004) American Psychological Association. Available at: https://www.apa.org/topics/cognitive-neuroscience/polygraph.
- Kozel, F.A., Padgett, T.M. and George, M.S. (2004) 'A replication study of the neural correlates of deception.,' Behavioral Neuroscience, 118(4), pp. 852–856. [CrossRef]
- Amen, D.G., MD (2009) The brain in love: 12 Lessons to Enhance Your Love Life. New York: Three Rivers Press.
- Klar, H. (1961) The Lüscher Colour Test – a highly reliable procedure in the psychodiagnostics of functional disorders. Medico (Boehringer Mannheim).
- The MathWorks (no date). What Is a Machine Learning Model? Available at: https://www.mathworks.com/discovery/machine-learning-models.html.
- Scikit-learn: machine learning in Python (no date). Available at: https://scikit-learn.org/stable/.
- Esposito, C.M., Mancini, M., Estradé, A., Rosfort, R., Fusar-Poli, P. and Stanghellini, G. (2024) 'How do depressed people feel perceived by others? A qualitative study from the patient’s perspective,' Journal of Affective Disorders Reports, 16, p. 100776. [CrossRef]
- Farreras, I. (2013). History of mental illness. Available at: https://www.researchgate.net/publication/270703724_History_of_mental_illness.
- Lowe, C. and Cohen, B.M. (2010) Living with someone who’s living with bipolar disorder: A Practical Guide for Family, Friends, and Coworkers. John Wiley & Sons.
- Ting-Toomey, S. and Dorjee, T. (2018) Communicating Across Cultures, second edition. Guilford Publications.
- Source code: https://github.com/Teresa-Konsta/emotions-music-nextjs.
| Pulse difference range | Color | Corresponding music note | Estimated mood |
|---|---|---|---|
| 0 and 1 | grey | G, bass clef | indifference |
| 0-1 | black | D, bass clef | negation |
| 1-2 | blue | F, bass clef | calmness |
| 2-3 | brown | B, bass clef | physical sensations |
| 5-7 | green | G, treble clef | self-affirmation |
| 7-10 | yellow | F, treble clef | stimulation |
| 3-5 | violet | E, treble clef | oneness |
| else | orange | B, treble clef | vital force |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).