voices

package
v0.0.0-...-9572309 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TTSType_name = map[int32]string{
		0: "TTS_TYPE_STANDARD",
		1: "TTS_TYPE_ADVANCED",
	}
	TTSType_value = map[string]int32{
		"TTS_TYPE_STANDARD": 0,
		"TTS_TYPE_ADVANCED": 1,
	}
)

Enum value maps for TTSType.

View Source
var (
	Gender_name = map[int32]string{
		0: "VOICE_GENDER_UNSPECIFIED",
		1: "VOICE_GENDER_MALE",
		2: "VOICE_GENDER_FEMALE",
		3: "VOICE_GENDER_NEUTRAL",
	}
	Gender_value = map[string]int32{
		"VOICE_GENDER_UNSPECIFIED": 0,
		"VOICE_GENDER_MALE":        1,
		"VOICE_GENDER_FEMALE":      2,
		"VOICE_GENDER_NEUTRAL":     3,
	}
)

Enum value maps for Gender.

View Source
var File_voices_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Gender

type Gender int32
const (
	Gender_VOICE_GENDER_UNSPECIFIED Gender = 0
	Gender_VOICE_GENDER_MALE        Gender = 1
	Gender_VOICE_GENDER_FEMALE      Gender = 2
	Gender_VOICE_GENDER_NEUTRAL     Gender = 3
)

func (Gender) Descriptor

func (Gender) Descriptor() protoreflect.EnumDescriptor

func (Gender) Enum

func (x Gender) Enum() *Gender

func (Gender) EnumDescriptor deprecated

func (Gender) EnumDescriptor() ([]byte, []int)

Deprecated: Use Gender.Descriptor instead.

func (Gender) Number

func (x Gender) Number() protoreflect.EnumNumber

func (Gender) String

func (x Gender) String() string

func (Gender) Type

func (Gender) Type() protoreflect.EnumType

type TTSType

type TTSType int32
const (
	TTSType_TTS_TYPE_STANDARD TTSType = 0
	TTSType_TTS_TYPE_ADVANCED TTSType = 1
)

func (TTSType) Descriptor

func (TTSType) Descriptor() protoreflect.EnumDescriptor

func (TTSType) Enum

func (x TTSType) Enum() *TTSType

func (TTSType) EnumDescriptor deprecated

func (TTSType) EnumDescriptor() ([]byte, []int)

Deprecated: Use TTSType.Descriptor instead.

func (TTSType) Number

func (x TTSType) Number() protoreflect.EnumNumber

func (TTSType) String

func (x TTSType) String() string

func (TTSType) Type

func (TTSType) Type() protoreflect.EnumType

type Voice

type Voice struct {
	Basename                string  `protobuf:"bytes,1,opt,name=basename,proto3" json:"basename,omitempty"`
	TtsType                 TTSType `protobuf:"varint,2,opt,name=ttsType,proto3,enum=ai.inworld.voices.TTSType" json:"ttsType,omitempty"`
	Gender                  Gender  `protobuf:"varint,3,opt,name=gender,proto3,enum=ai.inworld.voices.Gender" json:"gender,omitempty"`
	Pitch                   float64 `protobuf:"fixed64,4,opt,name=pitch,proto3" json:"pitch,omitempty"`
	SpeakingRate            float64 `protobuf:"fixed64,5,opt,name=speakingRate,proto3" json:"speakingRate,omitempty"`
	RoboticVoiceFilterLevel float64 `protobuf:"fixed64,6,opt,name=roboticVoiceFilterLevel,proto3" json:"roboticVoiceFilterLevel,omitempty"`
	// contains filtered or unexported fields
}

func (*Voice) Descriptor deprecated

func (*Voice) Descriptor() ([]byte, []int)

Deprecated: Use Voice.ProtoReflect.Descriptor instead.

func (*Voice) GetBasename

func (x *Voice) GetBasename() string

func (*Voice) GetGender

func (x *Voice) GetGender() Gender

func (*Voice) GetPitch

func (x *Voice) GetPitch() float64

func (*Voice) GetRoboticVoiceFilterLevel

func (x *Voice) GetRoboticVoiceFilterLevel() float64

func (*Voice) GetSpeakingRate

func (x *Voice) GetSpeakingRate() float64

func (*Voice) GetTtsType

func (x *Voice) GetTtsType() TTSType

func (*Voice) ProtoMessage

func (*Voice) ProtoMessage()

func (*Voice) ProtoReflect

func (x *Voice) ProtoReflect() protoreflect.Message

func (*Voice) Reset

func (x *Voice) Reset()

func (*Voice) String

func (x *Voice) String() string

Jump to

Keyboard shortcuts

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