How do I make an audio slowly shift into another audio

So the audio slowly fades out while another audio slowly fades in.

WickSound + Howler.

Howler (the library that Wick uses for its internal sound system) has a fading function.


var secs = 5;
sound1.getHowl().fade(1,0,secs);
sound2.getHowl().fade(0,1,secs);

Note, for this to happened like imagined, Both sounds have to be playing, and Sound #2 must be starting.

1 Like