[CLOSED] [APP][4.1+][V1.3.7] Saiy | Your Open Source Virtual Assistant

Status
Not open for further replies.
Search This thread

ironlood

Senior Member
Jan 31, 2010
614
116
Antioch
No doubt asked already but what is better about this app over google now?

if you watch the 30 minute video demonstrating the application and all of its functions you can understand why this is going to be better then Google Now.

I will admit that Google Now is amazing and the new speech synthesis engine is extremely pleasant, but the level of support that brandall has and is providing is just uncanny and phenomenal.

I've been testing this app since the first apk was posted in the thread and at times it seems as though brandall is torturing himself in order to push the next update out, just to fix a simple bug.

All in all this app once it drops the beta tags will be a force to be reckoned with.

Sent from my SGH-T999 using Tapatalk 2
 

brandall

Senior Member
May 16, 2008
2,679
5,222
Birmingham
Will we see natural speech soon?

like I can speak naturally to my phone without having to include trigger words.

For example instead of "android system turn off wifi" we could use something like "Turn off wifi"
My algorithms are improving all of the time, so managed to drop the Android System from the beginning of the connections commands and Open Application/app is now just Open +app name. It's made them a lot more 'usable', so I'm glad this has worked out.
No doubt asked already but what is better about this app over google now?
The incredible quick and personal support you get from Brandall, the developer, is one reason.
if you watch the 30 minute video demonstrating the application and all of its functions you can understand why this is going to be better then Google Now.

I will admit that Google Now is amazing and the new speech synthesis engine is extremely pleasant, but the level of support that brandall has and is providing is just uncanny and phenomenal.

I've been testing this app since the first apk was posted in the thread and at times it seems as though brandall is torturing himself in order to push the next update out, just to fix a simple bug.

All in all this app once it drops the beta tags will be a force to be reckoned with.
Thanks for your kind words guys, you're good to me... Right now, it doesn't compare to Google Now, but if I can get everything that's in scripts, on paper and in my head into Java, I'm quietly confident that the direction the app is taking will make it more useful. I won't list everything I've got planned, as the walls have ears! Or eyes, I suppose..

Anyway, FINAL (ready for Kickstarter) Play Store release coming in a few moment, with a couple of bug fixes and a few minor tweaks.

I've got my new SIM through, which is about to get some serious tethering abuse to shoot the Kickstarter video - I've hopefully got some great features to demo, which hopefully will be making test releases here soon and of course, if the Kickstarter target gets reached, will be unleashed to the world very soon after... whilst I still have some hair left....

Anyway, best crack on!
 
  • Like
Reactions: Sunemol

brandall

Senior Member
May 16, 2008
2,679
5,222
Birmingham
2.2.4up!

Hey folks, minor changes on this one before I upload it to the Play Store.

I've had a few reports of utter! being slow. So, in order to understand where in the app's process it is being slow, I've made a quick change to the notification icon. It says 'listening' then 'working'.

Listening will change to working when the voice results are returned from the Google Servers. If it hangs on listening after the speech has finished, then it's waiting on the network... I hope this will help identify where any delays are occurring (and stop utter! get blamed for poor network reception!).

When weather/time (in) requests are made, this of course uses further http requests, so I need to add a 'fetching' ticker text too, so again the user knows the network conditions need consideration!

I forgot to update the version in the manifest again too...

Fixed Skype dialling a 'null' number if there wasn't a Skype ID available.
Some speed tweaks.
Some background code implemented ready to enable some more features.

Erm, think that's it!
 

Attachments

  • nutter_v2.2.4A.apk
    563.1 KB · Views: 737

mcampbellsmith

Senior Member
Jul 1, 2010
815
1,128
Hi!

Loving this app! It is great.

One request: it would be great if there was the possibility to have the app listen on startup. This way I can use the app with my bluetooth device.

Is there anyone who has a suggestion on how I can do this (without using Tasker)?

Thanks!

Sent from my ASUS Transformer Pad TF300T using xda app-developers app
 
  • Like
Reactions: brandall

brandall

Senior Member
May 16, 2008
2,679
5,222
Birmingham
Wow!!! This update is Top Shelf! Great work :)
Thank you thank you :)
Hi!

Loving this app! It is great.

One request: it would be great if there was the possibility to have the app listen on startup. This way I can use the app with my bluetooth device.

Is there anyone who has a suggestion on how I can do this (without using Tasker)?

Thanks!
Hi mcampbellsmith, when you say 'listen on startup' can you clarify what you mean please? Also, do you mean a bluetooth headset? - If so, I'm working on a way to activate utter! via wired/bluetooth headset button press.. Let me know!
 

