Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: corrected the syntax of all tts ssml tags #221

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions twiml/voice_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ type VoiceW struct {
}

func (m VoiceW) GetName() string {
return "W"
return "w"
}

func (m VoiceW) GetText() string {
Expand Down Expand Up @@ -416,7 +416,7 @@ type VoiceSub struct {
}

func (m VoiceSub) GetName() string {
return "Sub"
return "sub"
}

func (m VoiceSub) GetText() string {
Expand Down Expand Up @@ -448,7 +448,7 @@ type VoiceSayAs struct {
}

func (m VoiceSayAs) GetName() string {
return "SayAs"
return "say-as"
}

func (m VoiceSayAs) GetText() string {
Expand Down Expand Up @@ -483,7 +483,7 @@ type VoiceProsody struct {
}

func (m VoiceProsody) GetName() string {
return "Prosody"
return "prosody"
}

func (m VoiceProsody) GetText() string {
Expand Down Expand Up @@ -513,7 +513,7 @@ type VoiceS struct {
}

func (m VoiceS) GetName() string {
return "S"
return "s"
}

func (m VoiceS) GetText() string {
Expand Down Expand Up @@ -542,7 +542,7 @@ type VoicePhoneme struct {
}

func (m VoicePhoneme) GetName() string {
return "Phoneme"
return "phoneme"
}

func (m VoicePhoneme) GetText() string {
Expand Down Expand Up @@ -573,7 +573,7 @@ type VoiceLang struct {
}

func (m VoiceLang) GetName() string {
return "Lang"
return "lang"
}

func (m VoiceLang) GetText() string {
Expand Down Expand Up @@ -601,7 +601,7 @@ type VoiceP struct {
}

func (m VoiceP) GetName() string {
return "P"
return "p"
}

func (m VoiceP) GetText() string {
Expand All @@ -628,7 +628,7 @@ type VoiceEmphasis struct {
}

func (m VoiceEmphasis) GetName() string {
return "Emphasis"
return "emphasis"
}

func (m VoiceEmphasis) GetText() string {
Expand Down Expand Up @@ -658,7 +658,7 @@ type VoiceBreak struct {
}

func (m VoiceBreak) GetName() string {
return "Break"
return "break"
}

func (m VoiceBreak) GetText() string {
Expand Down