The study of the music of J.S Bach is an excellent way to learn how to grasp the underlying principles of all good counterpoint. the musical principles and processes as applied by Bach are laws common to music in general. for instance, the means by which a composer keeps one voice distinct from the others around it are essentially the same for, say, Lasso, Bach, and Bartok.