A politician in Hamburg tried this method to keep the drunkards and louts (for lack of better nouns, I'll just leave it at that)
away from underground tunnels etc... Worked quite well but it's a bit sad having to "use" music for something like that.
There again, most people use music in a similar non-intellectual way to give themselves a "kick" as in:
to run "faster" or "longer",
to work out "better",
to get the chores done,
etc...

Such is the fate of this, the most precious of the human creative offsprings.
And such a pity that most people in this suggested scenario wouldn't ever cherish what they are hearing.

I think they ought to abandon this idea and, furthermore, ban all noise-producing cars from all town centres,
giving humans back the chance to hear themselves think. More peace, less acoustic smog is the best prerequisite
for listening and enjoying intellectually, good music.