This does some very wonky things in chromium based browsers if you switch to a different tab while it's playing.
It plays normal audio for about 3 seconds, then begins what seems like a very short loop of the last few notes - repeating the same sounds forever (or until you navigate back to the tab)
Same in Safari. It's pretty cool actually. In the demo, it does as you say when you switch tabs: plays a few more notes in the right channel, then holds the left in a loop of the last sample.