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