-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
37 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
package api | ||
|
||
//Input is synthesizer input data | ||
// Input is synthesizer input data | ||
type Input struct { | ||
Text string `json:"text,omitempty"` | ||
Speed float32 `json:"speedAlpha,omitempty"` | ||
Voice string `json:"voice,omitempty"` | ||
Priority int `json:"priority,omitempty"` | ||
Text string `json:"text,omitempty"` | ||
Speed float32 `json:"speedAlpha,omitempty"` | ||
Voice string `json:"voice,omitempty"` | ||
Priority int `json:"priority,omitempty"` | ||
} | ||
|
||
//Result is synthesis result | ||
// Result is synthesis result | ||
type Result struct { | ||
Data string `json:"data,omitempty"` | ||
Data string `json:"data,omitempty"` | ||
Durations []int `json:"durations,omitempty"` | ||
SilDuration int `json:"silDuration,omitempty"` | ||
Error string `json:"error,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters