Tell Me About Your Day
-Voice recognition mood reader
This project is to create user interaction based on the user's moods. Based on ml5.js sentiment trained to predict the feeling of any given text, the answers followed after the questions will generate the average mood of the day. By using voice recognition, the answers are input with voice and output with text. The sentiment score will create a visual presentation, as well as the music choice in the result.
Process
p5.js + machine learning model (ml5.js)
Loading sources from p5.speech.js and ml5.js from the library.
This is a JavaScript code that initializes several variables, loads audio files and a font, and sets up the interface of a sentiment analysis application.
The code defines functions that are used to manage a series of questions that involves the user’s answer using speech recognition. The code also includes functions for displaying the questions, managing the speech recognition process, and providing feedback to the user based on their responses.
This code is designed to create an interactive experience that engages the user and provides insights into their emotional state.
End Results
Link to find the final project