Hey!
Which effect? If you're talking about the instruments being muted to play sfx it's SwitchZetto's code. I exported 4 different audio tracks for each song: 2 pulses, 1 wavetable and 1 noise. When a sfx is played the corresponding track is muted.
If you're talking about something else let me know it. Thanks for playing Lunny 😊