Arduino Music Fader

Or copy the strategy into Your code....