Skip to content

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

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. It will read aloud the contents of your clipboard. You can stop the speech at any time via an assigned hotkey.

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
  • Presets support
  • Hotkeys support
  • 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.
  • 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 is the default speed, higher values i.e 5 = faster).

Dictionary Rules:

Keywords found in the ignore.dict file are skipped over.

If a keyword in the banned.dict file is detected, the entire line is skipped.

replace.dict functions as a replacement for a keyword or phrase, i.e LHC=Large Hadron Collider

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.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages