phroggie's 2.0 preview 3
Pre-release
Pre-release
Changes since preview 2:
- TTS effect now returns usage information:
$&ttsAudioDuration
or$effectOutput[ttsAudioDuration]
: anumber
with the duration of the audio, in seconds.$&ttsBucket
or$effectOutput[ttsBucket]
: astring
with the pricing bucket that was used, such asWavenet
orStudio
.$&ttsCost
or$effectOutput[ttsCost]
: anumber
exposing the quantity of bytes/chars expended.$&ttsSucceeded
or$effectOutput[ttsSucceeded]
: aboolean
indicating whether audio was sent/is sending to the speakers.false
if a problem occured,true
if you (likely) heard or are hearing something.$&ttsVoiceName
or$effectOutput[ttsVoiceName]
: astring
with the name of the voice used, such asen-US-Wavenet-C
.
- Added a TTS Usage event to allow for tracking billing:
- Including event filters and the following vars:
$googleTtsUsage[cost]
: the number of chars/bytes expended.$googleTtsUsage[tier]
: the name of the pricing bucket.
- Better error handling.