Lerp is overly complicated and I find it quite stupid that C2 doesn't have a basic fade music effect.
Develop games in your browser. Powerful, performant & highly capable.
try this :
1. use a global name it FADE
2. when (your_conditions) -> every tick, set volume to FADE
Volume fade in-fade out..
rex_audio_helper
http://c2rexplugins.weebly.com/
Same topic here: viewtopic.php?f=146&t=117246