{
  "$schema": "https://mpai.community/standards/resources/MPAI-AIF/V2.0/AIW-AIM-metadata.schema.json",
  "$CanonicalURI": "https://schemas.mpai.community/CAE1/V2.4/AIWs/EmotionEnhancedSpeech.json",
  "title": "Emotion Enhanced Speech V2.4",
  "Identifier": { "ImplementerID": "/* String assigned by IIDRA */",
                  "Specification": { "Standard": "MPAI-CAE", "AIW": "CAE-EES", "AIM": "", "Version": "V2.4" } },
  "Description": "This AIW implements Emotion Enhanced Speech of MPAI-CAE",
  "Types": [
    { "Name": "Selector_t",     "Type": "uint8[]" },
    { "Name": "SpeechObject_t", "Type": "uint8[]" },
    { "Name": "Emotion_t",      "Type": "uint8[]" },
    { "Name": "TextObject_t",   "Type": "uint8[]" } ],
  "Ports": [
    { "Name":       "ModeSelector1",      "Direction":  "InputOutput", "RecordType": "Selector_t",
      "Technology": "Software",           "Protocol":   "",            "IsRemote": false },
    { "Name":       "ModelUtterance",     "Direction":  "InputOutput", "RecordType": "SpeechObject_t",
      "Technology": "Software",           "Protocol":   "",            "IsRemote": false },
    { "Name":       "EmotionList1",       "Direction":  "InputOutput", "RecordType": "Emotion_t",
      "Technology": "Software",           "Protocol":   "",            "IsRemote": false },
    { "Name":       "EmotionlessSpeech1", "Direction":  "InputOutput", "RecordType": "SpeechObject_t",
      "Technology": "Software",           "Protocol":   "",            "IsRemote": false },
    { "Name":       "EmotionlessSpeech2", "Direction":  "InputOutput", "RecordType": "SpeechObject_t",
      "Technology": "Software",           "Protocol":   "",            "IsRemote": false },
    { "Name":       "EmotionlessSpeech3", "Direction":  "InputOutput", "RecordType": "SpeechObject_t",
      "Technology": "Software",           "Protocol":   "",            "IsRemote": false },
    { "Name":       "ModeSelector2",      "Direction":  "InputOutput", "RecordType": "Selector_t",
      "Technology": "Software",           "Protocol":   "",            "IsRemote": false },
    { "Name":       "EmotionList2",       "Direction":  "InputOutput", "RecordType": "Emotion_t",
      "Technology": "Software",           "Protocol":   "",            "IsRemote": false },
    { "Name":       "LanguageSelector",   "Direction":  "InputOutput", "RecordType": "Selector_t",
      "Technology": "Software",           "Protocol":   "",            "IsRemote": false },
    { "Name":       "SpeechWithEmotion",  "Direction":  "OutputInput", "RecordType": "SpeechObject_t",
      "Technology": "Software",           "Protocol":   "",            "IsRemote": false } ],
  "SubAIMs": [
    { "Name": "SpeechFeatureAnalysis1",   "Identifier": { "ImplementerID": "/* String assigned by IIDRA */", "Specification": {
                                          "Standard": "MPAI-CAE", "AIW": "", "AIM": "SpeechFeatureAnalysis1", "Version": "V2.4" } } },
    { "Name": "SpeechFeatureAnalysis2",   "Identifier": { "ImplementerID": "/* String assigned by IIDRA */", "Specification": {
                                          "Standard": "MPAI-CAE", "AIW": "", "AIM": "SpeechFeatureAnalysis2", "Version": "V2.4" } } },
    { "Name": "EmotionFeatureProduction", "Identifier": { "ImplementerID": "/* String assigned by IIDRA */", "Specification": {
                                          "Standard": "MPAI-CAE", "AIW": "", "AIM": "EmotionFeatureProduction", "Version": "V2.4" } } },
    { "Name": "ProsodicEmotionInsertion", "Identifier": { "ImplementerID": "/* String assigned by IIDRA */", "Specification": {
                                          "Standard": "MPAI-CAE", "AIW": "", "AIM": "ProsodicEmotionInsertion", "Version": "V2.4" } } },
    { "Name": "NeuralEmotionInsertion",   "Identifier": { "ImplementerID": "/* String assigned by IIDRA */", "Specification": {
                                          "Standard": "MPAI-CAE", "AIW": "", "AIM": "NeuralEmotionInsertion", "Version": "V2.4" } } } ],
  "Topology": [
    { "Output": { "AIMName": "",                              "PortName": "ModeSelector1" },
      "Input": {  "AIMName": "SpeechFeatureAnalysis1",        "PortName": "ModeSelector1" } },
    { "Output": { "AIMName": "",                              "PortName": "ModelUtterance" },
      "Input": {  "AIMName": "SpeechFeatureAnalysis1",        "PortName": "ModelUtterance" } },
    { "Output": { "AIMName": "",                              "PortName": "EmotionlessSpeech1" },
      "Input": {  "AIMName": "SpeechFeatureAnalysis2",        "PortName": "EmotionlessSpeech1" } },
    { "Output": { "AIMName": "",                              "PortName": "ModeSelector2" },
      "Input": {  "AIMName": "SpeechFeatureAnalysis2",        "PortName": "ModeSelector2" } },
    { "Output": { "AIMName": "SpeechFeatureAnalysis2",        "PortName": "EmotionlessSpeechFeatures" },
      "Input": {  "AIMName": "EmotionFeatureProduction",      "PortName": "EmotionlessSpeechFeatures" } },
    { "Output": { "AIMName": "",                              "PortName": "EmotionList1" },
      "Input": {  "AIMName": "EmotionFeatureProduction",      "PortName": "EmotionList1" } },
    { "Output": { "AIMName": "",                              "PortName": "LanguageSelector" },
      "Input": {  "AIMName": "EmotionFeatureProduction",      "PortName": "LanguageSelector" } },
    { "Output": { "AIMName": "SpeechFeatureAnalysis1",        "PortName": "ProsodicSpeechFeatures" },
      "Input": {  "AIMName": "ProsodicEmotionInsertion",      "PortName": "ProsodicSpeechFeatures" } },
    { "Output": { "AIMName": "",                              "PortName": "EmotionList2" },
      "Input": {  "AIMName": "ProsodicEmotionInsertion",      "PortName": "EmotionList2" } },
    { "Output": { "AIMName": "",                              "PortName": "EmotionlessSpeech2" },
      "Input": {  "AIMName": "ProsodicEmotionInsertion",      "PortName": "EmotionlessSpeech2" } },
    { "Output": { "AIMName": "",                              "PortName": "EmotionlessSpeech3" },
      "Input": {  "AIMName": "NeuralEmotionInsertion",        "PortName": "EmotionlessSpeech3" } },
    { "Output": { "AIMName": "EmotionFeatureProduction",      "PortName": "NeuralSpeechFeatures" },
      "Input": {  "AIMName": "NeuralNeuralEmotionInsertion",  "PortName": "NeuralSpeechFeatures" } },
    { "Output": { "AIMName": "ProsodicEmotionInsertion",      "PortName": "SpeechWithEmotion1" },
      "Input": {  "AIMName": "",                              "PortName": "SpeechWithEmotion1" } },
    { "Output": { "AIMName": "",                              "PortName": "SpeechWithEmotion2" },
      "Input": {  "AIMName": "NeuralEmotionInsertion",        "PortName": "SpeechWithEmotion2" } } ],
  "Implementations": [],
  "Documentation": [ { "Type": "Tutorial", "URI": "https://mpai.community/standards/mpai-cae/" } ]
}