mcampbellsmith

Senior Member
Jul 1, 2010
815
1,128
Thank you thank you :)Hi mcampbellsmith, when you say 'listen on startup' can you clarify what you mean please? Also, do you mean a bluetooth headset? - If so, I'm working on a way to activate utter! via wired/bluetooth headset button press.. Let me know!

Hi brandall, By listen at startup I mean start listening at app startup. So the app launches directly into 'listening mode' (when she says 'yes Mark'). This way I can set Headset Droid to start the app when I press my Bluetooth headset button.

I have not found a way to search via a Bluetooth button press.....

Hope that is a bit clearer?
Sent from my HTC Desire using xda app-developers app
 
  • Like
Reactions: brandall

Blurrix

Member
Feb 5, 2012
20
16
Testing 2.2.4

First thing I must say is this app is progressing really well.

Galaxy S2 Resurrection remix 2.6 ICS 4.0.4 by westcrip
Utter 2.2.4

Algorithms are working and improving well which is good. Speech recognition is working flawlessly (over wifi), can even pick up what I'm saying while people are talking next to me (this mostly would not happen in earlier versions). The speed has increased, especially over wifi which is good. The apps aesthetics are brilliant, simple and suit the apps theme. (not overdone)

Issues:
Occasionally the app is unresponsive, won't start. (Probably IVONA)

Occasionally the app won't process the command given (lost connection) with 2 to 3 bar connectivity HSPDA. Although when I type in the command in advanced testing over HSPDA it is fast and always processes the command.

Occasionally won't tell me that it has lost connection. ("listening" just disappears)

Overall the app is working well, keep up the good work Brandall! :D

EDIT: Just thought of an idea, would be useful for long commands. For example, I ask utter to "google search, what is the longest river in the world, and where is it located?". it runs the command and lists the search result. Then suddenly the browser crashes. Instead of asking the same question, I can tell utter to "run recent command" or "last command" and it will run what I previously asked before.
 
Last edited:
  • Like
Reactions: brandall

brandall

Senior Member
May 16, 2008
2,679
5,222
Birmingham
Hi brandall, By listen at startup I mean start listening at app startup. So the app launches directly into 'listening mode' (when she says 'yes Mark'). This way I can set Headset Droid to start the app when I press my Bluetooth headset button.

I have not found a way to search via a Bluetooth button press.....

Hope that is a bit clearer?
Got it, thanks. I had a glance at the application, but couldn't see if it was able to launch activities, rather than just full applications? For programming reasons I won't bore you with, I don't want the main application of utter! to start the recognition.

Let me know if Headset Droid can start activities and I will provide you with the details of how you can use utter! for this.
First thing I must say is this app is progressing really well.

Galaxy S2 Resurrection remix 2.6 ICS 4.0.4 by westcrip
Utter 2.2.4

Algorithms are working and improving well which is good. Speech recognition is working flawlessly (over wifi), can even pick up what I'm saying while people are talking next to me (this mostly would not happen in earlier versions). The speed has increased, especially over wifi which is good. The apps aesthetics are brilliant, simple and suit the apps theme. (not overdone)
Thanks Blurrix, appreciate your feedback and glad to hear it's working as I'd hoped it would (and does for me!).
Issues:
Occasionally the app is unresponsive, won't start. (Probably IVONA)
I have to blame IVONA too - it so rarely happens to me when I use other engines... I've rebuilt the background text-to-speech and listener functions completely which I'll release here to test as soon as I've completed everything for Kickstarter. I hope is reduces bugs further...
Occasionally the app won't process the command given (lost connection) with 2 to 3 bar connectivity HSPDA. Although when I type in the command in advanced testing over HSPDA it is fast and always processes the command.

Occasionally won't tell me that it has lost connection. ("listening" just disappears)

Overall the app is working well, keep up the good work Brandall! :D
Thank you - The rebuild I mention above will hopefully catch the hole in the initial data connection check and then the networking losing connectivity shortly after - There is a void there that I need to fill that unfortunately Android doesn't provide a built-in solution for.
EDIT: Just thought of an idea, would be useful for long commands. For example, I ask utter to "google search, what is the longest river in the world, and where is it located?". it runs the command and lists the search result. Then suddenly the browser crashes. Instead of asking the same question, I can tell utter to "run recent command" or "last command" and it will run what I previously asked before.
I like your thinking :) 'Flags' of where utter! is in a conversation or where it is in a command process is again working on my test devices - albeit only under certain circumstances. The kickstarter video will demo a screenshot - followed by a request to 'zip the screenshot', followed by a request to 'email the zip' - It demonstrates the 'back-stack memory' utter! will have and its ability to 'understand' what has just happened and what therefore could be requested next.

