I haven’t got this right yet, but here was my starting prompty
We are going to add more voices to my swift ios voice ai app.
We need to add 2 new providers. They will have several voices.
The existing provider is openai.
Each provider has a different way of changing the speed.
So we will need an elegant switch case for each provider, the voices they offer and the way they allow voice speed to be set.
This needs to be updated in the code at the user interface layer with the dropdown and at the call manager layer with the logic.
The providers:
playht
rime-ai
The voices:
playht voices
jennifer - American Woman
will · Deep American Man
michael · Normal American Man
ruby · Australian Woman
playht speed range
minimum speed: 0
maximum speed: 5
slow: 2
normal: 2.5
fast: 3
superfast: 3.5
rime-ai voices
eva - American Woman
madison - American Woman
selena - American Woman
colin - American Man
nicholas - American Man
sharon - British Woman
maya - Brtish Woman
rimer-ai speed range
maximum speed: 0
minimum speed: 2
slow: 1.5
normal: 1
fast: 0.8
superfast: 0.6
openai voices
Alloy · Gentle American Man
Echo · Deep American Man
Fable · Normal British Man
Onyx · Deeper American Man
Nova · Gentle American Woman
Shimmer · Deep American Woman
I haven’t got this right yet, but here was my starting prompty
We are going to add more voices to my swift ios voice ai app.
We need to add 2 new providers. They will have several voices.
The existing provider is openai.
Each provider has a different way of changing the speed.
So we will need an elegant switch case for each provider, the voices they offer and the way they allow voice speed to be set.
This needs to be updated in the code at the user interface layer with the dropdown and at the call manager layer with the logic.
The providers:
playht rime-ai
The voices:
playht voices
jennifer - American Woman will · Deep American Man michael · Normal American Man ruby · Australian Woman
playht speed range
minimum speed: 0 maximum speed: 5
slow: 2 normal: 2.5 fast: 3 superfast: 3.5
rime-ai voices
eva - American Woman madison - American Woman selena - American Woman colin - American Man nicholas - American Man sharon - British Woman maya - Brtish Woman
rimer-ai speed range
maximum speed: 0 minimum speed: 2
slow: 1.5 normal: 1 fast: 0.8 superfast: 0.6
openai voices
Alloy · Gentle American Man Echo · Deep American Man Fable · Normal British Man Onyx · Deeper American Man Nova · Gentle American Woman Shimmer · Deep American Woman
openai speed range
minimum speed: 0 maximum speed: 2
slow: 0.3 normal: 1 fast: 1.3 superfast: 1.5
turn this into an array of dictionaries
rime-ai
slow: 1.5 normal: 1 fast: 0.8 superfast: 0.6
playht speed range
slow: 2 normal: 2.5 fast: 3 superfast: 3.5
openai slow: 0.3 normal: 1 fast: 1.3 superfast: 1.5