Configuring Vocalizer

To set up licensing and other configuration parameters, create and activate a Vocalizer configuration file during installation.

  • The file is an XML document that overrides the default configuration settings on the Vocalizer host.
  • By convention, the filename tts_config.xml, but you can use a different name.

To create the file, follow these general steps:

  1. Create a file named tts_config.xml in a location outside of Vocalizer’s installation path.

    The easiest way to create the file is to copy the default configuration in config\baseline.xml and delete all parameters except the ones you want to modify.

  2. Specify values for the licensing parameter. For a licensing overview, see Setting up licenses.
  3. Activate the configuration file.
    • Define the $VOCALIZER_USERCFG environment variable and set it to the file’s full path including the filename. For example:
      > setenv VOCALIZER_USERCFG "/home/jruser/tts_config.xml"
    • Specify the location of the file in the command line when starting up the Vocalizer server instance, by setting the nserver.nvs.VocalizerUserCfgFile option. For example:
      > nuance-server -servlet nvs -port 9200 
          nserver.nvs.VocalizerUserCfgFile=/home/jruser/tts_config.xml
  4. (Optional) In the future, insert additional parameters as needed (and restart Vocalizer to load the new values).