Re: [tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-12 Thread BurningTreeC
Update from the front: One can now change the recognized language to the BCP-47 language codes specified in https://cloud.google.com/speech-to-text/docs/languages Additionally, there's a setting ($:/config/speech-to-text/continuous set to "yes") that allows for continuous listening (listening

Re: [tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-12 Thread BurningTreeC
The cool thing is, that now if it recognizes keywords wrongly, users can just add keywords to the $:/config/speech-to-text/keywords tiddler and recognition gets better BurningTreeC schrieb am Donnerstag, 12. August 2021 um 15:54:35 UTC+2: > >I'm pretty sure it will since you know what you

Re: [tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-12 Thread BurningTreeC
>I'm pretty sure it will since you know what you doing, unlike me :-) I don't know if I know what I'm doing :D Best, BTC TiddlyTweeter schrieb am Donnerstag, 12. August 2021 um 15:52:26 UTC+2: > BurningTreeC wrote: > >> @TiddlyTweeter, I have changed the default so that it uses the websites

Re: [tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-12 Thread TiddlyTweeter
BurningTreeC wrote: > @TiddlyTweeter, I have changed the default so that it uses the websites *lang > *attribute or the system-default language > Thanks for such a swift reply! I'll test and report back if it don't work. I'm pretty sure it will since you know what you doing, unlike me :-)

Re: [tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-12 Thread BurningTreeC
@TiddlyTweeter, I have changed the default so that it uses the websites *lang *attribute or the system-default language TiddlyTweeter schrieb am Donnerstag, 12. August 2021 um 15:17:22 UTC+2: > BurningTreeC wrote: > >> Hi @TiddlyTweeter, we're working on making ANY API-supported language >>

Re: [tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-12 Thread TiddlyTweeter
BurningTreeC wrote: > Hi @TiddlyTweeter, we're working on making ANY API-supported language work. > We could imagine adding a tiddler $:/config/speech-to-text/language and > users can set the text of that tiddler to en-US, de-DE or whatever they like > Sounds great! *Just FYI. A side point.

Re: [tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-12 Thread BurningTreeC
Hi @TiddlyTweeter, we're working on making ANY API-supported language work. We could imagine adding a tiddler $:/config/speech-to-text/language and users can set the text of that tiddler to en-US, de-DE or whatever they like Some news from the front: users can now define their own keywords,

Re: [tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-12 Thread TiddlyTweeter
flanc...@gmail.com wrote: > @Strikke…, yes. Any language shown on the demo is theoretically be > supported by the plug-in. I’m not sure if there is a Danish translation of > TW. With my new idea to just use the TW language, there may be some > limitation. > Ciao Flanc ... After using this a

[tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-12 Thread TiddlyTweeter
flanc...@gmail.com wrote (my emphasis): > New idea I would like to share: Because of spoken commands in languages > other than English to > change the language again, I believe a better method would be to allow the > plugin to get the current language of TW, and auto-default to that setting. >

Re: [tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-11 Thread Finn Lancaster
Seems like some pretty solid ideas to look at, particularly the indicators. I can imagine a simple indicator as just a loop to send a tw notify event to display some text. On Wed, Aug 11, 2021 at 8:58 PM TW Tones wrote: > Flanc > > Just some thoughts while you are working on this. > > >- As

Re: [tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-11 Thread TW Tones
Flanc Just some thoughts while you are working on this. - As I hinted at before, in a similar manner to changing language or issuing commands I would love to be able to "OK tiddlywiki" from a listening state. Apart from the fact is allows a keyword activation it does celebrate

Re: [tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-11 Thread TW Tones
If while learning a language or practicing translation; We could speak words out loud in the language we are learning and get immediate feedback, in that language, and translated to our own language, it would be a way to practice without exposing ourselves in front of others. If the translator

Re: [tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-11 Thread Finn Lancaster
The NATO Phonetic Alphabet is a great example of something that may never be implemented as part of the plug-in, but could easily be achieved by custom commands! I think there’s just so much flexibility with the plug-in to do new and amazing things, so I really love when people like @R2 give

Re: [tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-11 Thread BurningTreeC
Hi @R² ... I kinda like the idea of the NATO phonetic alphabet :) flanc...@gmail.com schrieb am Mittwoch, 11. August 2021 um 15:33:06 UTC+2: > I know I’ve said it so many times already, but thank you so much for your > support! This is truly the first GitHub project that I’ve had this many >

Re: [tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-11 Thread Finn Lancaster
I know I’ve said it so many times already, but thank you so much for your support! This is truly the first GitHub project that I’ve had this many users for, and I along with BTC intend to keep the plug-in updated and always cutting-edge in features! On Wed, Aug 11, 2021 at 9:26 AM

Re: [tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-11 Thread strikke...@gmail.com
@flanc, I tested it once more- after importing the danish language plugin and it did write some sentences correct...and some rather amusing. It will be very useable though. In fact it is much better than I had hoped for, Danish being used by so few people. So nice, I know I will use this a lot.

[tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-11 Thread ludwa6
My €0.02 /worth from sunny Algarve PT: your plugin nailed my "Olá, como estás?" pretty darn close, except it put an H at the front, which makes it look Spanish to me. A bit wide of the mark tho with "Eu tenho muito saudades de ti," which it translated as "And you want to sell that to teeth".

[tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-11 Thread
Random idea: using the NATO phonetic alphabet "OK Wiki (Whiskey??) Lima [L for language switch] Charly Alfa [CA for Catalan]". You wouldn't only win on the "cool" factor. According to the Wikipedia, *The final choice of code words for the letters of the alphabet and for the digits was made

Re: [tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-11 Thread Finn Lancaster
@Strikke…, yes. Any language shown on the demo is theoretically be supported by the plug-in. I’m not sure if there is a Danish translation of TW. With my new idea to just use the TW language, there may be some limitation. On Wed, Aug 11, 2021 at 9:01 AM strikke...@gmail.com <

[tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-11 Thread strikke...@gmail.com
Hi flanc, I followed the link to Web Speech API Demonstration. Danish can be used, will it also be possible to use it using your plugin with Danish? Birthe On Wednesday, August 11, 2021 at 2:11:12 PM UTC+2 flanc...@gmail.com

[tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-11 Thread
Using TW's default language seems like a great idea. Also storing that value in wikitext would be even better, as anyone could easily change it without having to overriding any JS and therefore make it more user-friendly. Interesting explanations… So "African" was simply "Afrikaans"! Makes

[tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-11 Thread Finn Lancaster
New idea I would like to share: Because of spoken commands in languages other than English to change the language again, I believe a better method would be to allow the plugin to get the current language of TW, and auto-default to that setting. When the wiki language was changed, the plugin

[tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-11 Thread Finn Lancaster
Love the feedback! Something to do with the language names. Each of those language names were decided rather carefully, since, for example, catalan was understood in a different word every time, but the word "catalonian" was transcribed with perfect accuracy. One possible solution would be to

[tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-11 Thread BurningTreeC
Hello all, I've now changed the *Command *command to *Ok Wiki* I've made it also detect Okay Vicky, Ok WC, and more keywords ... If those of you who are testing this would report any other keywords we should add, that would be a great help What should work right now is *Ok Wiki change language

[tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-11 Thread TiddlyTweeter
Ciao Flanc... & BTC *SIDE NOTES ON API BEHAVIOR* This does not effect anything YOU two are doing. Merely observations on the "behaviours" of the recognitions. But I do think it is useful to understand the end-product the API issues forth. *1 -* There are occasional QUIRKY things that happen

[tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-11 Thread TiddlyTweeter
Ciao flanc ... I have lots to comment as this tool is fantastic! I'll start with a few general points ... *LANGUAGE CHANGE ISSUES * *1 - *BTC already clarified "one needs to say: *Command change language to <>*" and that actually, at the moment, "dutch" starts "german." :-) *2 -* *An issue

[tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-11 Thread
Hi Franc, Awesome stuff! Just a bit worried about the exact commands though. African and Slavic aren't languages so I wonder what they correspond to. Having putonghua or Mandarin would be more appropriate than Chinese as Chinese is a disparate group of languages — and it's worth mentioning

[tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-11 Thread PMario
On Wednesday, August 11, 2021 at 8:41:12 AM UTC+2 BurningTreeC wrote: > Hi @Finn, > you should change "dutch" to "german" :) > Hi, IMO it's not necessary to remove something, if it works but you should definitely add German. The TW full edition https://tiddlywiki.com/editions/full/ shows all

[tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-11 Thread BurningTreeC
It's worth mentioning that one needs to say: *Command change language to <>* BurningTreeC schrieb am Mittwoch, 11. August 2021 um 08:41:12 UTC+2: > Hi @Finn, > you should change "dutch" to "german" :) > > flanc...@gmail.com schrieb am Mittwoch, 11. August 2021 um 01:34:14 UTC+2: > >>

[tw5] Re: You ask, I Deliver: Language switching via Oral Command and a Promise of custom commands to come in the Text-to-Speech Plugin!

2021-08-11 Thread BurningTreeC
Hi @Finn, you should change "dutch" to "german" :) flanc...@gmail.com schrieb am Mittwoch, 11. August 2021 um 01:34:14 UTC+2: > *Text-to-speech-in-TW5 Version 1.0.4 is here!* > > As requested, I have implemented language switching to the following > languages: > > >- "african >-