Programmers generate every possible melody in MIDI to prevent lawsuits
Here's a quick app I made to page through and play each of the melodies in the All the Music catalog: https://gen.co/allthemusic/?notes=53325332