Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PackEntry ¶ added in v0.1.3
type PackEntry struct { // Text to be synthesized Text string // Entry name to be packed into a file EntryName string // EntryCommunicateOpt defines the options for communicating with the TTS engine.if note set, use the PackTask's CommunicateOpt. EntryCommunicateOpt *communicateOption.CommunicateOption }
type PackTask ¶ added in v0.1.3
type PackTask struct { // PackEntryCreator defines the function to create a writer for each entry PackEntryCreator func(string) (io.Writer, error) // CommunicateOpt defines the options for communicating with the TTS engine CommunicateOpt *communicateOption.CommunicateOption // 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 ¶ added in v0.1.3
type SingleTask struct { // Text to be synthesized Text string // Communicate Communicate *communicate.Communicate // Output Output io.Writer }
Click to show internal directories.
Click to hide internal directories.