Author Topic: Composer 8.1.4 - How to Play directly a txt file ??  (Read 2330 times)

Offline ymattica

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Composer 8.1.4 - How to Play directly a txt file ??
« on: May 11, 2016, 04:45:49 PM »
Hi
I need to play a .txt file like http://10.139.69.85:9090/messaggi/PUSH/italian/cc/dinamici/myFile.txt

It is possible ?
I tried using a prompt like this :  type-->Variable - interpret-As Text ...but  TTS play the file URL path....
I tried using  a prompt like this  : type-->Variable  -  interpret-As  Audio --> It doesn't work
Could you help me ?
Regards
« Last Edit: May 11, 2016, 04:48:28 PM by ymattica »

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7640
  • Karma: 56330
Re: Composer 8.1.4 - How to Play directly a txt file ??
« Reply #1 on: May 11, 2016, 05:18:11 PM »
Maybe using a backend you read the file and convert it to a json value, then assign it to a variable and use it on a prompt block. Don't see how would it work in a direct way.

Enviado de meu E6633 usando Tapatalk


Offline ymattica

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Re: Composer 8.1.4 - How to Play directly a txt file ??
« Reply #2 on: May 12, 2016, 07:51:39 AM »
Thanks.
Surely what you suggested would works. I asked if I can use a URL directly because some frameworks (eg. Avaya Dialog Designer ) let you do what I asked  ( I'm doing a migration between the two different platforms and I'm using the same server TTS )  :'(