Bach & the Patterns of Invention