Skip to content

Piper Tray is a lightweight system tray utility written in C# for use with Piper TTS and SoX.

Notifications You must be signed in to change notification settings

jame25/Piper-Tray

Repository files navigation

Piper Tray is a small system tray utility for Windows, that utilizes Piper and SoX. It will read aloud the contents of your clipboard. You can stop the speech at any time either by using the 'Stop Speech' option, or via the hotkey (Alt + Q).

If you would prefer a GUI, check out my other project: Piper Read.

Features:

  • Reads clipboard contents aloud
  • Enable / Disable clipboard monitoring
  • Many voices to choose from
  • Change Piper TTS voice model
  • Control Piper TTS speech rate
  • Hotkey support (ALT + Q) to stop speech
  • Prevent keywords being read (ignore.dict)
  • Replace keywords with alternatives (replace.dict)

Prerequisites:

.Net 8.0 Desktop Runtime is required to be installed.

Install:

  • Download the latest version of Piper Tray from releases.
  • Grab the latest Windows binary for Piper from here. Voice models are available here.
  • Download the latest version of SoX from here.
  • Extract all of the above into the same directory.

Configuration:

Piper Tray should support all available Piper voice models, by default en_US-libritts_r-medium.onnx and .json are expected to be present in directory.

Settings:

You can change the voice model being utilized by Piper Tray by editing the first line of the settings.conf.

Speech rate can be altered using the 'speed' variable (1.0 is the default speed, lower value i.e 0.5 = faster).

Support:

If you find this project helpful and would like to support its development, you can buy me a coffee on Ko-Fi:

ko-fi

About

Piper Tray is a lightweight system tray utility written in C# for use with Piper TTS and SoX.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages