improved
29th Sept 2023 - Voice Playground and New Library; SSML Prosody
about 1 year ago by Peadar Coyle
Voice Playground (Platform) - Beta π§
- New workflow which is the replacement for the simple frontend we previously had in the example frontends
- A few small UI improvements and new sound library will come next week
- See it at http://platform.audiostack.ai
New Voice Library
- Updated the design
- Fixed provider names
- Is completely reusable and can be accessed at: http://library.audiostack.ai in the platform as a standalone workflow with the ability to preview, and in the voice select modal in the voice playground and sonic sell
SSML Prosody
We added the following functionality to have better prosody across providers. , ,
import audiostack
audiostack.api_key = "APIKEY"
text = """ The following part should be <as:prosody pitch="x-high" rate="x-fast" volume="x-loud">higher, faster and louder</as:prosody>,
"""
script = audiostack.Content.Script.create(scriptText=text)
print(script.message, script.scriptId)
tts = audiostack.Speech.TTS.create(scriptItem=script, voice="henry", voiceIntelligence=True)
print(tts)
item = audiostack.Speech.TTS.get(tts.speechId)
item.download()