# SetSpeakerThreshold

Manually sets the threshold that is necessary to distinguish between a specified speaker and an unknown speaker. You can use this action to optimize the threshold for a speaker, to reduce the number of false positives or missed results.

New speaker thresholds do not take effect until Media Server has synchronized with the training database. This happens automatically at regular intervals, and when you start the `process` action. If you have disabled automatic synchronization, run the action SyncSpeakers.

Type: synchronous

Parameter | Description | Required
--- | --- | ---
`database` | The name of the database that contains the speaker. | Yes
`identifier` | The identifier of the speaker to set the threshold for. | Yes
`threshold` | The threshold to use. A higher threshold can result in fewer false positives. A lower threshold can result in fewer missed results (better recall). | Yes

## Example

    /action=SetSpeakerThreshold&database=news&identifier=newsreader&threshold=32

## Response

    <autnresponse>
      <action>SETSPEAKERTHRESHOLD</action>
      <response>SUCCESS</response>
      <responsedata></responsedata>
    </autnresponse>

## See Also

To automatically calculate thresholds for your speakers, use the action EstimateAllSpeakerThresholds.

NOTE: Using the action EstimateAllSpeakerThresholds or EstimateSpeakerThreshold will overwrite any threshold that you have set manually.

_FT_HTML5_bannerTitle.htm