Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 491 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 491 Bytes

CLI tool to convert a text file to a MP3 speech file

GCP service

Set up

npm i
  1. Create a folder named credential at the root.
  2. Place the GCP service credential JSON file in the credential folder.
  3. Edit line 1 of app.js to set the path to your GCP service credential JSON file.

Usage

node app.js
  • The input.txt file is where you enter the text.
  • The output.mp3 file is the converted speech audio.