Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PackEntry ¶
type PackEntry struct { // Text to be synthesized Text string // Entry name to be packed into a file EntryName string // EntryOpts defines the options for communicating with the TTS engine.if note set, use the PackTask's CommunicateOpt. EntryOpts []communicate.Option }
type PackTask ¶
type PackTask struct { // PackEntryCreator defines the function to create a writer for each entry PackEntryCreator func(string) (io.Writer, error) // PackOpts defines the options for communicating with the TTS engine PackOpts []communicate.Option // PackEntries defines the list of entries to be packed into a file PackEntries []*PackEntry // Output Output io.Writer // MetaData is the data which will be serialized into a json file,name use the key and value as the key-value pair. MetaData []map[string]any }
type SingleTask ¶
type SingleTask struct { C *communicate.Communicate // Text to be synthesized Text string // Output Output io.Writer }
Click to show internal directories.
Click to hide internal directories.