Just a little friendly correction: In that form, you would use:

I heard it sung by a man.
They had sung a song

Otherwise, you would always use "sang" for the past.
I sang a song
...