The harpsichord generates sound by plucking strings when keys are depressed, in contrast to the piano which strikes them.