My own view is that music in general has a meaning only in that it expresses emotions and imagination.
Individual pieces of music will have more specific purposes.

Birds sing to claim territory.

Dance music helps people to dance - and dances may have ritual meanings inside individual societies etc.