The music library defines many musical constants. These constants (words and abbreviations) can be used in place of numbers in your code. In many cases, each value is represented by several alternate constants (words). For example, the duration value 1.0 is equivalent to the constants QUARTER_NOTE and QN.