Text this: Principles of counterpoint