- #1

VMail

- 11

- 0

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 don't know what the

volume will be until the function is needed