Announcement

Collapse
No announcement yet.

Some News...

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Some News...

    I finally got some good working code for XML reading AND writing elements in the SAPI XML file
    And you know what that means... now I'm going to be working on more code for XML to be better configurable.
    Now if I could just figure out how to replace <p VAL="400" with <RoutisDirectory> then it would be bliss... going to be working on that
    PowerVoice v1 | NaviVoice Source
    GammaControl v2.4
    SKINbedder v3

    1995 Lexus SC300

  • #2
    One of the major blessings of .NET. Easy XML reading and writing and best of all, serialization.
    AMD XP 2600+/512MB RAM/120GB hard drive
    Opus 150W/DVD/GPS/7" Lilliput TS/802.11g/Bluetooth
    Installed.


    -GPSSecure- - GPS Tracking
    -AltTabber2.2.2- - Handy touchscreen utility.

    Comment


    • #3
      Originally posted by xBrady
      One of the major blessings of .NET. Easy XML reading and writing and best of all, serialization.
      No, I'm not rewriting it in .NET. Too slow.

      Did some internal speed testings: to write 100 lines takes VERY quckly, so fast that a timer couldn't pick up on the speed!
      PowerVoice v1 | NaviVoice Source
      GammaControl v2.4
      SKINbedder v3

      1995 Lexus SC300

      Comment


      • #4
        Thank dog that SOMEONE is concerened about writing efficient code! Now that I'm in the real world trials of my carpc, my big problem now is performance. I have an Epia M10000 with 512mb but, although each piece of software that I've put in runs well, together there's a huge battle for cpu going on between them. I just added PhoneControl and hit the wall. When a call comes in, it takes about 10 seconds for the app to popup and display the caller id info. Too late! However, in checking task manager, I noticed a HUGE black hole of cpu... SAPI.

        If I have my microphone turned on while I'm blasting music out of the speakers, my cpu hits a solid 100%. When I kill the mic, it drops down to about 55%. I guess it's going crazy listening for me to say "Boris". I don't know if this is inherent in the sapi engine or if it's because Navivoice is doing its thing. Maybe cpu could be spared by not logging all that activity??

        Anyway, I've got to find a solution to the mic issue because it sometimes gets triggered by outside noises. I think I want an approach like a button on the steering wheel that would pause/mute music and turn on the mic. Now, as to how I implement that...????...
        Epia-M II M10000 Nehemiah WinXP sp2 Travla C134 case Carnetix 1260 power Xenarc 700TS XM Direct Toslink Extigy USB 5.1 Garmin GPS18 Linksys 802.11g wireless Nokia 6230 Bluetooth Memphis Amps Focal Speakers Frontend: RoadRunner

        Comment


        • #5
          Now you know why I'm not going the VIA route
          The logging should not take up a lot of CPU time because itsn't not continuous. Like if you read all the songs' data and put it in a list then it will take up CPU time, but otherwise no.

          Adjust the sensitivity settings under SAPI. NaviVoice listens for all commands but will only activate commands after it hears Boris, so it has to listen to all the commands that come through.

          About a button on the steerign wheel: its already implemented. Its a command line parameter
          Originally posted by wysocki
          Thank dog that SOMEONE is concerened about writing efficient code! Now that I'm in the real world trials of my carpc, my big problem now is performance. I have an Epia M10000 with 512mb but, although each piece of software that I've put in runs well, together there's a huge battle for cpu going on between them. I just added PhoneControl and hit the wall. When a call comes in, it takes about 10 seconds for the app to popup and display the caller id info. Too late! However, in checking task manager, I noticed a HUGE black hole of cpu... SAPI.

          If I have my microphone turned on while I'm blasting music out of the speakers, my cpu hits a solid 100%. When I kill the mic, it drops down to about 55%. I guess it's going crazy listening for me to say "Boris". I don't know if this is inherent in the sapi engine or if it's because Navivoice is doing its thing. Maybe cpu could be spared by not logging all that activity??

          Anyway, I've got to find a solution to the mic issue because it sometimes gets triggered by outside noises. I think I want an approach like a button on the steering wheel that would pause/mute music and turn on the mic. Now, as to how I implement that...????...
          PowerVoice v1 | NaviVoice Source
          GammaControl v2.4
          SKINbedder v3

          1995 Lexus SC300

          Comment


          • #6
            Oh yeh, just to mention: the whole program is going to be rewritten from the ground up. Full XML support. No INI. Easier configuration. No more notepad Less code repeats (going to put more things into their own procedures/functions).
            PowerVoice v1 | NaviVoice Source
            GammaControl v2.4
            SKINbedder v3

            1995 Lexus SC300

            Comment


            • #7
              Originally posted by 0l33l
              About a button on the steerign wheel: its already implemented. Its a command line parameter
              I searched and found the command line parameter "/listen", but now I have a couple of questions:

              1. Will Navivoice pause my mp3 player and mute my SPDIF input while it's listening and replying?

              2. What's the best way to trigger/release the listening (do I need to hookup a wire to my serial/parallel port or something)?
              Epia-M II M10000 Nehemiah WinXP sp2 Travla C134 case Carnetix 1260 power Xenarc 700TS XM Direct Toslink Extigy USB 5.1 Garmin GPS18 Linksys 802.11g wireless Nokia 6230 Bluetooth Memphis Amps Focal Speakers Frontend: RoadRunner

              Comment


              • #8
                Originally posted by wysocki
                I searched and found the command line parameter "/listen", but now I have a couple of questions:

                1. Will Navivoice pause my mp3 player and mute my SPDIF input while it's listening and replying?

                2. What's the best way to trigger/release the listening (do I need to hookup a wire to my serial/parallel port or something)?
                1) It'll pause your mp3 player, but will not mute the SPDIF while listening. I may add that functionality after v2.
                2) You just have a program that can open up Navivoice with that parameter. It will be just as if you said "boris".
                PowerVoice v1 | NaviVoice Source
                GammaControl v2.4
                SKINbedder v3

                1995 Lexus SC300

                Comment


                • #9
                  Originally posted by 0l33l
                  2) You just have a program that can open up Navivoice with that parameter.
                  Yeah, but how do I connect that button to that program?
                  Epia-M II M10000 Nehemiah WinXP sp2 Travla C134 case Carnetix 1260 power Xenarc 700TS XM Direct Toslink Extigy USB 5.1 Garmin GPS18 Linksys 802.11g wireless Nokia 6230 Bluetooth Memphis Amps Focal Speakers Frontend: RoadRunner

                  Comment


                  • #10
                    Originally posted by wysocki
                    Yeah, but how do I connect that button to that program?
                    Your choice. Serial is really easy. I'm gonna guess that Girder supports launching a program with special parameters.
                    PowerVoice v1 | NaviVoice Source
                    GammaControl v2.4
                    SKINbedder v3

                    1995 Lexus SC300

                    Comment


                    • #11
                      2008 350z GT Installed since April 22nd 2011 - Worklog
                      2000 Protege Installed Since April 2, 2005 - Intel D201GLY|Fusion Brain|ODBPros ODBII|Engenius|GPS Rikaline|Powermate|Motorized Lilli
                      Sound Stage
                      Eclipse|MTX|Infinity

                      Comment


                      • #12
                        Originally posted by -zip-


                        I have the code to read and write to the SAPI XML, but still waiting for some code for the program's XML.
                        Example of how I'm going to use XML for GammaControl:
                        Code:
                        <GammaControl>
                             <NightSettings>
                                  <RedChannel>0</RedChannel>
                                  <GreenChannel>0</GreenChannel>
                                  <BlueChannel>0</BlueChannel>
                             </NightSettings>
                             <DaySettings>
                                  <RedChannel>.10</RedChannel>
                                  <GreenChannel>.10</GreenChannel>
                                  <BlueChannel>.10</BlueChannel>
                             </DaySettings>
                             <Settings>
                                  <IgnoreOriginal>TRUE</IgnoreOriginal>
                                  <MinimizeAtStartup>TRUE</MinimizeAtStartup>
                             </Settings>
                        </GammaControl>
                        PowerVoice v1 | NaviVoice Source
                        GammaControl v2.4
                        SKINbedder v3

                        1995 Lexus SC300

                        Comment

                        Working...
                        X