W01fw00d / text-to-voice

Transform text doc to voice audio file
GNU General Public License v3.0
0 stars 0 forks source link
filesystem node-js voice

Transform text doc to voice audio file

| About:

Blog post about this project

Audio version

| Main dependencies:

| Setup:

npm install

| How to use:

A) bookCode: The name of the folder for your chosen input file, as well as the desired location for the output file. It's part of the input and output file name too

B) chapterCode: Part of the input and output file name

C) lang: Desired language for the voices. Supports Spanish (es) and English (en). Defaults to es

D) shallAddChapterNumber: Set it to any value for adding a voice line at the beginning mentioning the chapter number. Leave empty for not.

node index.js {bookcode} {chapterCode} {?lang} {?shallAddChapterNumber}

| Command executed on ffmpeg:

The task executes:

ffmpeg -i src/input/test1/songs/opening.mp3 -i src/output/test1/test1_cap1_0_0.mp3 -i src/input/test1/songs/closure.mp3
-y -filter_complex concat=n=73:v=0:a=1 src/output/test1/test1_cap1.mp3

| Attribution: