1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. If you had a PIAF Forum account in the vBulletin days, log in with your old credentials. Otherwise, sign up again and we'll get you back in business as soon as we can.
  3. A serious FreePBX vulnerability has been reported. Update your Framework Module immediately. Click here for details.

FYI: Text to Speech FreePBX Module

Discussion in 'Add-On Install Instructions' started by jpe, Mar 17, 2009.

  1. jpe Member

    Install Text to Speech

    1. Download from here to your computer. DO NOT decompress.
    2. Go to Module Admin page in FreePBX and Upload Module.
    3. Find Module in list and Install.
    4. Reload


    I've been using it for a while and it works as advertised. It does not allow punctuation. Maybe someone can fix that.

    Update:

    Clampron posted a fix for the punctuation issue on the freepbx site.

    Apply the fix and we get period pauses. As he says, commas will cause it not to speak.
  2. TheShniz Guru

    This is a very interesting module, but could you give some examples on potential applications... as in, what would you use this for?
  3. jpe Member

    I originally used it when I had the recording studio going. I would make announcements to let clients know status of the studio via CID.
    ie: Your session is delayed by 2 hours. etc, things like that. Anything that a client needed to know and could be answered by calling.
    This way I wouldn't have to call them or get disturbed to answer the phone to tell them.

    Pretty much anything that you would use the announcement module for, this lets you use the tts engine.

    I think a nice advncement to it would be to allow one to set the voice parameters, ie voice, speed etc. I didn't write it and don't have the knowledge to modify.
  4. tshif Guru

    WOW - that's a very exciting module! I wish I had thought of it. :)

    This has an amazing number of applications. Movie theater, temporary service announcements, even a rudimentary scheduling service could be worked around this. Jerry adn I will look into it and see what could be done about the punctuation issue.
  5. w1ve Guru

    Works great

    I'm using it with Cepstral, and it works great. However, the punctuation is real problem. You can't have it say more than one sentence, as you need the period to insert a pause.

    I presume the problem is a bug in what was written for the module? Why in the heck would punctuation not be allowed?

    I know Cepstral voices for the desktop support xml tags. If we can get around the punctuation issues with this module, those could come in useful if they work with the Linux version of Cepstral.

    Very nice module, indeed!
  6. mrh Member

    Maybe my novice status.... but I'm having trouble installing the module.

    I use the module admin, but I get...

    "The following error(s) occurred processing the uploaded file:
    • Error untaring uploaded file. Must be a tar+gzip file"
    Am I making a basic error?

    Many thanks

    Matthew
  7. jroper Guru

    Hi

    Windows has a nasty habit of removing file extensions, particularly tgz and tar.gz files.

    can you check that your module name has not been "adjusted" by windows.

    Joe
  8. mrh Member

    Cheers Joe,

    Windows has it as ...

    "tts-1.0.tgz"

    Hope this helps,


    Matthew
  9. tshif Guru

    Matthew - is this on PBXIAF? I really thought Joe's answer was gonna get you going.
  10. mrh Member

    Hi guys,

    Apologies for the delay.

    Yep - running PIAF here!

    Cheers

    Matthew
  11. mrh Member

    Just tried it on a fresh PIAF 1.4 install...

    Same problem!
  12. tshif Guru

    This one is making me crazy - I cant duplicate your results.

    I could post the version I am using and see if it works for you - but its just 1.0 plain and direct from the repository at FreePBX. Is that where your getting yours? Are you downloading it directly to your pbx, or going through windows first?
  13. mrh Member


    Good News!

    Finally fixed it.

    Fired up a good old dos prompt and renamed it... ... to

    "tts-1.0.tgz"

    (was getting desparate at this point!)

    Then, for some reason, it installed fine.

    So I now have a fully working TTS module using my Cepstral UK voice!

    Result!

    Just need punctuation now!

    Thanks for the persistence!


    Cheers


    Matthew
  14. jroper Guru

    Hi

    I still reckon that Windows was mucking around with your file extension naming.

    Joe
  15. kb9mwr Guru

    I'm having problems as well. I even retrieved the file with wget, but am unable to decompress it. tar and the freepbx module uploader don't see it as a valid tar+gz file.
  16. w1ve Guru

    It works perfect on every machine I try it on. (the module file).

    WHERE is puncuation? I love the module but WHY OH WHY does it not accept punctuation? I can use the command line and do anything I want. It's a silly restriction in the module.
  17. kb9mwr Guru

    Works.. I was just being hasty trying to wget from the URL posted, or right click save-as... You best click a few times on the posted attached file. It's one of those dynamic URLs.
  18. jpe Member

    Clampron posted a fix for the punctuation issue on the freepbx site.

  19. tshif Guru

    Shall we roll this into our own PBXIAF version of the module?

    I was also thinking it should be possible to put a control in the web ui so the end user can decide if they want the punctuation filter left in place, or turned off.

    What does everyone think?
  20. w1ve Guru

    That sounds great. It makes perfect sense. I notice that Allison speaks pretty fast if you're speaking more than a single sentence or prompt. it would be cool -- not necessary -- to add a speed tag using ssml if speaking more than simple stuff.

    Just a thought.

Share This Page