Search results

  1. lzaf

    GOOD NEWS GoogleTTS Tiny - A faster TTS script

    Hello, since PIAF is lately all about performance and small embedded systems I would like to make you aware of a few updates on the googletts script that you might find interesting. There is now a 'tiny' version of the script that uses the HTTP::Tiny perl module instead of LWP::UserAgent...
  2. lzaf

    NMAP Scanner by Phone

    The above was mostly an example for jjolly. If people are really going to use it then better post some more sane code: #!/usr/bin/env perl # # AGI Script that prompts for an ip address, # scans the ip usng nmap and reports back to the user. # # This program is free software, distributed under...
  3. lzaf

    Speech-to-Text Dir Assistance

    Calling directly an AGI from another AGI script will not work. You can generally call an external dialplan app from an AGI script by using the exec command. This can also work for calling agi scripts (exec "agi" "arguments"). It is definitely not pretty, and might lead to some errors but still...
  4. lzaf

    NMAP Scanner by Phone

    The problem seems to come from your speak subroutine. I don't have swift and I wasn't really able to test it but the code is a bit messy there and not very safe. Don't try to duplicate dialplan or other apps functionality in your agi script. I this case instead of writing your own text to...
  5. lzaf

    Speech-to-Text Dir Assistance

    The "right" (TM) :rolleyes: way to do that, and what is actually used in cases like this in speech recognition applications is the use of grammar rules. By defining a grammar for your application you can specify words and patterns of words to be recognised in a certain way. For instance we can...
  6. lzaf

    PIONEERS Exploring Speech to Text

    That's actually a good idea, and yes it is possible. I 've just tweaked the script adding silence detection. Now after 3 seconds of silence the recording will stop and the script will proceed sending voice data to google and getting back the results. Keep in mind that silence detection is not...
  7. lzaf

    PIONEERS Exploring Speech to Text

    Speech recognition is not happening in real time. The voice data is first recorded and then send over to google for processing. This makes a voice controlling mechanism of the application highly impossible.
  8. lzaf

    PIONEERS Exploring Speech to Text

    For numbers up to 9 digits the engine will read it as a whole number (eg 284956286 will be read like "two hundred eighty-four million four hundred ninety-five thousand two hundred eighty-five"). For more than 9 digits it will read each digit individually. (eg 1284956286 will be read like "one...
  9. lzaf

    PIONEERS Exploring Speech to Text

    The idea of passing a text file as input to an agi script has some shortcomings. Newlines, quotes and some special characters might confuse the agi script and the way it handles stdin to get its arguments. As a first step i would suggest you to strip newlines and quotes from your text...
  10. lzaf

    PIONEERS Exploring Speech to Text

    There is a cli application (under the folder cli ;) ) that you can use to get an idea of the produced speech quality without involving asterisk. Having worked a lot with speech synthesis and developed many asterisk tts modules that work with differed engines I have to admit that google's engine...
  11. lzaf

    PIONEERS Exploring Speech to Text

    Good job tm. I would advice you not to bother with sox. I have already removed all sox related code from my script. Sox was used in order to see if sound normalising (and some other tricks like low/highpass filtering etc) would improve detection rates. In all my tests this didn't happen. I think...
  12. lzaf

    PIONEERS Exploring Speech to Text

    Its just a non fatal perl warning. From the top of my head I think its the part of the code that checks for interrupt digits or some other user specified options. Its not a real problem and it doesnt mean that there is some misbehavior. If you really want it to go away edit the script and...
  13. lzaf

    PIONEERS Exploring Speech to Text

    Hello fellow asterisk geeks, it feels great to finally be able to post. :biggrin5: As I already said to Ward I had been working on something similar to his wolfram script. It is an agi script that contacts wolfram engine and returs the answer as a dialplan variable that can be played back to...
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top