Creating adaptive audio

Hi all. I’d like to know how to create adaptive audio in a game. For example, with the dev game "Tappy Chicken’ i’d like to be able to have background music that changes when the player hits the wall; bit like on Super Mario when the music gets interrupted by a little melody when you lose a life.

could anyone help?

Thanks,

I expect the easiest way to handle this is by using a branch node in a sound cue, but there is also a switch node (on int) which would allow for more choice.