Replies: 1 comment 5 replies
-
In the readme, it says:
and also that there's an optional parameter: output_file - string So you need to format your data in a json file like so:
and run piper with the parameters: cat yourfile.jso | ./piper --model /home/user/en_GB-southern_english_female-low.onnx --json-input If you have LibreOffice Calc, you can import your csv in a first sheet, (You can do the same in Excel, but I don't use it, so I explained with the one I know) Or write a script to reformat the csv. |
Beta Was this translation helpful? Give feedback.
-
I use piper installed with pipx. I have a spreadsheet with two columns, first column is a sentence number, second column contains sentences. Like this:
01 This is sentence one.
02 This is sentence two.
For each sentence I want to produce separate audio file.
Can you help me and tell me how to use piper to produce audio output files that as a name have number of the sentence, so that I know which file contains which sentence?
It may be exported as csv.
I know I need to use:
Do I need to have a separate file for each single sentence and loop this command or can I have all sentences in one file?
If loop is needed how can I do it?
Do I need some breaks like a second or so, between each query to not overload piper?
Beta Was this translation helpful? Give feedback.
All reactions