Solution 1:

You heard me [sing].

"Hear" is a catenative verb, and "sing" is an infinitival subordinate clause functioning as its catenative complement.

"Me" is the syntactic object of "hear", and the semantic subject of the subordinate clause.