InitialObjectDescriptor {
 objectDescriptorID 1
 audioProfileLevelIndication 255
 visualProfileLevelIndication 254
 sceneProfileLevelIndication 1
 graphicsProfileLevelIndication 1
 ODProfileLevelIndication 1
 esDescr [
  ES_Descriptor {
   ES_ID 1
   decConfigDescr DecoderConfigDescriptor {
    streamType 3
    decSpecificInfo BIFSConfig {
     isCommandStream true
     pixelMetric true
     pixelWidth 400
     pixelHeight 300
    }
   }
  }
  ES_Descriptor {
   ES_ID 2
   decConfigDescr DecoderConfigDescriptor {
    streamType 1
   }
  }
 ]
}

OrderedGroup {
 children [
  Background2D {
   backColor 1 1 1
  }
  WorldInfo {
   info ["This shows usage of String Sensor" "" "GPAC Regression Tests" "$Date: 2007-07-27 09:46:07 $ - $Revision: 1.2 $" "(C) 2002 ENST"]
   title "InputSensor Test - StringSensor device"
  }
  Transform2D {
   translation 0 90
   children [
    Shape {
     appearance DEF APP Appearance {
      material Material2D {
       emissiveColor 0 0 0
       filled TRUE
      }
     }
     geometry Text {
      string ["HTKSensor"]
      fontStyle FontStyle {
       justify ["MIDDLE" "MIDDLE"]
       size 30
      }
     }
    }
   ]
  }
  Transform2D {
   translation -50 20
   children [
    Shape {
     appearance USE APP
     geometry Text {
      string ["spoken Text"]
      fontStyle DEF FS FontStyle {
       justify ["MIDDLE" "MIDDLE"]
       size 20
      }
     }
    }
   ]
  }
  Transform2D {
   translation 90 20
   children [
    Shape {
     appearance USE APP
     geometry DEF T2 Text {
      string [""]
      fontStyle USE FS
     }
    }
   ]
  }
  Transform2D {
   translation -50 -20
   children [
    Shape {
     appearance USE APP
     geometry Text {
      string ["text index in dict"]
      fontStyle USE FS
     }
    }
   ]
  }
  Transform2D {
   translation 90 -20
   children [
    Shape {
     appearance USE APP
     geometry DEF T3 Text {
      string [""]
      fontStyle USE FS
     }
    }
   ]
  }
  Transform2D {
   translation -50 -50
   children [
    Shape {
     appearance USE APP
     geometry Text {
      string ["Recogn Score"]
      fontStyle USE FS
     }
    }
   ]
  }
  Transform2D {
   translation 90 -50
   children [
    Shape {
     appearance USE APP
     geometry DEF T4 Text {
      string [""]
      fontStyle USE FS
     }
    }
   ]
  }
  DEF VN3 Valuator {
   Factor2 0
   Factor3 0
  }
  DEF VN4 Valuator {
   Factor2 0
   Factor3 0
  }
  InputSensor {
   url [od:10]
   buffer {
    REPLACE T2.string[0] BY ""
    REPLACE VN3.inSFInt32 BY 0
    REPLACE VN4.inSFFloat BY 0
   }
  }
 ]
}

ROUTE VN3.outMFString TO T3.string
ROUTE VN4.outMFString TO T4.string

AT 0 {
  UPDATE OD [
   ObjectDescriptor {
    objectDescriptorID 10
    esDescr [
     ES_Descriptor {
      ES_ID 5
      decConfigDescr DecoderConfigDescriptor {
       streamType 10
       decSpecificInfo UIConfig {
        deviceName "HTKSensor"
        uiData "HTK:BLEU vcl bb ll eu sp;ROUGE rr ou jj sp;VERT vv ai rr sp"
       }
      }
     }
    ]
   }
  ]
}

