AI Talk Show
June 24, 2024Is ChatGPT-o1 a Game Changer?
September 15, 2024AI Talk Show
June 24, 2024Is ChatGPT-o1 a Game Changer?
September 15, 2024AI Talk Show
⸻ HTML/JS ⸻
Proof of concept
In this simple JS script we are using OpenAI's TTS to perform an audio recording (mp3) that will simulate a chat between two ore more individuals, where each speaker has his own voice.
For now, we are simply using the default models that OpenAI has to offer: alloy, echo, fable, onyx, nova, and shimme. More info here.
Listen to the Article:
How to use it?
In order to change the TTS models (voices) you need to simply begin a new line of text with the designated model. For each model we gave a more simple "name" like this:
User1 | alloy |
User2 | echo |
User3 | fable |
User4 | onyx |
User5 | nova |
User6 | shimmer |
Example
User1: How are you guys today?
User4: I am fine, thank you!
User5: I feel very good, how about you?
User1: Great to hear! I am also enjoing this beautiful day!