Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - AshaiRey

Pages: [1]
1
VoxCommando Basics and Core Features / Re: VR recognition question
« on: November 04, 2016, 06:42:33 AM »
Well i've aded more commands for this test and it definitly improves the hit rate so this gives me the right feeling to work further on this to intergrate it in my system.

Using a prefix seems to be a hot item. As i understand this this will work like when you use a prefix you can give a command directly without saying first the attention phrase.
There are 2 issues that i have to consider.
The first one it the WAF. If the wife don't like it then i don't have a happy home.  ::) She have already a hard time using voice commands because her pitch and volume is quite different. Any change that  lowers the hit rate even a small bit is a no go.
Secondly is more technical. As said i use 5 mics in different rooms to listen to the attention phrase. I don't use the gating info from the XAP800 since it wasn't reliable enough for me. So the attention phrase has to have the info in it of the room you are in. What will happen if an attention phrase is detected is that all the other mics will be muted. This will prevent interference with the voice commands and gives a much higher hit rate.

I use a seperate command to put VR back into listening mode (stand bye) and unmute all the mics again.

2
VoxCommando Basics and Core Features / Re: VR recognition question
« on: November 03, 2016, 07:07:08 AM »
Oh, I almost forgot.

It looks like you are not using a prefix and I really recommend that you use one.  It will not only help to reduce false positives, it will also help to improve your confidence values for valid commands.  I know you are just testing but if you are going to use an always on open microphone with multiple inputs then a prefix is pretty much mandatory anyway.

Thx for your time invested into this. I will do some more testing and come back to it. However i would like to comment already on this. I do use always on open air mics. 5 mics, one in each room. I stepped away from using the gating info that the XAP800 mixer gave me because that was to unreliable to get that into my system. Instead i use an attention phrase for each room like Attention Willy in to [room]. I could use [Attention Willy] as a prefix. However i noticed an option in VC that I believe is also right to use. All commands are in standby mode but the 5 attention phrase are marked as always ON. I believe this will prevent many false positive during normal conversations in the room as they only will trigger as VC is set to ON. A test i did with this showed me that is was working as expected.

Quote
Another thing is that you may have your volume levels too high.  I can't know this but you said "The mic levels on the PC is at about 40-50%" and it might be better if the levels are more like 20% to 30%.  Some trial and error will tell but usually people think that louder is better and it isn't.
I am aware of not setting the sound levels too high. The max 40-50% l mentioned is at the PC mic input while i speak normally at a distance of 30cm. On average is speak at a distance of 150 cm and then the levels are around 20%. In some rooms i can speak up too about 6 meters away and i still will be heared. Due to this one mic per room setup i have to allow for some slack in the sound levels. I've balanced every room in the mixer to give me the same sound levels and quality. For this i used 30m shielded wire and attached it the the output of the XAP800 mixer that will lead into the PC mic in. On the other end i connected some good headphones. Due this olng wire i am able to go to every room and listen to what i say there. Using a laptop i adjusted the settings for each room till the levels where not to high, no echo, no noise and the background radio canceled out correctly so that i only hear my voice crisp and clear.

This setup is working fine for me for several years now. The only trouble i have is that VR is degrading over a course of a couple of weeks (Not using VC btw) and then the next day it's working 100% again to start degrading again. Software restarts and PC reboots have no effect on this liniar degrading so i suspects the the VR engine is storing things internally to even survive reboots.

I will make a more extended test with your remarks in mind and come back to you.
Thanks again for your effort this far.

Btw, one line in your testset made me laugh so badly.
This one : Sterf-op-straat Worst
In English i will be : Die on the street Sausage  :biglaugh

3
VoxCommando Basics and Core Features / Re: VR recognition question
« on: October 27, 2016, 03:31:37 PM »
Hi JitterJames,

Thx for your help this far.
First a little background. A few years ago i wrote my own VR client because i needed one that understand Dutch and had to run on Win7. So it's based on the MS SR11. With it i had my share of quirks and wonderings why thing work like that and not according the MS docs. On of those things is the confidence parameter you can set in C# code. I know it's a weighted value and not a % but i never had the feeling that it worked as it should with the Dutch language files. Having said this i didn't compare this with the English language files so that may be an experiment for later. My client is showing also an other odd behavior. It looks like that the sensitivity or the confidence level so to say isn't fixed but it shows a cyclic behavior. Over a few weeks the hit rate decreases until it becomes nearly deaf for all commands except the attention phrase and then suddenly it starts again hyper sensitive and triggering far to often.

