A dirge was a lament for the dead, especially when it was part of a funeral. Nowadays the word is used to refer to mournful song, piece of music or poem, or one which just sounds dreadful and appears...
Lento
A sad song or poem of a person
fanfare