Watch the Hammer-Ons: 2 online guitar lesson by Muriel Anderson from 1-2-3 Fingerstyle Guitar

The timing is really important in this riff from the classic fingerstyle tune "Windy and Warm." The thumb plays the bass at about the same time that the hammer-on finger lands on the fretboard.