Crank up your volume a bit, so you can hear what’s going on here:
So what do you think of the above? Personally, I don’t think the scanner actually played the Imperial March from Star Wars. My “proof”? Watch the beginning of the sequence again: the scanner moves consistently, yet the “note” changes to accommodate the melody.
Although I do think some modding was done to make the scanner assembly follow a routine. And the planning and hard work that made that necessary—even though ultimately useless—deserves some credit.
(PS: If you’re wondering what the Imperial March is, let me first pity you, then ask you to watch Star Wars)