Difference between revisions of "fadeMusic(fade speed, fade target)"
From pinHeck Wiki
(Created page with "Fades the currently playing music at speed to target. '''Example:''' fadeMusic(3, 0); Fade music to a volume of 0 over 3 seconds of time. fadeMusic(0, 0); Stops music imm...") |
(No difference)
|
Latest revision as of 21:25, 21 September 2014
Fades the currently playing music at speed to target.
Example:
fadeMusic(3, 0);
Fade music to a volume of 0 over 3 seconds of time.
fadeMusic(0, 0);
Stops music immediately - works the same as stopMusic()
After music is faded to 0 volume it is stopped. When a new music clip is started it will be at the default volume level.