Details

    • Type: New Feature New Feature
    • Status: In Progress
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: BridgeIt 1.0.4
    • Fix Version/s: None
    • Component/s: BridgeIt
    • Labels:
      None
    • Environment:
      All platforms

      Description

      BridgeIt needs to support Text To Speech and Speech To Text.

      A voice command should be added to the JS API.

      voice(id, callback, options) where options include:

      phrase: String containing statement to be spoken
      response: boolean that determines if voice response is required.

      If response=true, the response value will include a string containing converted voice response.

        Activity

        Hide
        Steve Maryka added a comment -

        Android could support additional parameters to manipulate the voice for TTS.

        rate: float - Determines the rate of speaking. 1.0 is the default.
        pitch: float - Determines the pitch for speaking 1.2 is the default.

        Show
        Steve Maryka added a comment - Android could support additional parameters to manipulate the voice for TTS. rate: float - Determines the rate of speaking. 1.0 is the default. pitch: float - Determines the pitch for speaking 1.2 is the default.
        Hide
        Steve Maryka added a comment - - edited

        Android implementation checked in. SVN 37506, 37507.

        Supports the following parameters.

        phrase: String with phrase to speak
        response: boolean indicating if voice response required. default is false.
        rate: float speech rate. default is 1.0
        pitch: float voice pitch. default is 1.2

        JS API's should be modified to handle these parameters.

        Show
        Steve Maryka added a comment - - edited Android implementation checked in. SVN 37506, 37507. Supports the following parameters. phrase: String with phrase to speak response: boolean indicating if voice response required. default is false. rate: float speech rate. default is 1.0 pitch: float voice pitch. default is 1.2 JS API's should be modified to handle these parameters.
        Hide
        Steve Maryka added a comment -

        API will look like

        bridgeit.speech(

        { text: "Hello, Sailor" respond: "true", voice: "female trinoids", pitch: "0.7", rate: "1.2", volume: "0.5" }

        )

        text: String - text of phrase to be spoken
        respond: boolean - determines if voice response is required. default=false
        voice: String - voice type to be used (not sure how this will match up across platforms)
        rate: float - rate of speaking. > 0 default=1.0
        pitch: float - pitch of voice. > 0 default=1.2 (BridgeIt's pitch)
        volume: float - 0.0 < volume <=1.0 default=device setting

        Show
        Steve Maryka added a comment - API will look like bridgeit.speech( { text: "Hello, Sailor" respond: "true", voice: "female trinoids", pitch: "0.7", rate: "1.2", volume: "0.5" } ) text: String - text of phrase to be spoken respond: boolean - determines if voice response is required. default=false voice: String - voice type to be used (not sure how this will match up across platforms) rate: float - rate of speaking. > 0 default=1.0 pitch: float - pitch of voice. > 0 default=1.2 (BridgeIt's pitch) volume: float - 0.0 < volume <=1.0 default=device setting
        Hide
        Steve Maryka added a comment - - edited

        svn 37519: Android implementation modified to support final api definition. volume now supported but new "voice" parameter is ignored.

        Show
        Steve Maryka added a comment - - edited svn 37519: Android implementation modified to support final api definition. volume now supported but new "voice" parameter is ignored.
        Hide
        Philip Breau added a comment -

        bridgeit.js updated 628be96be3ad82d02fcb159c72ed0c4ab543c77c
        demo-jqm updated 4f9cdf7cce816bf8f341bf2714b1dd3f07cbc594

        Show
        Philip Breau added a comment - bridgeit.js updated 628be96be3ad82d02fcb159c72ed0c4ab543c77c demo-jqm updated 4f9cdf7cce816bf8f341bf2714b1dd3f07cbc594
        Hide
        Philip Breau added a comment -

        Speech command can now be tested on http://bridgeit.github.io/demo-jqm/

        Show
        Philip Breau added a comment - Speech command can now be tested on http://bridgeit.github.io/demo-jqm/
        Hide
        Steve Maryka added a comment -

        svn 37559. android now sets locale based on voice parameter.

        Show
        Steve Maryka added a comment - svn 37559. android now sets locale based on voice parameter.

          People

          • Assignee:
            Steve Maryka
            Reporter:
            Steve Maryka
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: