View Single Post
Old 06-30-2006   #101 (permalink)
goldfndr
Knight Tooth Puller
 
goldfndr's Avatar
 
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
Quote:
Originally Posted by cp99 via PM
I noticed that there is an elongated pause between the SSID and the WEP status in the speech portion.

Would it be possible to have support for wav files that contain both the SSID and the WEP status.
example:

Linksys is open.wav
Linksys is closed.wav
NETGEAR is open.wav
NETGEAR is closed.wav

Having both the SSID and the WEP status called at the same time would both have it sound much more fluid as well as calling only one file instead of two.
Yeah, I think that happens, although I think SCBLIB and SpeakStream mitigate the behavior by not spawning a separate program (and it's associated event file, if any).

There are three possible approaches to this.
  1. The method I used was to shorten the file. AT&T Natural Voices seems to pad the end of the file with 0.5 seconds silence. I'm guessing there's also at least a tenth of a second silence at the beginning, but I haven't checked in a while. There's probably a method to strip time off WAV files in a batch, but I haven't checked into it.
  2. If you want separate WAV files as you described, change OnScanResultSpeech: On each Case, there's an elseif line followed by a ComboSSID assignment. Change the ComboSSID statement to not use a vbCRLF. For example,
    ComboSSID = ComboSSID & vbCRLF & strNonWep
    changes to
    ComboSSID = ComboSSID & " " & strNonWep
    Of course, there's still a strUnkWep that might be appended, but presumably that's rare enough that one wouldn't care whether it sounded good or not. Or maybe one would want the extra added emphasis of the rare catch.
  3. Get a faster computer.
Any others desiring this? It's quite easy to do a one-time customization. A nearly trivial challenge would be making it configurable - it'd simply be a flag that told OnScanResultSpeech whether to use vbCRLF vs a space.

Much (much!) more challenging would be an algorithm that tried to match a phrase, and if not all of the phrase was there, try to match individual words. It'd be handy for all those "Apple Network" SSIDs, possibly also for the newer "Linksys_SES_" SSIDs. I suppose it'd just match starting from the front, not the rear, and maybe limit phrases to only removing the last word (e.g. use "is_open" instead of "is open"). Hmm...

Have you tried SCBLIB?
goldfndr is offline   Reply With Quote