Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QuickPiperAudiobook ¶
func QuickPiperAudiobook(config AudiobookArgs) (string, error)
Run the core audiobook creation process. Does not include any CLI parsing. Returns the filepath of the created audiobook.
Types ¶
type AudiobookArgs ¶
type AudiobookArgs struct {
// the file to convert
FileName string
// the piper model to use for speech synthesis
Model string
// the directory to save the output file
OutputDirectory string
// whether to speak utf-8 characters, also known as diacritics
SpeakUTF8 bool
// whether to output the audiobook as an mp3 file. if false, use wav
OutputAsMp3 bool
// whether to output the audiobook as an mp3 file with chapters
Chapters bool
// the number of threads to use when doing concurrent conversions
Threads int
}
All the args you can pass to QuickPiperAudiobook These are condensed into a struct for easier testing
Click to show internal directories.
Click to hide internal directories.