Skip to content

phroggie's 2.0 preview 3

Pre-release
Pre-release
Compare
Choose a tag to compare
@phroggster phroggster released this 22 Jan 23:24
2.0-phroggie-2
3bf2474

Changes since preview 2:

  • TTS effect now returns usage information:
    • $&ttsAudioDuration or $effectOutput[ttsAudioDuration]: a number with the duration of the audio, in seconds.
    • $&ttsBucket or $effectOutput[ttsBucket]: a string with the pricing bucket that was used, such as Wavenet or Studio.
    • $&ttsCost or $effectOutput[ttsCost]: a number exposing the quantity of bytes/chars expended.
    • $&ttsSucceeded or $effectOutput[ttsSucceeded]: a boolean 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]: a string with the name of the voice used, such as en-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.