This is the infinite jukebox. It takes similar parts of songs and links them to play a song infinitely. Imagine if we used this for an infinite mode on Beat Saber :
Simplest And Smallest Possible? Music Disc Shuffler/Automatic Jukebox (Java and Bedrock) : r/Minecraft