pysynth/output/modules.py
def add_converter(self, conv):

        """
        Adds the given converter to the output module.

        The converter MUST inherit BaseConverter,
        or an exception will be raised.

        :param conv: Converter to add
        :type conv: BaseConverter
        """

        # Check if the converter inherits BaseConverter

        assert isinstance(conv, BaseConverter), "Converter MUST inherit BaseConverter!"

        # Otherwise, add it to this module:

        self.convert = conv

        Adds the given converter to the output module.

        The converter MUST inherit BaseConverter,
        or an exception will be raised.

        :param conv: Converter to add
        :type conv: BaseConverter
        
Adds the given converter to the output module.
The converter MUST inherit BaseConverter,
or an exception will be raised.
Adds the given converter to the output module . The converter MUST inherit BaseConverter or an exception will be raised .
def add_converter(self, conv):
        assert isinstance(conv, BaseConverter), "Converter MUST inherit BaseConverter!"
        self.convert = conv
def add_converter ( self , conv ) : assert isinstance ( conv , BaseConverter ) , "Converter MUST inherit BaseConverter!" self . convert = conv
Adds the given converter to the output module.
Adds the given converter to the output module .
"""
        Adds the given converter to the output module.

        The converter MUST inherit BaseConverter,
        or an exception will be raised.

        :param conv: Converter to add
        :type conv: BaseConverter
        """ # Check if the converter inherits BaseConverter # Otherwise, add it to this module:
self
conv
Converter to add
Converter to add