Emotion
  • 19 Jul 2024
  • 1 Minute to read
  • Contributors
  • PDF

Emotion

  • PDF

Article summary

Evaluates the emotional state in the input voice.

Parameters:

name
description
default
AddressAddress of the emotion servicehttp://core-audio-emotion
IgnoreSslErrorsignore any certificate errors if emotion address contains httpsfalse

Inputs

Audio:
Accepts audio from a single channel.

Events:
none

Outputs

Audio:
none

Events:

namedescription
EmotionIncludes information about the emotional state in the voice (such as normal or angry) and the level of monotony in the speaker's tone.

Remarks :

  • This node evaluates the speech in segments of 3 seconds. Silent periods are not included in this duration.

Project Structure
The Emotion Node only needs audio input. The audio doesn't have to be segmented. So, you can place the Emotion node wherever the desired audio is flowing through. A simple project can be built as such:

image.png

However, a better approach would be:

image.png

Why this approach is better?

In the second example, the only difference is that we pass the audio through a VAD node. This means the audio is filtered. The only audio info that passes through a VAD is speech info. This approach will result in better confidence levels in Emotion identification since random silences are cleared.

Supported flow types: Stream, Batch


Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.