Skip to content

Commit 7ce7e62

Browse files
committed
added README.md for speech emotion recognizer
1 parent a9f0395 commit 7ce7e62

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed
+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# [How to Make a Speech Emotion Recognizer Using Python And Scikit-learn](https://www.thepythoncode.com/article/building-a-speech-emotion-recognizer-using-sklearn)
2+
To run this, you need to:
3+
- `pip3 install -r requirements.txt`
4+
5+
It is already trained, you can use `test.py` to test your voice.
6+
7+
You can:
8+
- Tweak the model parameters ( or the whole model ) in `ser.py`.
9+
- Add more data to `data` folder in condition that the audio samples are converted to 16000Hz sample rate and mono channel, `convert_wavs.py` does that.
10+
- Editing the emotions specified in `utils.py` in `AVAILABLE_EMOTIONS` constant.
11+
12+
When you modified anything, you can run `ser.py` to retrain the model.
13+
14+
If you want to only use this efficiently, definitely check [Emotion Recognition using Speech](https://github.com/x4nth055/emotion-recognition-using-speech) repository which ease this process a lot.

Diff for: machine-learning/speech-emotion-recognition/convert_wavs.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
"""
42
A utility script used for converting audio samples to be
53
suitable for feature extraction

0 commit comments

Comments
 (0)