1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Lovely Curves

  1. Apr 27, 2005 #1
    This more of a maths question rather than a physics one, but I do remember doing something similar is my physics course.

    Basically I trying to write a fade in and fade out function
    for a volume control but I am stuck on the maths part. Thats where I
    need you.

    I've tryed a linear fade, but that does not sound good

    so y = volume (0-100)
    and x = time (0.5)

    time is fixed to 0.5sec but can alter slightly if needed

    volume will be one value from 0 to 100, but I dont know what the
    volume will be until the function is needed
  2. jcsd
  3. Apr 28, 2005 #2
    Just putting this PM here because I cant read the formula in the PM

  4. Apr 28, 2005 #3
    ok, I'm using

    to=0 to 475 (stepping by 25)
    and alpha as 1.01
    Vo is set at 50

    The values that I am getting are 16-45(rounded up)
    is this correct?
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook