waiting with great excitment
waiting with great excitment
Well, it's almost a month since I first post. As of now, I still have no idea how to detect when iG gives instruction. iNav make it so freaking difficult to detect the event. I kind of don't want to go the route that iGmon did by comparing sound level. In the mean time, the best option I could do is detect when Guidance screen come up then execute GPS command.
Hopefully I'll have it done by holiday travel time (X-mas) or whenever next offical RoadRunner release.
I hope so too :)
I know you said you don't want to go the route of detecting the audio, but it may be the best way to go.
When I had iGMon set up with iG 2.x, it worked VERY well. The other advantage is, whenever iG speaks something, that is the perfect time to bring the screen to the front. EA: On a highway it will usually tell me "Turn Right in 2 miles", on a slower street, it may say it at a much shorter time before the turn. Regarless, when iG speaks, that is when it is trying to get you attention, and the screen changing at that time would be spot on.
It would also negate the need to try to get into iG's code, which is quite elusive, as you mentioned.
Alright guys, I need some input from you guys to make this thing rolling.
In order to use the sound level comparision I need to know the following 2 settings.
What is the typical wave volume setting you guys have in the mixer?
How often you guys change this setting?
Does other player, XM, Sirus, FM, WinDVD, PowerDVD change the setting by itself? I think PowerDVD change the wave setting on start up.
what setting you guys has for iGuidance?
Let say, in the mixer, you guys set the wave slider to 50%, iGuidance volume setting has to be somewhere higher 60% for sound level comparision to work.
Basically I'll try to read the current wave volume then check when this level change and automatically switch to GPS screen.
So far, the method of looking for "Guidance" windows work really well, but that slow down the system if you playing DVD or Video (so much resource intensive) and I have to find a different way of doing it.
hate to throw another idea in the hat when u seem like ur goin this direction but why not monitor the access of the .wav files in the iguidance directory? That way the actual volume wouldnt matter.
thats a good idea sonic. that would negate the volume issure if one were able to monitor file status. which should be able to be done. another idea would that it doesnt need to run constantly put it to sleep would be useful, like run every 5 sec, or 10? that way it might not be as intensive. what y'all think?
autoit can scan a folder of 100 files for usage every second without making the cpu hiccup :) i've done it before.
I don't know how autoIt check for the files, but if it rely on LastAccessTime attributes, it will fall in the same boat as above. Also, keep autoIt constantly running will slow down the system for sure.
Anyway, if you guys has other idea, just throw it out and maybe we can come up with something. As of now, I will go with checking for Guidance screen and monitor the sound level on the wave line.
actually auto-it uses an advance last access attribute that proves the information real-time. I'll have to work somethin up when i have the time as its been awhile since i used those functions.