Music isn't just notes. Notes are notes. I would say that music is notes intentionally joined together, by someone or something, in an organized and meaningful way. A person can yell, and its sound is a particular note, or several notes, but it is not music. A cat mewing, or even a pot hitting the stove can sound a note, yet it is not music. And wind through the trees may sound beautiful, but I would deny that it is music.
Music is intentional, and not an accident. If a pianist is improvising and playing random notes, and stumbles upon some combination he or she likes, and decides to play them again, that choice would give the notes intention, and make music. Likewise if I am intentionally randomly humming a made-up tune, it is music. And if a child strikes a pot several times and several different ways, and means it to be music, then it is.
Is a birdsong music, or language?