I had looked at voxcommando before but i noticed recently that it now also supports Dutch so i look into it as if it could be an replacement for my own code. So back to the things that matter.

I can see why this is confusing for you.  This is a tough one to diagnose and I don't have any personal experience with the Dutch engine, but usually this happens when we say the command incorrectly. Perhaps there is something about the way you have structured your phrases and payloads that is causing this.

If I could see a log of this happening and also be able to view your command tree XML I might be able to suggest something.

Because i am just testing this i keep thing really simple to keep the number of variables low. I'll see what kind off logging and xml i can attach

Quote
Or if you are interested and you are comfortable speaking English to me, it might be more efficient for us to connect using TeamViewer so that I can see what is happening and try to diagnose the problem directly.
I am not comfortable with that because it's running on a dedicated home automation server. If i can sort this out i will install it on a different machine and have a go.

Quote
There are two things you should know that may alleviate some of your confusion.
1) Microsoft has an internal threshold for command confidence. I think it is at around 40 percent. We must have a confidence higher than this value before VoxCommando even gets a recognized event triggered
Interesting piece of info. I didn't know this.
So lowering it below 40 has no effect anymore.

Quote
2) The text at the top as we are speaking is "guessed text". Microsoft's speech engine generates several events as commands are partially understood. But these events do not indicate that a full command was understood completely. That is why I wonder if maybe your commands require you to say a final word or words in order to complete the command. If you are new to VoxCommando maybe you have misunderstood the rules of building command phrases.
Oke, this was a misunderstanding of mine. I thought that the text at the top was what the engine heard and would be used to check against the rules (grammar).

Oke i fabricated some files.
First a cleaned xml brought back to the minimum
I use an attention phrase "attention Willie in the kitchen" (attentie willie in de keuken). This will trigger an event in my home automation system and there everything is switched for audio in the kitchen

While i have attention i ask for the time "how late is it" (hoe laat is het)

Next i tell the system to end the session "go to sleep" (Ga maar slapen)

The controles i use are scrape and paramRaw. I want to see if using vbscript instead of http will speed up things a bit so nevermind those actions.

I use high end boundry mic's with a XAP800 for filtering, noise and echo canceling. I got a clear and crisp sound at the mic input on the PC. The mic levels on the PC is at about 40-50%

Edit.
I just did an new test with voxcommando.exe and the English engine. I replaced the Dutch phrases for English one and the response is far, far better now. It seems that the Dutch grammar files are of poor quality.

4
VoxCommando Basics and Core Features / VR recognition question
« on: October 27, 2016, 07:09:58 AM »
I am a bit confused here.
I am using VoxCommandoSP and have made a command tree with a few commands in Dutch. All the commands work, VC is picking them up and run the macro behind it.
So far so good. However i notice often that the sentence is correctly recognize as show in the top bar of the interfece but the command won't trigger. The history panel tells me vc. notrecogized. I've put down the confidence level as low as 5 but still no improvement.

According to me the speech recognizer detects the right words but the confidence level of that detection is most of the time lower then the confidence level that is set in the GUI.

5
I know this is an old topic but i want to add some info that might be helpfull for future reference.
Years back ik started to setup a multi room VR system with a XAP800. Now i have this running for years now and i kept a blog with my findings, results and solutions on VR and whole hpuse audio

Now i setting this up with voxcommando as VR to control my HomeSeer system. Previously is developed my own VR client to work with Dutch. At the pages below you can find many tips and background info why you should do things like that or not. Also available is the vbscript file to control this and the PSR file to configure your XAP800

For general information about setting up a whole house audio system
http://members.home.nl/b.vanzoelen/ZMC.htm

More detailed information about setting up VR
http://members.home.nl/b.vanzoelen/ZMCVRpart1.htm

Hope this will help anyone.

Pages: [1]