Who Wrote the Book of Psalms?

The Book of Psalms is attributed to David, who would become King of Israel when he was annointed by Samuel. David was a noted musician, and the psalms are hymns of thanksgiving, prayer, and supplication.