pysynth/wrappers/midi/events.py
def from_object(cls, obj):

        """
        Creates a NoteOn event with the given object.
        """

        temp = cls(obj.note, obj.velocity)

        return temp

        Creates a NoteOn event with the given object.
        
Creates a NoteOn event with the given object.
Creates a NoteOn event with the given object .
def from_object(cls, obj):
        temp = cls(obj.note, obj.velocity)
        return temp
def from_object ( cls , obj ) : temp = cls ( obj . note , obj . velocity ) return temp
Creates a NoteOn event with the given object.
Creates a NoteOn event with the given object .
"""
        Creates a NoteOn event with the given object.
        """
cls
obj