I'm probably a little too protective over holding these functions back to test, but without Java support, I'm horribly aware that my implementation alone would be slow to become fully functional - whereas a competitor who has more Java experience could see my ideas and perhaps knock them up and release them before I'm even half way there...

Anyway, waffle complete!

Thanks for feedback and testing as always folks!

EDIT!!! Just seen an IVONA update appear on the Play Store! Let's hope they've sorted the issue out... For those updating, don't forget to verify the full download file, as well as just the Play Store apk - Sometimes the 200mb additional download will need to be completely re-downloaded!
 
Last edited:

brandall

Senior Member
May 16, 2008
2,679
5,222
Birmingham

Diskb0x

Senior Member
Mar 13, 2010
248
32
::1
Just wondering if anyone else has managed to get nutter to work on Temaseks CM7 KANG?

  • Just tried and it installs ok
  • Runs ok and I can interact with the different menu options
  • The create launcher link puts a nutter icon on my desktop
  • Clicking the desktop icon does nothing.

Cleared the apps cache, removed and re-installed and nothing changed.

If you need any log files or want it testing on perhaps a different ROM let me know.
 
  • Like
Reactions: brandall

brandall

Senior Member
May 16, 2008
2,679
5,222
Birmingham
Just wondering if anyone else has managed to get nutter to work on Temaseks CM7 KANG?

  • Just tried and it installs ok
  • Runs ok and I can interact with the different menu options
  • The create launcher link puts a nutter icon on my desktop
  • Clicking the desktop icon does nothing.

Cleared the apps cache, removed and re-installed and nothing changed.

If you need any log files or want it testing on perhaps a different ROM let me know.
Thanks for letting me know. We'll get it working for you... If nothing happens when you tap the shortcut, this suggests a problem with the tts engine you are using. Can you go to the Android tts settings and press 'listen to an example'. Also, click on the engine you are using and make sure there are no additional download files required or that need updating.

Uninstall and reinstall Google Voice Search and reboot.

Let me know how you get on!

Sent from xda premium
 

Diskb0x

Senior Member
Mar 13, 2010
248
32
::1
All working now. It turns out I didn't have Google Voice Search installed :eek: So my small note before final release would be to get it to push the phone to the gvs play page if it's not installed or at least prompt.

That said, outstanding app so far! Very impressed. The only thing I can't get it to do right now is text someone however calling etc. all works. Can't wait to see what other commands/features you manage to add to it.

Goes without saying that if you need another phone or two for testing let me know.

Thanks for letting me know. We'll get it working for you... If nothing happens when you tap the shortcut, this suggests a problem with the tts engine you are using. Can you go to the Android tts settings and press 'listen to an example'. Also, click on the engine you are using and make sure there are no additional download files required or that need updating.

Uninstall and reinstall Google Voice Search and reboot.

Let me know how you get on!

Sent from xda premium
 
  • Like
Reactions: brandall

brandall

Senior Member
May 16, 2008
2,679
5,222
Birmingham
All working now. It turns out I didn't have Google Voice Search installed :eek: So my small note before final release would be to get it to push the phone to the gvs play page if it's not installed or at least prompt.

That said, outstanding app so far! Very impressed. The only thing I can't get it to do right now is text someone however calling etc. all works. Can't wait to see what other commands/features you manage to add to it.

Goes without saying that if you need another phone or two for testing let me know.
Great, glad it's working now. Texting and a load of other features will be enabled and piled in in a few weeks time (see the in app command list for currently disabled stuff).

I was about to reply saying that 'if only the recogniser could detect if Google Voice Search wasn't installed' but then I realised I can just check this myself on installation!!!! It's a perfect example of how lack of sleep can make you not see the wood for the trees! Doh!

Even though right now I just feel very annoyed at my own stupidity, I am very grateful to you!

Thanks!

Sent from xda premium
 
  • Like
Reactions: kamots

guy4jesuschrist

Senior Member
May 24, 2011
461
138
Thanks for the hard work that you've been constantly putting into this project brandall! I look forward to using the finished product! :)

Sent from my PC36100 using xda premium
 
  • Like
Reactions: brandall
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 695
    Welcome to Saiy... Install - Mod edit: Broken DL link removed.

    For those of you visiting this thread as subscribers to utter! you'll know the history well. A promising release, active development and then silence..... Please accept my apologies - if you don't know that 'sometimes life gets in the way' then you are the envy of most.

    A bit of history for you...

    To cut a half-decade-long story short, the Fragmentation of Android ground this project to a halt. When I first demoed my creation to the world, I had visions of knocking it up on Android and then focusing on how it functioned in the background. I was about to drown myself in machine learning to bring my vision to life. Job done? Well no...

    It turned out that developing an app that covered almost every function available on an Android device (I refuse to say 'phone' - it's not 1983!) , was a job for 1,000+ developers, not just a lonesome one such as I, on a 10 year old Dell laptop - and each time a new update to Android was released, I huddled in a corner and wept, as I waited for the crash reports and 1* ratings to roll in.

    It turns out that bugs aren't only specific to Android versions. You multiply that by Manufacturers messing with builds - and devices running multiple versions and then even the Locale of the device causing crashes and you end up with 12,000+ supported devices exponentially multiplied by all other eventualities as your user base.

    I drowned... And my (in hindsight) naive plans of master AI'ery, whilst users enjoyed playing with it on Android, dropped down to the bottom of my to-do list. Things had to change.

    I decided to shut myself away in a dark room to completely rewrite the Android code, so that it was both readable and scalable; despite its complexity. Rumours flew that I had died - and in some ways, I did....

    Not really ^ that just felt justifiably dramatic! :cyclops:

    So, utter! is reborn as Saiy® and Open Sourced, so it may have a chance of competing with the big boys, before they run away with all of our private data and souls, in order to use their services...

    Install Saiy from the Play Store - here

    Note - a direct download link will appear here shortly!

    You can get involved by checking out the Development Section in the app, or alternatively, if you're a curious Android Developer, check out the base code published on GitHub here

    The code base is pretty large, so briefly, there are two major classes in the app, that direct and distribute work elsewhere:

    SelfAware is the main Foreground Service, responsible for managing the application state and channelling voice recognition, text to speech and other API requests.

    Quantum is the main processing class, where commands are locally resolved (if required), sensibility checked and actioned.

    Understanding the above two classes is essential to following the flow of the full application logic.

    MyLog is a global verbose logging toggle. When enabled, the output will flow class to class, as well as display durations for time sensitive functions.

    The following remains for the sake of me needing some sleep and posterity :cowboy:

    About this thread

    Firstly, I’d like to thank everyone for the positive feedback and encouragement and the huge amount of messages I’ve received on YouTube, email, twitter, G+ and here on XDA volunteering to be involved in beta testing. It’s very much appreciated and I apologise that I cannot respond to them all. Please take this intro as a thank you.

    This thread is for your open discussion about utter! and the features you'd like to see included, so please feel free to throw your ideas back and forth (be nice to each other) and I’ll do my best to keep up with them when I have time.

    About utter!

    Unlike other voice applications, utter! will be configurable to the user, enabling you to assign spoken keywords to use the functionality of your favourite applications or make system related changes to your device. There's no cumbersome overlay or launching of another application to use the features, utter! sits in the background ready to be activated, whenever you want, without interrupting whatever you are doing.


    Which applications will initially be compatible?

    The more interest I can demonstrate in utter! the more likely your favourite application developer will want to make their functionality available to use. The purpose of the YouTube video and this thread is to get their attention and create a more functional first beta release.

    I’m a developer and I'd like features of my application to be utter! compatible.

    Please contact me to discuss how our applications can work together.
    119
    FAQs

    Q) Will an offline speech engine be built in?
    A) I hope so. I'm waiting to see what features of Google Now are made available to developers

    Q) What languages will it be available in?
    A) At first, English only. Once I have the framework functioning correctly, I can turn my attention to translations (thank you for the messages I’ve received offering translation help).

    Q) Will it use natural speech recognition?
    A) Over time it will, but in the testing stages commands will be more structured. As my algorithms develop, so will the application's ability to recognise exactly what you want.

    For the conversation mode I’m really up against it. I’m almost trying to reinvent the wheel knowing that Google are no doubt sitting on a very advanced algorithm purposely for this… They are more than welcome to allow me to use it…

    Q) How much is utter! going to cost when it’s out of beta?
    A) I don’t know as yet. Not more than a couple of dollars... I just need to make sure that whatever the price, it's more than worth it.

    Q) Which speech engine does it use?
    A) In the video I used IVONA beta (available on the Market here). This option is configurable so you can use a free or premium engine of your choice.

    Q) Google’s Project Majel will no doubt surpass this application. Why are you bothering?
    A) Perhaps.. It remains to be seen the direction Google take and whether their focus will be too much in the interest of nudging you towards Google services, rather than providing an open and configurable voice integrated assistant.

    For example: If you assign ‘Save Battery’ to a command, on detection utter! could go ahead and minimise your brightness level and screen time-out, turn off (or restrict) all data connections, set your device to GSM only, turn off vibrate functions and screen animations, underclock and undervolt your CPU (requires root) etc etc.. Is that what you expect from Majel? Personally, I don’t… [Update - I think I was right about this!]

    Q) How do I register to beta test!?
    A) Hang around this thread – thank you.

    Q) The icon you used in the video for utter! was lame!
    A) Yes! I just borrowed the inbuilt icon for now. If you think you can design a better one, please feel free! Maximum respect (at the very least) from the first post is offered in return!

    Q) Can you adapt Siri to do these things please?
    A) I honestly have had these requests – I’m afraid that’s not going to be possible now… or in the near/far future /ever…

    ----

    By genisis7
    attachment.php



    By goander
    Utter.jpg



    By joshaw
    attachment.php
    attachment.php



    By usaff22
    Capture.png
    101
    utter! release progress


    • FACEBOOK
    • TWITTER
    • CONTACTS
    • TASKER
    • BLUETOOTH
    • WIFI
    • MOBILE DATA
    • WORLD TIME
    • WORLD WEATHER
    • ROOT FUNCTIONS

    Credits


    pingpongboss - amazing StandOut library!
    usaff22 - amazing icon and artists impression work
    meadowsjared - Sharing his coding skills
    nobnut - previously unknown generosity
    waydownsouth - previously unknown patience and sharing of knowledge
    fahadayaz - Bug solving GEEK

    Permissions

    Code:
    All permissions are for device based command purposes. NONE of your personal data is uploaded or shared to any external server of any kind

    Change Log

    Code:
    V2.2.5A RELEASED
    
    Email
    Text
    Navigation
    Facebook
    Twitter
    Directory Searches
    Car Locator
    Play Music
    Visual Results
    Wave-to-wake
    
    + many more features added! Please see the command list in the app for details.
    Changed to foreground application with permanent notification to stop Android killing it!
    
    V2.2.4A RELEASED
    Skype fixed
    FC's fixed on some commands
    Speed increases
    Added troubleshooting menu
    Changed icon display
    Enabled background test code (hidden).
    
    V2.2.1A RELEASED
    Code and UI revamp.
    Converted to pre-beta background app
    Usage details in the application.
    
    V2.1.9.1A RELEASED
    
    MASSIVE CHANGES!
    Simply too many to list... 
    All details in the app
    
    V2.1.0A RELEASED
    
    Mobile data
    Twitter
    Facebook
    Contacts (algorithm test)
    
    Dropped 2.1 compatibility
    Fahrenheit added to weather
    Initialisation tweaked
    Custom listener tweaked
    Button labels and Loquendo sample now family friendly :eek:
    HUGE code rebuild
    
    V2.0.1A RELEASED
    
    Tasker integration!
    World Weather
    Custom Listener test
    Long-press-search integration
    Loads of bug fixes and code improvements.
    Fixed Weather and Time force closes on 2.1 & 2.2 devices
    
    V1.9A RELEASED
    Root-functions fixed
    Tablet compatibility fixed
    Errors when no recogniser fixed
    Loads of bug fixes and code improvements.
    
    V1.7A RELEASED
    Root-functions included!
    FIXED - Recogniser button errors
    Loads and loads of bug fixes and code improvements.
    
    V1.6A RELEASED
    World-Time included
    FIXED 'unknown' Bluetooth state message.
    Loads and loads of bug fixes and code improvements.
    
    V1.5A RELEASED
    Bluetooth voice control test included
    FIXED the V1.4A 4.0.3 ICS crash
    FIXED FC on back button from config tab
    FIXED FC when closing app
    FIXED FC for Galaxy Nexus TTS settings
    FIXED leaked Receiver
    Loads and loads of bug fixes and code improvements.
    
    V1.4A RELEASED
    WiFi voice control test included
    Loads of bug fixes and code improvements.
    
    V1.3A - RELEASED
    Fixed FC on Config Tab
    
    V1.2A - RELEASED
    Release version 'jumped' to match Play Store
    Totally rewritten UI code
    Totally rewritten engine logic
    Prevented override of localised English voice
    Added test contact loader
    Intro changed to audio file
    Option to record output to sdcard for translation help
    So much else that I've forgotten...
    
    V0.0.1A - RELEASED
    Long presses for association are not functional yet

    BUGS
    Code:
    IVONA registers itself in error, even if it may actually work. A full uninstall and reinstall of the IVONA files is required.
    Buttons don't reactivate occasionally after utterance - 'utterance' code depreciated.
    Weather and Time API's are useless for USA State searches. Need to change provider.

    utter! stable version is available from Google Play here.

    Saiy stable version is available from Google Play here.

    Latest test releases can be found in my more recent posts
    31
    Please release an Alpha version!!! PLEASE!!!

    JP
    Thanks for all of the comments and support folks. For all of those eager to test something I'm going to knock up a configuration apk over the weekend. Nothing too exciting I'm afraid, but digesting the comments I've realised I really need to initially focus on the following:

    1) Getting the very basic framework out so if you'd be so kind to test on your various devices I can catch early device, Android version, custom ROM/kernel bugs and get them right from the start. I need to make sure that if the correct voice data etc isn't already installed on your device I handle it correctly, depending on your location and other things.

    2) Configure the app to be multilingual from the start - If I leave this until a later date, I know I'll end up putting it off with it coming second to bugs and fixes and enhancements etc. Thank you for all of the messages offering translation support, it's really appreciated.

    3) A few of you have mentioned your accents not working well with other speech apps. This got me thinking that I need to be able to allow you to configure the raw voice data, rather than just keywords. So, for example, if you say 'load app cut the rope' and the voice data returns 'low dap cudder hope' (or something else just as random), then I need to be able to allow you to view the raw voice data and if necessary assign 'low dap cudder hope' to open cut the rope! That way it will be accent issue free for many of the functions.

    So, I'll work on a simple test apk over the weekend then you can all have a mess with your raw voice data and let me know your findings depending on your language etc. Thanks in advance.

    4) Build in a simple (at first) offline speech engine, that can be improved version by version. I'm looking at integrating Sphinx, but it's not going to be easy as there is limited documentation.

    5) Create an option that can immediately change utter! to text interaction only, rather than having to abort what you are doing and adjust this in the preferences. So, a 'mute' button of sorts.

    -------

    Again, thank you for all of the suggestions, I do scan through them when I have time and it's really helped me prioritise what I should be doing to make utter! more useful to you.

    Please keep the suggestions coming and perhaps let me know your thoughts on the following:

    a) What voice engines do you use? I want to be able to refer users to a link on the market (or direct download) for a suggested engine. I know this is a personal preference, but if for a certain language there seems to be majority agreement, then I'll go with that.

    b) Do I need to allow the default search engine to be configurable? Does anyone not use Google...?!

    c) What are your experiences of other voice applications? What are your personal essential features that they include and what are they missing?

    -----------

    Funding Update

    I've spoken to many potential partners and a very long story short, they each have their own commercial agenda, all of which I believe detract from the biggest appeal of utter!

    I want to be able to focus on utter! allowing you to use your own personal favourite applications, because that is the experience you have chosen, one which I want to enhance. I do not want to 'team up' with a limited number of selected commercial partners to provide your results in the hope you will then use their services.

    So, how can I achieve this?

    I'm going to go down the kickstarter route to raise as much funding as I can for the application. Briefly, every time I think of a function I wish to include, I think of a hundred eventualities and adjoining functions, I simply cannot do this to its full potential alone, so the funding will go towards the cost of outsourcing the Java development to assist me to build the application to the highest standards and quickly (without cutting corners)!

    Most importantly, I can focus on building the application based on its appeal, rather than a steered commercial angle.

    At the point the money I raise runs out, I will have the amount of downloads and popularity (hopefully) of the application to entice commercial partners and go from there.

    Having assessed all of my options, I think this is the best way forward all-round.

    Once I've written up the kickstarter brief (so much to do!), I'll post the link here. Just to clarify, you are not in any way expected to donate and never would be. If you do donate, you will of course have my gratitude and that of others. When the link appears, you all have the power of social media at your fingertips, so if you could share it on twitter, G+ etc that would be absolutely fantastic...

    Right, I best stop waffling and get coding!

    brandall
    26
    Tasker Plugin

    Please note - This thread will be updated specifically for Saiy very soon - I've been busy! I hope you can follow along, replacing utter! with Saiy in the mean time..... Do make sure you download the correct XML files at the bottom of this thread.

    Tasker Plugin Tutorial

    At present, the plugin has three main features:

    1) Speak
    2) Notify
    3) Pass variable values.

    Please download and import the attached utter! example project, to make it easier to follow the processes explained below. As with all tasks you haven’t created yourself, it’s a good idea to review the content within the XML on the sdcard, prior to importing them, as they could contain rouge actions. On this occasion, it might be ok to trust me though :)

    From the Tasker preferences, make sure beginner mode is not ticked and under the miscellaneous tab, tick ‘Allow External Access’ so the two applications can communicate.

    If you don’t see the imported utter! project, on the main Tasker screen, slide your finger downwards from the top of the screen (there is a faint white downwards pointing arrow), which will reveal the submenus.

    Make sure Tasker is turned on!

    Speak & Pass Variable Values

    The Profile smsReceivedU is activated when a text is received from anyone and triggers the task smsU. Click smsU to open it.

    You’ll firstly see a variable set action that is creating the voice content you want to pass to utter! The content consists of the message details. The second action is the Plugin configuration – tap on the action and then click edit.

    In the text box, you’ll see the content that you are going to ask utter! to speak. It can consist of just plain text, just variables, or a combination of both. For the sake of example, I used both. Save out of the plugin and go back to the task. Press the ‘play button’ at the bottom right of the task to ‘test’ it.

    At this point, Tasker may alert you that it will need to start monitoring your messages in order for the task to work correctly, accept the confirmation. When you press play, you hopefully will hear the information, including the populated variable content announced by utter! If you don’t, you may need to send yourself a quick text to populate the variables.

    * Note: occasionally, the activation of monitors (such as incoming texts) can be delayed. Saving all the way out of Tasker and opening it again seems to resolve this. Send yourself another text afterwards to confirm.

    When the profile smsReceivedU is ticked as active, your text messages will be read aloud when they are received. However, there may be situations when you want to choose whether you hear them or not.

    Head to the profile smsRecievedU – Interactive and open the triggered task smsU – Interactive. In action 1, you’ll see the content you are going to request utter! says and it contains a question about whether or not you want to hear the received message (the trigger for this task). Action #2 sets the message data that utter! will announce, if you confirm that you’d like to hear it. Click on the plugin action (#3) and press edit – You’ll see that the box ‘Send Value Only’ is ticked and the variable %smsdata (the message data) is entered to be sent to utter!

    * Note: There is currently no way for an external application to access the values of your Tasker variables (without a hack) due to privacy issues, as some of the data within the variables may be personal. As this is the case, you’ll need to select ‘Send Value Only’ in any tasks where you would like utter! to be made aware of a change in a variable value. These values are stored separately and securely by utter!

    Heading back to the task, action #4 is another plugin action, this time requesting that utter! immediately speaks the content of %tosay (configured in action #1). You’ll see that the ‘Start Listening’ box is ticked as you’ll need to answer the question!

    Now, when utter! announces ‘You’ve received a text message. Would you like me to read it?’ you’ll be aware that replying ‘yes, please read the message that is contained in the tasker variable I sent to you’ will result in utter! not knowing what on Earth you’re talking about! We need to configure a custom phrase within utter! to handle this.

    Heading into utter! select the customisation tab and click ‘Custom Phrase’. This is going to be handling our reply when utter! asks the question above. Enter ‘please read it’ in the phrase field (top box) and in the response box (bottom box!) %smsdata (case sensitive) and press ‘Create’.

    The result is, that when utter! asks ‘You’ve received a text message. Would you like me to read it?’, you can respond with ‘please read it’ and the custom phrase handler will detect the response is a variable name. The variable name will be substituted in the response for the current variable value (you sent it to utter! in action #3 of the task smsU – Interactive) and hey presto, your text message will be read out!

    For completeness, you may wish to add another custom phrase, where the phrase is ‘not right now thanks’ and the response is ‘okay, well let me know when you do’ – just to give it a little more personalisation… a bit nicer than just saying ‘cancel’.

    There are two more tasks in the project - drivingOnU and drivingOffU. These task turn the profile smsRecievedU – Interactive, on and off. You may wish to activate the Tasker profile 'hands-free' whilst driving, so from the Customisation Tab, click on 'Create Commands' and select 'Run Tasker Task'. Click on 'drivingOnU' and when prompted by utter! set the command phrase to something like 'I'm driving', the success words to 'drive safely' and the fail words to 'something went wrong!'

    Whenever you wish to activate the profile and have your messages announced, you can say 'I'm driving' and the profile will become active. Do the same again for the 'drivingOffU' task and you'll be able to toggle them by voice whenever you need to.

    To summarise, any variable values you want to keep utter! updated on so you can request the current value by voice, pass them in a ‘Send Value Only’ plugin action. Don’t forget, in the ‘Speak’ plugin action, utter! accepts plain text and variables in any order or combination.

    Notify

    Stipulating the interaction level of utter! (speak uninvited whenever / speak uninvited if I’m not at work etc) is coming soon, but in the mean time there may be variable content within your tasks that you’d like to be made aware of, but only when you’re good and ready. For this reason, you can connect the speech data to a notification, that when clicked, will begin to announce the content. This is handled by utter! rather than the Tasker ‘notification click’ action.

    The profile unlockedU is a quick example of how this works. The trigger is the device being unlocked (so you can easily test it out) and it fires the task infoU. The task infoU places some random device info into the variable %anyname in action #1. The utter! plugin action #2 sets the content for the notification (%anyname) and the box is ticked to confirm the Notification action.

    Press the ‘play’ button and you should see a notification appear. Clicking on it will begin the speech of the content placed in %anyname.

    To avoid cluttering the notification bar, currently only one notification is available. If another is activated, it will replace the content of the first one. This will eventually be configurable.

    Tasker, Llama & External App Support

    Users have requested to be able to switch the application off and on under certain circumstances and so I've exposed the ability to do this and other functions using intents from external applications. The applications must allow you to add 'data extras' to intents and you can now do the following:

    1 - Start the voice recognition
    2 - Start the permanent voice recognition
    3 - Stop the permanent voice recognition
    4 - Turn utter! off completely
    5 - Flush the memory utter! is using
    6 - Toggle driving mode
    7 - Toggle caller announcement
    8 - Toggle notification announcement

    I've created a separate Activity to do this. Normally you have to list the package name, followed by the class name.

    Package name - com.brandall.nutter
    Class name - com.brandall.nutter.EIH

    To stop any rogue applications firing off commands to utter! you need to go to the Power User Settings and create an alphanumeric password. That password will need to be entered in the data extras of the intent, to confirm you have 'authorised' it.

    Here is a screenshot of how it would look in Tasker. The command:2 refers to the permanent recognition above. If you put command:4 it would turn utter! off. The password:mypassword123 is the password of mypassword123 you set in the Power User Settings.

    attachment.php


    Each action must be labelled and immediately followed by a colon: before the content.

    command:
    password:

    I hope the above made sense?!

    ------------------------------------------------------------------------------------------------------------------------------------------------------
    NEW! - ADVANCED TASKER RECEIVER PROJECT

    Note: I've been informed that this project does not import correctly on the Gingerbread version of Tasker. I'm investigating.

    Before you read any further, this is for the more advanced Tasker users, who want to handle voice commands with their own custom Tasks. If you're new to Tasker, perhaps return to this post at a later date and get started with the project detailed above!

    For those that are still with me, import the Tasker Receiver Project below and then you'll need to tick the Send to Tasker box in the Try Again options (in the utter! Advanced Settings). Once you've done that, all unknown commands will be broadcast to Tasker to handle and the project you've imported will resolve them, or not....

    First thing to remember is that if utter! knows to send the voice data to Tasker, then it will not speak a response, such as 'I didn't understand that request' or something equally as irritating! It'll be up to you to handle any responses in Tasker - including when the voice data doesn't trigger a Task you've created.

    In the project there is a Master Command List, which at present contains the three commands, sausages, beans and chips. These are populated into an Array, which for all intents and purposes, is a list..... Every time Tasker receives voice data from utter! it will refresh this list, to make sure it picks up on any new commands you've created.

    It then gets a bit tricky - The voice data is also in the form of an Array, so the Task 'Voice Data Receiver' loops through each item in the voice data Array, whilst also looping (in a nested loop) through each item in your command Array. Basic pattern matching takes place on each command, so that if the voice data in any place contains the word 'sausages', it will trigger a match. This is using the Tasker regex of *sausages*. You can of course use more advanced regex should you wish.

    If a match is made, the Task looks for the index of the command number and that will then trigger the corresponding Task called 'CommandAction#', where the number at the end is populated by the index variable in the loop. The voice data is handed to this Task as a parameter, so you can do further analysis to look for more matching words, should you wish. An example would be a trigger command of 'display' and a further check for 'off' or 'on' in the voice data. The CommandAction# Tasks finish by performing an action (of course!) and providing the vocal response to utter!

    If no match is made, the negative voice response is set at the bottom of the Voice Data Receiver Task.

    There are notes placed inside the Tasks, which I hope will help to make the process a little more clear for you, as I confused myself writing the above :cyclops:

    If you get stuck, there are plenty of users and threads here on XDA that will come to your rescue. Check my signature below for a couple of links.