It is not a genre, but several genres originate as occasional poetry, including epithalamia (wedding songs), dirges or funerary poems, paeans, and victory odes.
en.wikipedia.org The first, cyprs (cypress), is a mournful dirge adagio for organ solo, recalling a mournful cypress.
en.wikipedia.org Rows of candles arranged along the floor burn as a bagpiper plays a dirge.
en.wikipedia.org There are twenty-seven poems all together, including satires and letters, prayers and dirges, on a great variety of themes, both serious and humorous.
en.wikipedia.org He abandoned the somber mortician-themed attires, his funeral dirge ring music, allusions to the supernatural, and the accompanying morbid theatrics.
en.wikipedia.org