As posted by Masato, Sir John Stevenson (1761-1833) composed the air most used for the song, said to be based on a Scottish air.
A music clip is found at Oft in the Stilly Night
It would be interesting to compare this with the score in "Heart Songs."