Threnody

A threnody is a wailing ode, song, hymn or poem of mourning composed or performed as a memorial to a dead person. The term originates from the Greek word θρηνῳδία ("threnoidia"), from θρῆνος ("threnos", "wailing") and ᾠδή ("oide", "ode"), the latter ultimately from the Proto-Indo-European root *"h₂weyd-" ("to sing") that is also the precursor of such words as "ode", "tragedy", "comedy", "parody", "melody" and "rhapsody".
Synonyms include "dirge", "coronach", "lament" and "elegy". The "Epitaphios Threnos" is the lamentation chanted in the Eastern Orthodox Church on Holy Saturday. John Dryden commemorated the death of Charles II of England in the long poem "Threnodia Augustalis", and Ralph Waldo Emerson wrote a "Threnody" in memory of his son.
Examples.
In jazz: