Merge pull request #3682 from eoinoreilly30/patch-1
Add new voice options 'marin' and 'cedar'
This commit is contained in:
1
changelog/3682.added.md
Normal file
1
changelog/3682.added.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
- Added new OpenAI TTS voice options `marin` and `cedar`.
|
||||||
@@ -28,18 +28,32 @@ from pipecat.services.tts_service import TTSService
|
|||||||
from pipecat.utils.tracing.service_decorators import traced_tts
|
from pipecat.utils.tracing.service_decorators import traced_tts
|
||||||
|
|
||||||
ValidVoice = Literal[
|
ValidVoice = Literal[
|
||||||
"alloy", "ash", "ballad", "coral", "echo", "fable", "onyx", "nova", "sage", "shimmer", "verse"
|
"alloy",
|
||||||
|
"ash",
|
||||||
|
"ballad",
|
||||||
|
"cedar",
|
||||||
|
"coral",
|
||||||
|
"echo",
|
||||||
|
"fable",
|
||||||
|
"marin",
|
||||||
|
"nova",
|
||||||
|
"onyx",
|
||||||
|
"sage",
|
||||||
|
"shimmer",
|
||||||
|
"verse",
|
||||||
]
|
]
|
||||||
|
|
||||||
VALID_VOICES: Dict[str, ValidVoice] = {
|
VALID_VOICES: Dict[str, ValidVoice] = {
|
||||||
"alloy": "alloy",
|
"alloy": "alloy",
|
||||||
"ash": "ash",
|
"ash": "ash",
|
||||||
"ballad": "ballad",
|
"ballad": "ballad",
|
||||||
|
"cedar": "cedar",
|
||||||
"coral": "coral",
|
"coral": "coral",
|
||||||
"echo": "echo",
|
"echo": "echo",
|
||||||
"fable": "fable",
|
"fable": "fable",
|
||||||
"onyx": "onyx",
|
"marin": "marin",
|
||||||
"nova": "nova",
|
"nova": "nova",
|
||||||
|
"onyx": "onyx",
|
||||||
"sage": "sage",
|
"sage": "sage",
|
||||||
"shimmer": "shimmer",
|
"shimmer": "shimmer",
|
||||||
"verse": "verse",
|
"verse": "verse",
|
||||||
|
|||||||
Reference in New Issue
Block a user