Announcement

Collapse
No announcement yet.

Play audio file on tablet

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Play audio file on tablet

    I have searched and read a quite a few posts with different tricks to get HSTouch on Android to play a wav/mp3 file. Some say you should use "Speak" instead of "Play" but I haven't gotten it to work.

    Is this possible or is it just TTS that works?

    #2
    You can 'speak' a wave file, if you pass it a file path then it will play the file rather than text to speech. If you use the play a wave file option then the client likely deploys the file to your tablet so it can play it locally, the speak method is going to keep the file on your server, encode it, send it then decode it the other end to play it. That probably gives you a bit of a delay that the local option won't.

    Comment

    Working...
    X