Having studied both CS and music, IMO the skill threshold where you can get paid to code is a lot lower than where you can get paid to music (unless you get very, very lucky and get paid to music because of celebrity rather than skill).
In contrast, I've been making music for over ten years of my life and have gotten paid a handful of times.
It's hard to make money being an artist.