dupa

Author Topic: Robert: Feature request  (Read 2811 times)

knight2000

  • Full Member
  • ***
  • Posts: 155
    • View Profile
Robert: Feature request
« on: June 01, 2017, 04:48:26 pm »
One feature that would be nice to have for the new Hal 7 would be to have the mic silenced when Hal is responding to the user. This would eliminate Hal's voice from "back feeding" into the mic.

onthecuttingedge2005

  • Guest
Re: Robert: Feature request
« Reply #1 on: June 04, 2017, 11:45:52 am »
Hi Knight.

actually what you ask can be done with script alone, no hard wiring needed, <Mic> command, I used it to make a script awhile back so users could verbally tell HAL to turn on or off the mic verbally.

Look for the Mic script in the forum archives.

the script was pretty straight forward and easily understood.

I could write it for you but why should I have all the fun...

http://www.ultrahal.com/community/index.php?topic=4079.msg23328#msg23328

Jerry.
« Last Edit: June 04, 2017, 02:14:42 pm by onthecuttingedge2005 »

knight2000

  • Full Member
  • ***
  • Posts: 155
    • View Profile
Re: Robert: Feature request
« Reply #2 on: June 05, 2017, 10:25:27 am »
Hi onthecuttingedge2005, thanks for the info. What I'm looking for is to have the mic automatically muted while Hal is speaking, then automatically unmuted when he finishes speaking. Would it be possible with your script? It seems like this is a feature that would have to be written deeper in the code.

Thanks!

onthecuttingedge2005

  • Guest
Re: Robert: Feature request
« Reply #3 on: June 05, 2017, 05:26:46 pm »
Hi onthecuttingedge2005, thanks for the info. What I'm looking for is to have the mic automatically muted while Hal is speaking, then automatically unmuted when he finishes speaking. Would it be possible with your script? It seems like this is a feature that would have to be written deeper in the code.

Thanks!

Hi knight2000.

here are some helpful choices to play with.

Code: [Select]

<SHOWHAL>
<HIDEHAL>
<SHOWCAL>
<SHOWEVENTS>
<SHOWOPTIONS>
<MICOFF>
<MICON>
<MICTOGGLE>
<VIEWCHAT>
<AUTO>miliseconds</AUTO>
<AUTOOFF>
<HALPAD>
<HALPAD>file-path</HALPAD>
<VOICE>new voice</VOICE>
<SPEAK>Text to speak</SPEAK>
<DIAL>Phone</DIAL>
<HAPBACK>jpeg path</HAPBACK>
<AGENTXY>X,Y</AGENTXY>
<MSAGENT>Anim name</MSAGENT>
<HAPFILE>Hap file</HAPFILE>
<HAPTEXT>Hap text</HAPTEXT>
<RUNPROG>Prog name</RUNPROG>
<RESPOND>User sent</RESPOND>
<CUSERNAME>New user name</CUSERNAME>
<CHALNAME>New Hal Name</CHALNAME>
<RUNCMD>1 line of VBScript</RUNCMD>


maybe this will help if it is possible.