Appendix B: Music Library Functions
To simplify making music, the Python Music Library defines many musical functions for you. These functions are organized in terms of four fundamental classes (Note, Phrase, Part, Score) and a few additional classes (Mod, Read, Write, View). Each of these functions may have several flavors, giving you increasing control and expression over musical parameters. These functions are presented below in terms of class.
B.2 Note Functions
Note objects contain the simplest possible musical events, consisting of pitch, duration, etc. The music library provides several functions to create musical notes. It also provides several others to retrieve or modify attributes (e.g., pitch) or existing notes. You ...