-
Notifications
You must be signed in to change notification settings - Fork 0
/
role.go
19 lines (16 loc) · 892 Bytes
/
role.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package azuretts
// https://learn.microsoft.com/en-us/azure/ai-services/speech-service/speech-synthesis-markup-voice
type Role string
const (
RoleGirl Role = "Girl" // The voice imitates a girl.
RoleBoy Role = "Boy" // The voice imitates a boy.
RoleYoungAdultFemale Role = "YoungAdultFemale" // The voice imitates a young adult female.
RoleYoungAdultMale Role = "YoungAdultMale" // The voice imitates a young adult male.
RoleOlderAdultFemale Role = "OlderAdultFemale" // The voice imitates an older adult female.
RoleOlderAdultMale Role = "OlderAdultMale" // The voice imitates an older adult male.
RoleSeniorFemale Role = "SeniorFemale" // The voice imitates a senior female.
RoleSeniorMale Role = "SeniorMale" // The voice imitates a senior male.
)
func (r Role) String() string {
return string(r)
}