You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A simple wrapper over the Piper text-to-speech system.
Introduction
Vim Piper is a Vim plugin that integrates the Piper text-to-speech system into Vim. It allows you to easily convert text within Vim to speech using Piper.
If you don't care about natural sounding tts, you can use vim-espeak.
Dependency
This plugin depends on the following:
piper-tts
a piper voice
aplay command from alsa-utils package (probably already installed)
Vim or Neovim
Getting piper
On Arch Linux, do the following:
yay -S piper-tts-bin piper-voices-en-us # or your language of choice
You may also find piper and it's voices in the repositories of other distros, if not, simply grab the pre-compiled binaries of piper from here, and manually download your desired voices from here. Once the download is finished, you can refer to the Configuration section of this README to find out out to setup vim-piper.
Installation
Using vim-plug
Add the following to your ~/.vimrc or ~/.config/nvim/init.vim:
Plug 'wolandark/vim-piper'
Then run :PlugInstall in Vim.
Configuration
You can configure the following variables in your ~/.vimrc.