voice

package
v0.0.0-...-20b1764 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(router chi.Router)

Types

type GetVoiceResponse

type GetVoiceResponse VoiceProperty

type GetVoicesResponse

type GetVoicesResponse struct {
	Voices []VoiceProperty `json:"voices"`
}

type PutVoiceRequest

type PutVoiceRequest struct {
	SpeakingRate float64 `json:"speakingRate"`
	Pitch        float64 `json:"pitch"`
	Volume       float64 `json:"volume"`
}

type VoiceProperty

type VoiceProperty struct {
	Id             int32   `json:"id"`
	Language       string  `json:"language"`
	DisplayName    string  `json:"displayName"`
	SpeakingRate   float64 `json:"speakingRate"`
	Pitch          float64 `json:"pitch"`
	Volume         float64 `json:"volume"`
	IsDefaultVoice bool    `json:"isDefaultVoice"`
}

Jump to

Keyboard shortcuts

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