Francis Poulenc
"Mélodies" continue to be composed, though perhaps the last uncontestedly great composer of them was Francis Poulenc, who died in 1963. He wrote nearly 150 "mélodies" of all sorts.