api

package
v0.7.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Input

type Input struct {
	Text     string  `json:"text,omitempty"`
	Speed    float32 `json:"speedAlpha,omitempty"`
	Voice    string  `json:"voice,omitempty"`
	Priority int     `json:"priority,omitempty"`
}

Input is synthesizer input data

type Params added in v0.2.387

type Params struct {
	Text     string
	Speed    float32
	Voice    string
	Priority int
}

Params synthesis configuration params

type Result

type Result struct {
	Data        string `json:"data,omitempty"`
	Durations   []int  `json:"durations,omitempty"`
	SilDuration int    `json:"silDuration,omitempty"`
	Step        int    `json:"step,omitempty"`
	Error       string `json:"error,omitempty"`
}

Result is synthesis result

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL