When a guitar and a trumpet play the same pitch (e.g., A4 = 440 Hz), they sound unmistakably different. This distinction is due to timbre (tone color), which is shaped by each instrument's unique overtone series.
Guitar: Overtones depend on string tension, thickness, length, and plucking/strumming position. The sound decays naturally, with higher harmonics fading faster.
Trumpet: Overtones are shaped by the cylindrical/conical tubing, bell flare, and the player's embouchure, air speed, and lip tension. The player can actively manipulate the harmonic content in real time.
Even at identical pitch and loudness, the overtone "fingerprint" differs drastically, giving each instrument its unmistakable sonic identity. This is why we can instantly distinguish a guitar from a trumpet, a violin from a flute, or a piano from a synthesizer playing the same note.