I've heard that person is called an ear witness. They did not see anything, but heard something. Examples might include, "I heard a..."
If the witness is testifying that HE heard the gunshots - it is called "direct evidence.' It is also a type called "testimonial" evidence as opposed to "demonstative" evidence. The testimonial evidence is that the witness testifies verbally that he heard the gun. The gun itself if entered into evidence would be demonstrative evidence.
Real
The witness testimony of having heard gunshots is an example of circumstantial evidence. This type of evidence does not directly prove a fact but instead suggests a conclusion based on the circumstances. It can support other evidence in establishing a case, but on its own, it does not provide direct proof of a crime.
This phrase implies that two gunshots were heard coming from the beach or shoreline. It suggests that a gun was fired twice in that location.
The word 'Testimony' comes from the Latin root word 'testi' which means witness, i.e, one who testifies in court is one who serves as a witness. The testimony is the official statement made by the witness under oath. -I heard on the 'History Channel' that testimony was given by men while holding onto one of their testicles. I guess the implication is if they are caught lying they lose one.
In "Number the Stars," the fireworks that Kristi thought she heard on her birthday were actually gunshots fired by the German soldiers during their occupation of Denmark. The noise made Kristi confused because she couldn't distinguish between the sounds of gunshots and fireworks.
An expert witness is someone that testifies according to their knowledge on a subject that pertains to the evidence given. Their expertise is needed to identify, test, and explain the evidence and how it is useful in proving information for either the innocence or guilt of a suspect. Examples of this would be trace evidence, DNA evidence, fingerprint analysis or ballistics. A lay witness, however, is a person that gives testimony based on direct knowledge of the person or crime. A lay witness does not testify based on any education. There is something called an expert lay witness, that could testify based on experience of something pertaining to the case.
I was preoccupied with my math problems when I heard the gunshots outside. Preoccupied with my thoughts, I didn't hear my friend say hello.
An Eye Witness
The "Fireworks" were the Danes blowing up the naval fleet so the Nazi's could not use it.
what a witness heard another person say about the crime
The witness testified about what she heard the defendant say.