Hammer-on
A fretting finger can sound a higher note without a second pick stroke.
The second attack is different
A hammer-on begins with one sounded guitar note, then a finger lands firmly on a higher fret of the same string. The new pitch comes from the fretting motion, so it often has a smoother and quieter onset than a picked note. It can connect two notes in a melody or make a repeated figure less mechanical. The technique depends on clear finger placement and enough string vibration to carry the second pitch.
Keep the phrase audible
Pick one note, hammer to a note two frets higher, then pick both notes separately for comparison. At slow tempo, listen to the second note’s volume and pitch. If it dies away, use a clean landing rather than a harder first pick attack. In a line with drums, the softened second note may be a nice answer to a strong beat. If that pitch must be the main accent, picking it may serve the arrangement better. A hammer-on is an articulation choice, not an automatic speed trick.
Related entries
Further reading
These source links provide technical background; the exercises above are Eidolon's own editorial guidance.