Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 528 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 528 Bytes

speak

Select any text and have it read out loud, uses google wavenet api for good quality audio.

install

  1. clone repo
  2. get dependencies
  3. change path to gcp credentials in speak.sh
  4. add keyboard shortcut

dependencies

Install google cloud sdk and enable tts api

sudo apt install xsel jq mpg123 curl

  • xsel to get selected text
  • jq to create json
  • mpg123 to play mp3 audio
  • curl to send request