Author Topic: prefix -> "post"-fix  (Read 2019 times)

0 Members and 1 Guest are viewing this topic.

Dave

  • $upporter
  • Sr. Member
  • *****
  • Posts: 139
  • Karma: 31
    • View Profile
prefix -> "post"-fix
« on: January 29, 2012, 03:18:53 PM »
Would it be possible or is there maybe a way yet to use the prefix-mode directly after a command?
I think this would feel much more natural with some phrases.
for example: my prefix is "Sarah" and with the command "Good night" VoxCommando turns of my Music, my TV and my lights.
But it would feel better to say "Good night, Sarah" instead of "Sarah, good night"

Of course I could use another phrase like "turn everything off", where the prefix makes more sense. But I enjoy talking to my computer like talking to a real person  :bonk

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2319
  • Karma: 47
    • View Profile
Re: prefix -> "post"-fix
« Reply #1 on: January 29, 2012, 03:44:41 PM »
Would it be possible or is there maybe a way yet to use the prefix-mode directly after a command?
I think this would feel much more natural with some phrases.
for example: my prefix is "Sarah" and with the command "Good night" VoxCommando turns of my Music, my TV and my lights.
But it would feel better to say "Good night, Sarah" instead of "Sarah, good night"

Of course I could use another phrase like "turn everything off", where the prefix makes more sense. But I enjoy talking to my computer like talking to a real person  :bonk
Haha, you can say "sarah", "good night" this is real enough  :biglaugh
But by the way, you can use "intercom with prefix", I can give you an example for this command tomorrow.

Kalle

PS: Dave ich habe den Eintrag hier im Forum wieder gefunden http://voxcommando.com/forum/index.php?topic=716.msg5599#msg5599
Mit einem solchen Befehl (Phrase) kannst Du "Good night Sarah" sagen, danach eine TTS Ausgabe "sleep well Dave" und alle Geräte schalten sich ab. Dürfte ohne probleme funktionieren.

Und hier sind die passenden xml dateien http://voxcommando.com/forum/index.php?topic=611.msg4415#msg4415   ::wave
« Last Edit: January 29, 2012, 04:08:24 PM by Kalle »
***********  get excited and make things  **********

Dave

  • $upporter
  • Sr. Member
  • *****
  • Posts: 139
  • Karma: 31
    • View Profile
Re: prefix -> "post"-fix
« Reply #2 on: January 29, 2012, 06:09:21 PM »
Danke Kalle!

Aber dann müsste ich das ganze für jeden Befehl wo das Sarah besser hinten als vorne klappt seperat anlegen, oder?
"good night" war ja nur ein Beispiel gibt ja noch mehr Phrases bei denen das "Sinn" machen würde (Goodbye, good morning, etc.)

Hmm, hab die xml mal ausprobiert, aber das klappt noch nicht ganz so wie ich mir das vorstelle. Ich nehme mal an ich muss bei "just one thing" always on aktivieren und dann als Phrase "good night sarah" eingeben?
dann wechselt er aber leider erst wieder in den standby, wenn ich einen weiteren befehl sage oder die idle-timeout zeit abgelaufen ist.

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2319
  • Karma: 47
    • View Profile
Re: prefix -> "post"-fix
« Reply #3 on: January 29, 2012, 06:57:04 PM »
Danke Kalle!

Aber dann müsste ich das ganze für jeden Befehl wo das Sarah besser hinten als vorne klappt seperat anlegen, oder?
"good night" war ja nur ein Beispiel gibt ja noch mehr Phrases bei denen das "Sinn" machen würde (Goodbye, good morning, etc.)

Hmm, hab die xml mal ausprobiert, aber das klappt noch nicht ganz so wie ich mir das vorstelle. Ich nehme mal an ich muss bei "just one thing" always on aktivieren und dann als Phrase "good night sarah" eingeben?
dann wechselt er aber leider erst wieder in den standby, wenn ich einen weiteren befehl sage oder die idle-timeout zeit abgelaufen ist.
Du hast recht, du müsstest das für jeden Befehl machen (ich kann mal schauen, ob sich da was mit einem logic Befehl machen lässt)

Den single prefix muss ich mir noch mal ansehen, ist schon wieder eine weile her, aber Du kannst immer an den Befehl immer ein vc.standby anhängen, wenn Du etwas Geduld hast, kann ich Dir morgen vielleicht eine Lösung anbieten.

Kalle
***********  get excited and make things  **********

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: prefix -> "post"-fix
« Reply #4 on: January 29, 2012, 08:38:01 PM »
you can't create a post-fix that works across all commands in the same way that the prefix does.

However if it is just for a few special commands you can create  a command such as "good night sarah" and in the LCB you can set this command to "always on" so that even if you are in standby, this command will still be executed and you won't need to say the prefix.  Of course if you are using prefix mode it will also be possible to say "sarah good night sarah" but you don't have to.

the "pay attention" command uses this technique to issue the VC.On command even though you are in standby.

Are you actually running in standby mode and using the prefix that way?  Or are you just using the prefix while you are in "on" mode?
« Last Edit: January 29, 2012, 08:54:22 PM by jitterjames »

Dave

  • $upporter
  • Sr. Member
  • *****
  • Posts: 139
  • Karma: 31
    • View Profile
Re: prefix -> "post"-fix
« Reply #5 on: January 30, 2012, 02:35:24 AM »
Thanks for all your help!
Yes, I'm running VC in standby mode, use the prefix for single commands and the "pay attention" command to set VC on for 15 seconds if I have a bunch of commands.
I think I'll try the always on option and seperate commands. Didn't realize zhis option until I experimented with intercom with prefix command by Kalle yesterday.

@Kalle: Nochmal vielen Dank, aber ich glaube ich komme jetzt zurecht. Werde es über always on lösen, dann bleibt VC auch im Standby. (Wenn VC bei mir auf on wechselt meldet es sich immer per TTS und das würde in dem Fall dann ja wieder nicht passen...)

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2319
  • Karma: 47
    • View Profile
Re: prefix -> "post"-fix
« Reply #6 on: January 30, 2012, 02:43:30 AM »
Thanks for all your help!
Yes, I'm running VC in standby mode, use the prefix for single commands and the "pay attention" command to set VC on for 15 seconds if I have a bunch of commands.
I think I'll try the always on option and seperate commands. Didn't realize zhis option until I experimented with intercom with prefix command by Kalle yesterday.

@Kalle: Nochmal vielen Dank, aber ich glaube ich komme jetzt zurecht. Werde es über always on lösen, dann bleibt VC auch im Standby. (Wenn VC bei mir auf on wechselt meldet es sich immer per TTS und das würde in dem Fall dann ja wieder nicht passen...)
Super, wenn Du eine funktionierende Lösung gefunden hast, kannst Du die Befehlsgruppe aus deinem Editor exportieren und unter "Tipps und Tricks" hochladen, ist bestimmt für den ein- oder anderen interessant.

Kalle
***********  get excited and make things  **********