# 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
        Converts notation in closing_notation into a lilypond string.
        :return: str
        '''
        lstring = ""
        for notation in self.closing_notation:
            result = notation.toLily()
            if type(result) == list:
                result = "".join(result)
            lstring += result
        return lstring

    def addNotation(self, obj):
        '''
        Method to add new notation. Use this rather than adding directly so new classes can be added automatically
        without needing to know which list to add it to in the main code.
        :param obj: the object to add
        :return: None
        '''
        add = True
        wrap_notation = [
            Arpeggiate,
            NonArpeggiate,
            Slide,
            Glissando,
            Mark.Caesura,
            Mark.BreathMark,
            GraceNote]
        # method to handle addition of notation: done here to avoid repetitive
        # code in main parser
        if isinstance(obj, Ornaments.Tremolo) or isinstance(obj, Tuplet):

# 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

        Converts notation in closing_notation into a lilypond string.
        :return: str
        '''
        lstring = ""
        for notation in self.closing_notation:
            result = notation.toLily()
            if type(result) == list:
                result = "".join(result)
            lstring += result
        return lstring

    def addNotation(self, obj):
        '''
        Method to add new notation. Use this rather than adding directly so new classes can be added automatically
        without needing to know which list to add it to in the main code.
        :param obj: the object to add
        :return: None
        '''
        add = True
        wrap_notation = [
            Arpeggiate,
            NonArpeggiate,
            Slide,
            Glissando,
            Mark.Caesura,
            Mark.BreathMark,
            GraceNote]
        # method to handle addition of notation: done here to avoid repetitive
        # code in main parser
        if isinstance(obj, Ornaments.Tremolo) or isinstance(obj, Tuplet):

            if isinstance(obj, Ornaments.Tremolo):