Music and Right Livelihood
Music is allowed for those observing the five precepts. This is the most basic practice. The five precepts:


I undertake the precept to refrain from destroying living creatures.
I undertake the precept to refrain from taking that which is not given.
I undertake the precept to refrain from sexual misconduct.
I undertake the precept to refrain from incorrect speech.
I undertake the precept to refrain from intoxicating drinks and drugs which lead to carelessness.


Music is not allowed for those observing the eight precepts (those observing uposatha) and ten precepts (for novice monks and full monks).
A livelihood in music is allowed by the following:

&quot;Monks, a lay follower should not engage in five types of business.
Which five? Business in weapons, business in human beings, business in
meat, business in intoxicants, and business in poison.
&quot;These are the five types of business that a lay follower should not
engage in.&quot; - AN 5.177

Music in some sense provides pleasure and maybe even intoxication, but the type of intoxication that is more controllable than alcohol or recreational drugs.
Many things can provide pleasure like food, sex, good thoughts, pleasant sights and sounds. The Middle Way of Buddhism prescribes limits on these for lay persons by way of the five precepts and lay person Right Livelihood.
The point is, do all forms of music make the lay person heedless? I don't think so. I know of people who consume alcohol and get intoxicated while dancing to trance music. That definitely makes a lay person heedless.
But a lay person listening to other types of music, like pop or classical or country, may not become uncontrollably heedless.
However, it is still a type of pleasant sensation. And for a lay person, all pleasant sensations should be experienced in moderation, in accordance with the five precepts and Right Livelihood.
Personally, I think if you use music to uplift a negative or depressed mind - it's even a skillful use of music for laypersons.
For serious practitioners, uplifting the mind using mindfulness of breathing (anapanasati) is better (as prescribed in the Vesali Sutta).