Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Some News...

  1. #1
    My Village Called 0l33l's Avatar
    Join Date
    Jul 2004
    Location
    Berkeley, CA
    Posts
    10,516

    Lightbulb 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

  2. #2
    Super Moderator xBrady's Avatar
    Join Date
    Apr 2004
    Location
    USA
    Posts
    3,687
    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.

  3. #3
    My Village Called 0l33l's Avatar
    Join Date
    Jul 2004
    Location
    Berkeley, CA
    Posts
    10,516
    Quote 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!

  4. #4
    Maximum Bitrate wysocki's Avatar
    Join Date
    Mar 2004
    Location
    Los Angeles Area
    Posts
    467
    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

  5. #5
    My Village Called 0l33l's Avatar
    Join Date
    Jul 2004
    Location
    Berkeley, CA
    Posts
    10,516
    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
    Quote 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...????...

  6. #6
    My Village Called 0l33l's Avatar
    Join Date
    Jul 2004
    Location
    Berkeley, CA
    Posts
    10,516
    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).

  7. #7
    Maximum Bitrate wysocki's Avatar
    Join Date
    Mar 2004
    Location
    Los Angeles Area
    Posts
    467
    Quote 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

  8. #8
    My Village Called 0l33l's Avatar
    Join Date
    Jul 2004
    Location
    Berkeley, CA
    Posts
    10,516
    Quote 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".

  9. #9
    Maximum Bitrate wysocki's Avatar
    Join Date
    Mar 2004
    Location
    Los Angeles Area
    Posts
    467
    Quote 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

  10. #10
    My Village Called 0l33l's Avatar
    Join Date
    Jul 2004
    Location
    Berkeley, CA
    Posts
    10,516
    Quote 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.

Page 1 of 2 12 LastLast

Similar Threads

  1. Anyone interested in a News Reader?
    By reefhippie in forum Software & Software Development
    Replies: 4
    Last Post: 01-14-2005, 04:23 PM
  2. News on the 07 version
    By netsuo in forum NeoCar Media Center
    Replies: 14
    Last Post: 11-06-2004, 09:01 PM
  3. latest mp3car news
    By Grayscale in forum General MP3Car Discussion
    Replies: 5
    Last Post: 08-07-2004, 11:29 AM
  4. Good news, Bad news...
    By 666sin in forum General Hardware Discussion
    Replies: 7
    Last Post: 04-13-2001, 11:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •