Page 4 of 4 FirstFirst 1234
Results 61 to 75 of 75
Like Tree5Likes
  1. #61  
    Quote Originally Posted by HaPe View Post
    Hi all,


    Be aware that you need to change the language in line 29 of the patch before install!


    HaPe
    ...and line 27 that says "Anruf von" so it should be "call from" translated in your preferred language.
    Last edited by BoRn; 11/01/2012 at 09:47 AM.
  2. #62  
    Any way to change the voices settings in navit or for this nice patch?
  3. #63  
    Quote Originally Posted by hape View Post
    Hi all,

    beginning with version 0.7.1-14 (which is currently in the alpha feed) I added a javascript service.
    Good - but to which alpha feed did you add these changes?
    I use a TP 3.0.5 and in preware I have "alpha-apps" fields enabled - but I don't see tis version 0.7.1-14 .
    I'm still on v.0.7.1-10.2
  4. #64  
    Quote Originally Posted by hape View Post
    Hi all,

    beginning with version 0.7.1-14 (which is currently in the alpha feed) I added a javascript service. I updated the documentaion in the WIKI with the details: Application:SpeechDispatcher - WebOS Internals

    The Mojo app now shows you the default audio channel and you can set is with the icon in the lower right corner. There is also a test button to test the selected audio channel and the service.

    The attached patch can be used with this version to speak the incoming caller name.
    Be aware that you need to change the language in line 29 of the patch before install!
    You will get the best results if you use a ring tone with a little bit of silence at the beginning, because the speak output starts with the ringtone in the same volume. I diden't find a way to output it before the ringtone starts.
    You need to set the ringtone to a audio file with silence if you only want to have the name spoken.

    HaPe
    Modified patch for english and all is good but I wanted to play with different voices and added "type":"female1"
    to the service call but it still speaks with the default voice.
    even messed with speechhd.conf in /var/etc/speech-dispatcher and changed the DefaultVoiceType in the global conf for espeak.
    What am I doing wrong?
  5. #65  
    Has anybody ever done this with Mojo?
    I couldn't find any app so far where this is used. Even in Navit I couldn't find such a service request.

    This is the code I tested:

    Code:
    var request = new Mojo.Service.Request("palm://org.webosinternals.speechd.service", {
    method: 'say',
    parameters: {
      language: "en",
      text: $L("Let us do a test"),
      output: "espeak-ringtones"
    }}
    For debugging reasons I changed this into

    Code:
    var request = new Mojo.Service.Request("palm://org.webosinternals.speechd.service", {
    method: 'say',
    parameters: {
      language: "en",
      text: $L("Let us do a test"),
      output: "espeak-ringtones"
    },
    onSuccess:  function(result) {
      this.controller.showAlertDialog({
        onChoose : function(inValue) {},
        allowHTMLMessage : true, 
        title : $L("Success"),
        message : Object.toJSON(request),
        choices : [ { label : "Ok", value : "", type : "affirmative" } ]
      });
      delete this.request;
    }.bind(this),
    onFailure:  function(err) {
      Mojo.Log.info("###### Error ?? #####" + request)
      this.controller.showAlertDialog({
        onChoose : function(inValue) {},
        allowHTMLMessage : true, 
        title : $L("Error"),
        message : Object.toJSON(request),
        choices : [ { label : "Ok", value : "", type : "affirmative" } ]
      });
      delete this.request;
    }.bind(this)
    }
    I never could make it into "onSuccess". You can see the value of request in the attachment.
    The value of err is:

    Code:
    {"returnValue":false,"errorCode":-1,"errorText": "Not permitted to send to org.webosinternals.speechd.service."}
    I tested on a HP Veer with webOS 2.2.4. Developer Mode is activated, Speech Dispatcher is installed and the device is rebooted.

    When I try to call the methods with novaterm as described at the bottom of the webos-internals page I always get the error message from the value err (see above).

    Is there something I can do to make this work?
    Attached Images Attached Images
  6. #66  
    OK - found out, that my Speed Dispatcher is v0.7.1-10
    Webos-Internals says that the javascript services come with v0.7.1-14!
    So where can I get the newer version?
  7. #67  
    I finally discovered it in the Testing Feeds - works as expected

    What a pity that it never made it into the regular feed...
  8. #69  
    You might want to check https://github.com/wosigh/speechd I migrated everything from git.webos-internals.org to there. Eventually this will be moved to the official WebOS Internals GitHub. Just the admin is tight on time now.

    -- Sent from my TouchPad using Communities
    HP Veer (daily driver), HP Pre 3, HP Touchpad Proper 4G/LTE (Sierra MC7710), HP Touchpad 32GB WiFi, Palm Pre 2
  9. #70  
    Quote Originally Posted by Herrie View Post
    You might want to check https://github.com/wosigh/speechd I migrated everything from git.webos-internals.org to there. Eventually this will be moved to the official WebOS Internals GitHub. Just the admin is tight on time now.

    -- Sent from my TouchPad using Communities
    We should get this stuff over into https://github.com/webos-internals
    Did you know:

    webOS ran on a Treo 800 during initial development.
  10. #71  
    Quote Originally Posted by Preemptive View Post
    What are you building?
    I was riding with my bike home from work yesterday while a match of Euro 2016 was running. My Goooal app did a good job and sent a notification to my headset that a goal was scored. But this didn't help much because I had no access to my Veer and couldn't see who scored. So I thought that there might be a possibility to use Speech Dispatcher to read the score.
    Seems I'm lucky that this is really possible. Had a first test today and it looked very good. So I will publish an update when I'm finished with implementing this.
    Preemptive and uwer like this.
  11. #72  
    Can you make it cheer for your team and boo for the other?
    Nafetz likes this.
  12. #73  
    We should get this stuff over into https://github.com/webos-internals
    ka6sox will take care of that later, he's busy now. But yeah that's the plan :-)


    -- Sent from my TouchPad using Communities
    HP Veer (daily driver), HP Pre 3, HP Touchpad Proper 4G/LTE (Sierra MC7710), HP Touchpad 32GB WiFi, Palm Pre 2
  13. #74  
    Does anybody know if it's possible to use other voices e.g. like female1?
    There is a hint in the posting of Zer0C001, an unanswered question of 60RH and a hint on the Wiki (last block "Name: say")
    So far I had no success. Not important, but would be nice...

    Quote Originally Posted by Preemptive View Post
    Can you make it cheer for your team and boo for the other?
    Nice idea - I will have a look on this
  14. #75  
    Seems to difficult for me - at least on Touchpad.
    I downloaded and installed the ipk file with version number v0.7.1-14 on my HP Veer and on my HP Touchpad. Whenn pressing the test button inside the app Speech Dispatcher it works on the Veer but not on the Touchpad.
    I tested the same code on the Touchpad as written above, but it seems like the service request is just skipped.

    Whe I use v0.7.1-10 on the Touchpad then I get this message:
    "Service does not exist: org.webosinternals.speechd.service"
    As written above the error with v0.7.1-10 on the Veer was:
    "Not permitted to send to org.webosinternals.speechd.service."

    So there seems to be something different...

    Does anybody know how this works on Touchpad?

    The github files seem to be interesting, but I have no clue how to use them.

    So maybe I'll deliver the new version of my app with text-to-speech only for phones but not for Touchpad.
    Ok, I would prefer to use this feature rather on phones than on Touchpad, but it would be nicer to offer it on both
Page 4 of 4 FirstFirst 1234

Posting Permissions