Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: Speed dependant volume

  1. #11
    Maximum Bitrate SjLucky's Avatar
    Join Date
    Jul 2003
    Location
    Hattiesburg, Mississippi
    Posts
    750
    yes it can be done gavinzbits
    Quote Originally Posted by menudude View Post
    thank you all for your help minus the useless post by sjlucky...

  2. #12
    Low Bitrate
    Join Date
    Feb 2003
    Location
    Essex, England
    Posts
    57
    )))))))))))) How???? Is anyone willing to do it?
    Of all the things I've ever lost my sanity was the hardest to deal with

  3. #13
    Maximum Bitrate GingerPrince's Avatar
    Join Date
    Apr 2003
    Location
    Leeds, UK
    Posts
    533
    Quote Originally Posted by gavinzbitz
    )))))))))))) How???? Is anyone willing to do it?
    It would be fairly straightforward to do. You'd just need some code in your app (or even run it as a separate program that adjusts master volume) that reads NMEA strings from your serial port to get your speed, and calculate volume based on that.

    Say you wanted volume to vary linearly from 75% when stationary to 100% when at 60mph + you could implement this pseudocode: -

    GET speed FROM NMEA DEVICE
    newvolume = 75 + (25/60) * speed
    if newvolume > 100 then
    SET MASTERVOLUME = 100
    else
    SET MASTERVOLUME = newvolume
    end if

    Do this ever second or whatever and you have your solution. Main problem would be that you wouldn't (I don't think) be able to do this at the same time as running GPS software, they wouldn't both be able to view the serial port.

    Now maybe you could program this applet to forward all the NMEA strings to a virtual serial port or something and have your GPS software map to this, but this is beyond my skills (not being a programmer) so not sure if you could or not.

    GingerPrince

    Car changed for TVR Griffith 500, so computer de-installed. Using a Dension 100ix w/60Gb HD unit in the interim.

    Carputer Install - http://www.stuffandting.com/carputer/
    CarBox Software -- http://www.stuffandting.com/carbox/

  4. #14
    Maximum Bitrate
    Join Date
    Jun 2003
    Location
    Atlanta/Augusta, GA
    Posts
    505
    Why stop there? Let ME control the speed of your car too.

    cruisespeed = 75
    GET currentspeed FROM NMEA DEVICE
    if currentspeed < cruisespeed then
    SET ENGINERPM += 100
    end if
    if currentspeed > cruisespeed then
    SET ENGINERPM -= 100
    end if
    if currentspeed > SPEEDLIMIT && POLICE then
    SET ENGINERPM -= 10000000
    APPLY BRAKES
    end if

  5. #15
    Raw Wave
    Join Date
    Jun 2003
    Posts
    1,823
    But the speed of the car dont have much to do with the car noise. How about the engine speed? surrounding traffics? kids at the back? So you cant just adjust the volume based on car speed.

    what keeps the circuit from pickin up your music as the noise? if that was the case then you would blow everyone of your speakers and might cause some earing damaged if it isnt shut off quickly.

    You knows whats being played on your PC so from there it just a matter of rejecting those signals. You need to sample the noise and the music inside the car using a mic. You know the sound comming out of the PC. Do some DSP trick on both signals...and there you have it a filtered out noise Just adjust the volume based on the level of this noise.

    So simple...LOL maybe not in reality.

  6. #16
    Maximum Bitrate CarComp's Avatar
    Join Date
    Oct 2001
    Location
    Indiana
    Posts
    515
    This may end up being an option when we write our GPS module. We won't have to worry about conflicting with another GPS application, cause it will be integral with m.e.
    Get MediaEngine !!!
    Media Engine Download

  7. #17
    Low Bitrate
    Join Date
    Feb 2003
    Location
    Essex, England
    Posts
    57
    Is this the GPS module that will be based on Destinator code?? Or is that something completely different?
    Of all the things I've ever lost my sanity was the hardest to deal with

  8. #18
    Low Bitrate Maxis24's Avatar
    Join Date
    Jun 2003
    Location
    Rolla, MO
    Posts
    90
    Trust me guys, you don't want to have an automatic volume increaser. As my aviator suggests, I own a Focus and the stock radio system uses the "volume leveling" technology. It is a nice system because it allows the auto maker to save $$$ when producing a vehicle because they don't have to provide as much sound deadening material. The downsides to the system is that if the volume is up high already, the volume will be turned up to the point where it begins to blow your speakers. They system is also flawed because the ECU sends weird signals to the radio when transitioning from reverse to drive (sometimes) that result in volume being maxed out for 1/6th a sec.

    It is an interesting idea, but I have yet to find an execution of this system that I actually liked. Feel free to prove me wrong though.

  9. #19
    Low Bitrate QuickCarl's Avatar
    Join Date
    Jun 2003
    Location
    Atlanta
    Posts
    81
    My GM HU already has speed variable volume. Guess that is an advantage of having my Truckputer connected to the Aux using the PIE adapter.

    Don't other aftermarket pieces have that?

Page 2 of 2 FirstFirst 12

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
  •