Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Pyup/DeepSentiment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

98 Commits

Repository files navigation

DeepSentiment

Speech Emotion Recognition using Fast Fourier Transform and Support Vector Machine

This module aims at extracting emotion components within human speech like Pitch and Loudness and use them to identify the emotion state of the speaker. Support Vector Machines are used to segregate the features into various emotion states like Anger, Sadness, Fear, Happy and Neutral. Some of these emotion states are interleaved, reducing the precision with which we can decipher the emotion state, hence we have also incorporated text based sentiment recognition to improve precision of prediction. We have used Pyspark (Apache Spark) library to develop the model for this purpose.

Prerequisites

1.) The following are the prerequsite python modules that needs to be installed to execute the Standalone component:

sudo pip install numpy 
sudo pip install scipy
sudo pip install pandas
sudo pip install SpeechRecognition
sudo pip install -U scikit-learn

Note: There may be other prerequiste library files that needs to installed before installing the above mentioned modules.

2.) Follow the instructions mentioned in the link to install Aubio(pitch extraction library).

3.) If you want to train your own model, then install the latest version of [ Apache Spark ] (http://spark.apache.org/downloads.html)

Downloads

Clone the repository using the below mentioned command and execute the bash script.

git clone https://github.com/vyassu/DeepSentiment.git
cd DeepSentimemt
$./script.sh

Test and Run

There are two ways to run the program

1.) HTML/CSS userinterface through which you can record your voice and get the output, or upload a WAV file. For this go to webinterface folder and run DeepUI.html

2.) Execute the below mentioned command

python Controller.py <wav absolute filepath>

About

Speech Emotion Recognition using FFT and SVM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • JavaScript 90.7%
  • Python 8.8%
  • Other 0.5%

AltStyle によって変換されたページ (->オリジナル) /