# Path: MuseParse/classes/ObjectHierarchy/ItemClasses/BaseClass.py
# class Base(object):
#     def __init__(self):
#     def toLily(self):
#     def __str__(self):
# 
# Path: MuseParse/classes/ObjectHierarchy/ItemClasses/Mark.py
# class Notation(object):
# class Accent(Notation):
# class StrongAccent(Notation):
# class Staccato(Notation):
# class Staccatissimo(Notation):
# class Tenuto(Notation):
# class DetachedLegato(Notation):
# class Fermata(Notation):
# class BreathMark(Notation):
# class Caesura(BreathMark):
# class Technique(Notation):
# class Bend(Notation):
#     def __init__(self, **kwargs):
#     def __str__(self):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def toLily(self):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
# 
# Path: MuseParse/classes/ObjectHierarchy/ItemClasses/Ornaments.py
# class InvertedMordent(BaseClass.Base):
# class Mordent(BaseClass.Base):
# class Trill(BaseClass.Base):
# class TrillSpanner(BaseClass.Base):
# class Turn(BaseClass.Base):
# class InvertedTurn(BaseClass.Base):
# class Tremolo(BaseClass.Base):
#     def toLily(self):
#     def toLily(self):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def toLily(self):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):


import math
from MuseParse.classes.ObjectHierarchy.ItemClasses import BaseClass, Mark, Ornaments



class Tie(BaseClass.Base):
    """
    Class representing a tie.

    Optional inputs:
        type: either start or stop. Stop isn't particularly useful to lilypond but may be used in other output formats.
    """

    def __init__(self, type):
        BaseClass.Base.__init__(self)
        if type is not None:
            self.type = type

    def toLily(self):
        lily = ""
        if hasattr(self, "type"):
            if self.type == "start":
                lily = "~"
        return lily



# Path: MuseParse/classes/ObjectHierarchy/ItemClasses/BaseClass.py
# class Base(object):
#     def __init__(self):
#     def toLily(self):
#     def __str__(self):
# 
# Path: MuseParse/classes/ObjectHierarchy/ItemClasses/Mark.py
# class Notation(object):
# class Accent(Notation):
# class StrongAccent(Notation):
# class Staccato(Notation):
# class Staccatissimo(Notation):
# class Tenuto(Notation):
# class DetachedLegato(Notation):
# class Fermata(Notation):
# class BreathMark(Notation):
# class Caesura(BreathMark):
# class Technique(Notation):
# class Bend(Notation):
#     def __init__(self, **kwargs):
#     def __str__(self):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def toLily(self):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
# 
# Path: MuseParse/classes/ObjectHierarchy/ItemClasses/Ornaments.py
# class InvertedMordent(BaseClass.Base):
# class Mordent(BaseClass.Base):
# class Trill(BaseClass.Base):
# class TrillSpanner(BaseClass.Base):
# class Turn(BaseClass.Base):
# class InvertedTurn(BaseClass.Base):
# class Tremolo(BaseClass.Base):
#     def toLily(self):
#     def toLily(self):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def toLily(self):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):


# Path: MuseParse/classes/ObjectHierarchy/ItemClasses/Note.py
import math
from MuseParse.classes.ObjectHierarchy.ItemClasses import BaseClass, Mark, Ornaments




class Tie(BaseClass.Base):
    """
    Class representing a tie.

    Optional inputs:
        type: either start or stop. Stop isn't particularly useful to lilypond but may be used in other output formats.
    """

    def __init__(self, type):
        BaseClass.Base.__init__(self)
        if type is not None:
            self.type = type

    def toLily(self):
        lily = ""
        if hasattr(self, "type"):
            if self.type == "start":
                lily = "~"
        return lily



class Notehead(BaseClass.Base):