utilities

The utilities subpackage contains utility functions that are neither mutations nor inspections.

Note

All utility functions are imported directly into the auxjad namespace. Therefore, to use a function such as auxjad.staff_splitter() you only need to import auxjad and instantiate the class from its namespace:

>>> import auxjad
>>> abjad.staff_splitter(staff)

Below is the full list of functions included in utilities. Click on their names for their individual documentation.

staff_splitter(staff, *[, threshold, …])

Takes an abjad.Staff or abjad.Selection and splits it into two staves using a reference pitch as threshold.