2 Replies Latest reply: Mar 22, 2009 6:18 AM by 843849 RSS

    Embedde ViaVoice app doesn't work when Java running

    843849
      I am writing a Text-To-Speech application based on IBM Embedded
      ViaVoice SDK.

      For testing purpose, I wrote a program in eVC++ and it works fine for
      both English and Chinese speech. But when I run this test program
      after invoking any Java application, the program fails for Chinese
      TTS. (Chinese TTS needs a big .dll, which is more than 1.5MB, while
      English TTS doesn't have).

      I've checked the memory allocation in the Pocket PC control panel
      after running the Java program and the eVC++ TTS program. There is
      still more than 10MB left for program memory spaces. The Java program
      will use 5MB memory when started.

      The JVM in the iPAQ 3870 (PPC2002) is Jeode, and I also tried Sun
      PJava 1.1 beta as JVM, but also encouter this problem.

      Does anyone have the same problem?

      ZHANG Ling
        • 1. Re: Embedde ViaVoice app doesn't work when Java running
          843849
          I solved this problem.

          The key is the memory allocation in Win CE. Large dll loading need tricks for Pocket PC 2002.

          A useful link from MSDN:
          http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncenet/html/advmemmgmt.asp
          • 2. Re: Embedde ViaVoice app doesn't work when Java running
            843849
            Hi Zhang,

            I am also trying to include a text-to-speech functionality in my Java application. I have no idea where to start. I would like to use one of those 'natural' voices, I guess sampled..ie. from textaloud or similar..

            can you please give me some hints as to how to integrate any of those voices into my Java application? Basically, what I am trying to do, is to 'at a click of a mouse, the voice reads aloud the text in a specific textfield'. I think I can do all the listeners, etc..just don't know what to do next..

            thanks for your help