Source code for pymusicxml.enums

"""
Module containing relevant Enums used throughout pymusicxml.
"""

#  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  #
#  This file is part of SCAMP (Suite for Computer-Assisted Music in Python)                      #
#  Copyright © 2020 Marc Evanstein <marc@marcevanstein.com>.                                     #
#                                                                                                #
#  This program is free software: you can redistribute it and/or modify it under the terms of    #
#  the GNU General Public License as published by the Free Software Foundation, either version   #
#  3 of the License, or (at your option) any later version.                                      #
#                                                                                                #
#  This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;     #
#  without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.     #
#  See the GNU General Public License for more details.                                          #
#                                                                                                #
#  You should have received a copy of the GNU General Public License along with this program.    #
#  If not, see <http://www.gnu.org/licenses/>.                                                   #
#  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  #

from enum import Enum


[docs]class LineEnd(Enum): up = "up" down = "down" both = "both" arrow = "arrow" none = "none"
[docs]class LineType(Enum): solid = "solid" dashed = "dashed" dotted = "dotted" wavy = "wavy"
[docs]class HairpinType(Enum): crescendo = "crescendo" diminuendo = "diminuendo"
[docs]class StaffPlacement(Enum): above = "above" below = "below"
[docs]class ArpeggiationDirection(Enum): up = "up" down = "down"
[docs]class AccidentalType(Enum): flat_flat = "flat-flat" double_flat = "flat-flat" flat = "flat" natural = "natural" sharp = "sharp" double_sharp = "double-sharp"