COPIYRIGHT IS USED IN A SONG. A song is made up of music and words. The melody as a musical work and the lyrics as a literary work are both covered by copyright. Both might be used independently and yet be protected. For example, a piano composition could be copied verbatim into a songbook without permission.
Only one party can own the copyright for a song. If you wrote the music, you should be given credit as a composer. If someone else wrote the music, they should be credited as a lyricist.
The owner of the copyright has the right to decide what happens to their creation. They can sell it, give it away, even perform it live. However, they cannot reproduce or distribute it without your consent unless it is done so for educational purposes or within the law (such as performance by a theatre company).
If you write a song that another person sings on the radio, you will probably want to get paid. However, before you try to do anything with your song, you should check with the performing artist's management team to make sure that you have the rights to release it. Sometimes artists' contracts include language that prevents them from releasing their songs through any other singer/songwriter.
What exactly is copyright? Copyright is the right to restrict the copying of intellectual property—in this example, music, lyrics, and sound recordings—so that the copyright owner may protect and regulate how their work is used. The three main rights afforded by copyright are the rights of reproduction, distribution and performance.
Reproduction means that only one copy can be made from a copyrighted work. For example, when you print out a page from a book, it's not legal for you to make multiple copies of that page. Copyright protects ideas, as well as tangible objects such as poems, songs, and stories. So, even if someone tells you how to fix a car or apply makeup, those ideas are protected by copyright and cannot be reproduced without permission from the owner of the copyright.
The second right is distribution. This means that more than one person can share in the benefit of the sale of a copyrighted work. For example, if I write a song that becomes a hit record, I could give away copies of it on file-sharing websites so other musicians can take inspiration from it. Distribution is different from reproduction because only one copy of the song is being shared at a time; however, many people are able to enjoy the benefit of the song through downloading it.
The third right is performance.
Music compositions *, like other types of creative expression, are legally protected under copyright. A musical composition's copyrighted parts might include melody, chord progression, rhythm, and lyrics—anything that exhibits a "minimal spark" of creativity and originality. The overall structure, arrangement, and context within which these elements are used can also be protected.
While it is not impossible to copyright a melody or chord sequence, it is difficult because they are basic building blocks of music that many people will use without authorization. Additionally, most melodies are based on traditional songs whose owners want to be paid for their use. Finally, many pieces of popular music have been extensively edited and reworked by multiple artists, so the original composition cannot be identified with certainty.
It is possible to obtain copyright protection for a work of art by including information about its artistic origin in your copyright notice. For example, if you created a cartoon character, you would need to register your cartoon with the United States Copyright Office before you could enforce your rights to it. Similarly, if you want to protect the design of your web page, blog post, or other online content, you should include a link to the page, blog post, or article where it can be found.
In conclusion, yes, you can copyright a melody.