pysynth/seq.py
def from_num(cls, num):

        """
        Creates a Note object from a number of steps away from A.

        Under the hood, we convert the number into pysynth notation,
        and then create an instance with those values

        :param num: Number to use when creating
        :type num: int
        :return: Note object representing the inputted number
        :rtype: Note
        """

        # Get converted values:

        octave, step = cls.convert(num)

        # Return:

        return cls(octave, step)

        Creates a Note object from a number of steps away from A.

        Under the hood, we convert the number into pysynth notation,
        and then create an instance with those values

        :param num: Number to use when creating
        :type num: int
        :return: Note object representing the inputted number
        :rtype: Note
        
Creates a Note object from a number of steps away from A.
Under the hood, we convert the number into pysynth notation,
and then create an instance with those values
Creates a Note object from a number of steps away from A . Under the hood we convert the number into pysynth notation and then create an instance with those values
def from_num(cls, num):
        octave, step = cls.convert(num)
        return cls(octave, step)
def from_num ( cls , num ) : octave , step = cls . convert ( num ) return cls ( octave , step )
Creates a Note object from a number of steps away from A.
Creates a Note object from a number of steps away from A .
"""
        Creates a Note object from a number of steps away from A.

        Under the hood, we convert the number into pysynth notation,
        and then create an instance with those values

        :param num: Number to use when creating
        :type num: int
        :return: Note object representing the inputted number
        :rtype: Note
        """ # Get converted values: # Return:
Note object representing the inputted number
Note object representing the inputted number
Note
cls
num
Number to use when creating
Number to use when creating