I had this idea too when @VanishedKevin told me that he added a block that makes an explosion sound in his redstone plugin. You can't realy play music from a file, but you can make melodies with explosion sounds