Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Voice building

Re: Voice building

From: Peter Herngaard <pethern_at_email.dk>
Date: Mon, 13 Nov 2006 04:20:42 +0100

Hello Glenn

Why would you want such a functionality?

Best Wishes,
Peter Herngaard

----- Original Message -----
  From: Glenn at home
  To: Rockbox
  Sent: Sunday, November 12, 2006 2:00 AM
  Subject: Re: Voice building

  Hello Peter & All,
  I have an idea for the voice script, and it would probably include changing the lang file as well.
  I might be able to work this out myself, but I expect that there are others with more experience with these files, for whom it would be a basic task.
  * Would it be possible to adjust the makevoices script and probably the lang file to use either 2 different voices, or at least 3 different voices for the lang resulting English.voice file, with the result being a different voice at each level of the menus?
  Even having it toggle from one voice to another, as you go from one level to another, would be great, but if we could actually set it to a different voice at each level, depending on which line was remmed out would be even better.
  Seems like if we put a character with each menu level in the lang file, and a comment for the script to use whichever voice is associated with that character would do the trick.
  I haven't messed much with the lang file, but I have looked into the script. It would take quite of studying on my part before I could attempt such a thing, so that is why I am hoping someone here could make it so.
  Glenn

  ----- Original Message -----
  From: Peter Herngaard
  To: Rockbox
  Sent: Saturday, November 11, 2006 5:11 PM
  Subject: Re: Voice building

  It is said that you can do it from the Control Panel, but my own tested method uses the rate property from within the script.
  I will send you a ZIP archive containing all necessary script files.

  Best Wishes,
  Peter Herngaard

  ----- Original Message -----
    From: Hamish Mackenzie
    To: Rockbox
    Sent: Saturday, November 11, 2006 11:56 PM
    Subject: Re: Voice building

    Hi again Peter so where would I have to adjust this rate? From within the script or is it from the speech properties of the control panel?

    Cheers

    Hamish
      ----- Original Message -----
      From: Peter Herngaard
      To: Rockbox
      Sent: Sunday, November 12, 2006 9:27 AM
      Subject: Re: Voice building

      Hello Hamish

      No, the rate adjustment in SAPI5 is slightly different but similar from the method used in SAPI4.

      In SAPI5 use the rate property to change the rate. I can't remember whether the rate adjust refer to the number of spoken words per minute.

      Best Wishes,
      Peter Herngaard

      ----- Original Message -----
        From: Hamish Mackenzie
        To: Rockbox
        Sent: Saturday, November 11, 2006 11:13 PM
        Subject: Re: Voice building

        Hi Peter

        Would inserting that line also work for a SAPI 5 voice such as scansoft lee and would the figure of 360 work for a scansoft voice or does it need to be adjusted and is the 360 a words per minute speed?

        Cheers

        Hamish
          ----- Original Message -----
          From: Peter Herngaard
          To: Rockbox
          Sent: Saturday, November 11, 2006 11:26 PM
          Subject: Re: Voice building

          Hello Grant

          From my own makevoices.vbs file

          ---
          MakeVoiceFileSAPI4 "english", "Reed", 10, "--cbr -B 16 --
          resample 12 --scale 0.6 -t -S --priority 0"

          ---

          In order to adjust speech rate insert the following line after BDone = false.

          ---
          oTTS.Speed = 360
          ---

          Best Wishes,
          Peter Herngaard

          ----- Original Message -----
            From: Grant Hardy
            To: 'Rockbox'
            Sent: Saturday, November 11, 2006 7:54 AM
            Subject: Voice building

            Hello,

             

            What is the optimal line to insert into the MakeVoices script for building a voicefile with the Reed voice, which is SAPI4? Thanks.
Received on 2006-11-13


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa