Samsung Watch 3 (tizen) simple STT (speech to text) stub app
New here? Learn about Bountify and follow @bountify to get notified of new bounties! x

Looking for a simple program (source) example for a samsung watch 3:

1) open app

2) Label "say something" and a "(Listen)" button.

3) Push the listen button and say something

4) Print "you said XXX" while "(Listen)" button is available to press again and restart process.

Thanks and I love you!

Adding more background to request:

I asked an app developer to add better voice functionality to one of their apps. They told me "I can't see how to do that". They agreed that if I could get a working example, they could implement it.

I downloaded the SDK and already looked at the STT docs you linked to. But they only have snippets and nothing that I could build directly. It's not worth my time spending a couple days digging into tutorials, so I thought I would see if someone else could cut and paste a working example.

My assumption is that this would be easy for a tizen developer. A standard skeleton loop and just adding the SST bits. Not being a Tizen developer though, I could be WAY off on the estimation of work.

Hopefully this makes sense!

awarded to Vlad

Crowdsource coding tasks.

2 Solutions


Hi aspitzer,

I think you could use this sample of application I found on github :
https://github.com/Samsung/Tizen-CSharp-Samples/tree/master/Mobile/SpeechToText

This sample is for mobile but you should be able to target wearable tizen.

Morever, you will find complete documentation about usage of Speech to text with Tizen here :
https://developer.tizen.org/development/guides/native-application/text-input-and-voice/speech-text

Won't hesitate if you need more help

Hey JrmyDev! A little background on this requests. I asked an app developer to add better voice functionality to one of their apps. They told me "I can't see how to do that". They agreed that if I could get a working example, they could implement it. I downloaded the SDK and already looked at the STT docs you linked to. But they only have snippets and nothing that I could build directly. It's not worth my time spending a couple days digging into tutorials, so I thought I would see if someone else could cut and paste a working example. My assumption is that this would be easy for a tizen developer. A standard skeleton loop and just adding the SST bits. Not being a Tizen developer though, I could be WAY off on the estimation of work. Hopefully this makes sense!
aspitzer 21 days ago
Winning solution

Hello,

Here's one possible solution. I'm not a Tizen developer, but hopefully you will find it useful:
https://github.com/vladpalos/simple-speech-to-text

It's all in this file:
https://github.com/vladpalos/simple-speech-to-text/blob/master/src/event_handler/uib_view1_event_handler.c

All the best,
V.

Hey Vlad! Do you know what I need to do to verify this in the SDK IDE? I selected a new project, but then there are a ton (too many) options... OR, do I need to build this some other way to test it? Thanks! 1) New Project 2) Template or Sample??? 3) Wearable 5.0
aspitzer 21 days ago
Hi! I added the project files to the repo. So now, it should be just a case of opening it in Tizen studio. I.E. Open Projects from File System -> Directory (select the git directory). After that you should be able just to run it. This is done using API V3 ( Wearable 3.0 platform ). There is a problem with running it through the emulator though. After you press the button, you have to wait a few seconds before saying something otherwise the engine won't record it. A lot of people on the inter-webs say that this is because of the way the emulator works and that it's always better to test it on a real device if you have one available (I don't have one). I built this with Template->Wearable 3.0 ->C/C++->UI Builder Single View (Circle)
Vlad 21 days ago
Thanks Vlad! With your help I was able to successfully get the project imported and running in the emulator. It works per the specs I requested. You are the best.
aspitzer 20 days ago
Perfect! I'm glad it helped!
Vlad 20 days ago
View Timeline