Threnody is a poem, speech, literary work, song or musical composition of lamentation, a dirge or funeral song to honor or commemorate those no longer living.

An example of threnody used in a sentence:

The composer's cello concerto was composed as a moving threnody for his dearly departed wife of 20 years.

More Info: www.thefreedictionary.com