---
title: Enable Text-to-Speech for Vetcode Restraints
slug: help/en-us/pocketcowcard/enable-text-to-speech-for-vetcode-restraints
docTags: 
createdAt: 2026-02-09T13:22:07.089Z
---

<font color="#67854E">**Question**</font>: How do I enable text-to-speech for vetcode restraints in PCC?

<font color="#67854E">**Answer**</font>: In PCC, you can now enable a text-to-speech (TTS) feature to hear the number of days for some vetcode constraints. For example, you can set up a vetcode (PREG) and enter its primary time constraint (Days Since Last Heat) in DairyComp. Then, in PCC, you can tap on an animal with a PREG vetcode to hear the number of days that have passed since its last heat. Enable this feature in your PCC settings in DairyComp, then use the feature in PCC:

:::hint{type="info"}
**NOTE:&#x20;**&#x54;his feature works best with time constraints that are measured in days. When you enable this feature, PCC will say the primary time constraint value, then "days." PCC will say "days" in the supported language you have selected.
:::

1. In DairyComp, enter `ALTER\5S` to open the **VetList Options** window.
2. Open the vet code you want to edit.
3. In the vet code's **Vet List Parameters** window, check the **Play Speech** box and enter the primary time constraint in the **Cnst 1** field to indicate when the system should play the sound. For example, you can enter `DSLH>33` so PCC plays a sound to let you know how many days have passed since an animal's last heat.

::Image[]{src="https://dc-help.vas.com/Resources/Images/whats-new/pcc-oct23-tts-dc305.png" size="26" width="961" height="550" position="flex-start" showCaption="false" indent="1"}

4. Save your changes. In the **VetList Options** window, the system displays a **Y** in the Play Speech column to indicate that the system will play a TTS sound for the vetcode.
5. In PCC, go to the **Administration** > **Settings** tab and check the **Use "Text to Speech DAYS" sounds with VET CODES** box to enable TTS.

::Image[]{src="https://dc-help.vas.com/Resources/Images/whats-new/pcc-oct23-tts-pcc.png" size="22" width="758" height="675" position="flex-start" showCaption="false" indent="1"}

***

