"I noticed many developers were musicians"
How does that compare to other fields? That is, my previous dentist was a musician, I know authors who are musicians, I know scientists who are musicians.
Sting was a bus conductor, building labourer, and schoolteacher.
If developers are underrepresented, percentage-wise, as compared to other fields then all of these conclusions about a connection are wrong, or at least very weak.