
    rh                        S SK Jr  S SKrS SKJr   " S S\R
                  5      r " S S\5      r " S S	\5      r " S
 S\5      r	\
S:X  a  S SKJr  \" 5         gg)    )annotationsN)StrEnumc                  0    \ rS rSrSrSrSrSrSrSr	Sr
S	rg
)	StaffType   a  
These are the same as MusicXML staff-type, except uppercase and "other"
which reflects any other type.  Probably the best way of using "other"
is to designate what it means with a .editorial.staffTypeExplanation = 'other'

>>> stream.enums.StaffType.OSSIA
<StaffType.OSSIA: 'ossia'>

To get the musicxml name:

>>> stream.enums.StaffType.OSSIA.value
'ossia'

>>> stream.enums.StaffType('cue')
<StaffType.CUE: 'cue'>

>>> stream.enums.StaffType('tiny')
Traceback (most recent call last):
ValueError: 'tiny' is not a valid StaffType
regularossiacue	editorial	alternateother N)__name__
__module____qualname____firstlineno____doc__REGULAROSSIACUE	EDITORIAL	ALTERNATEOTHER__static_attributes__r       N/home/james-whalen/.local/lib/python3.13/site-packages/music21/stream/enums.pyr   r      s'    ( GE
CIIEr   r   c                       \ rS rSrSrSrSrSrg)GivenElementsBehavior.   appendoffsetsinsertr   N)r   r   r   r   APPENDOFFSETSINSERTr   r   r   r   r   r   .   s    FGFr   r   c                       \ rS rSrSrSrSrSrg)RecursionType4   elementsFirstflattenelementsOnlyr   N)r   r   r   r   ELEMENTS_FIRSTFLATTENELEMENTS_ONLYr   r   r   r   r'   r'   4   s    $NG"Mr   r'   c                       \ rS rSrSrSrSrSrg)
ShowNumber:   defaultalwaysneverr   N)r   r   r   r   DEFAULTALWAYSNEVERr   r   r   r   r0   r0   :   s    GFEr   r0   __main__)mainTest)
__future__r   enummusic21.common.enumsr   Enumr   r   r'   r0   r   music21r9   r   r   r   <module>r?      s[    #  (		 :G #G #  z J r   