Thanks for liking the game! The music sample unlocking is a random process. Every sample could be unlocked randomly at the beginning, and when you unlock a new track, the chance of bars of that color being dropped will greatly increase.
But the blue one is really weird. There are several runs where I didn't get the blue until some very late point. Maybe I had a bug in it haha