pysynth/output/base.py
def add_output(self, out):

        """
        Adds an output module to this class.

        We ensure it inherits BaseModule, and then we add it.

        If we are currently running,
        then we start it and add it to the thread pool executor.

        If we are not started, then we will wait to add the modules until we have been.

        :param out: Output modules to add
        :type out: BaseOutput
        """

        # Ensure object is output module:

        assert isinstance(out, BaseOutput), "Class must inherit BaseOutput!"

        # Add ourselves to the module:

        out.out = self

        # Check if we are running:

        if self.run:

            # Start and add the module:

            self._submit_module(out)

        # Otherwise, add it to the collection and start it later:

        self._output.append(out)

        Adds an output module to this class.

        We ensure it inherits BaseModule, and then we add it.

        If we are currently running,
        then we start it and add it to the thread pool executor.

        If we are not started, then we will wait to add the modules until we have been.

        :param out: Output modules to add
        :type out: BaseOutput
        
Adds an output module to this class.
We ensure it inherits BaseModule, and then we add it.

If we are currently running,
then we start it and add it to the thread pool executor.

If we are not started, then we will wait to add the modules until we have been.
Adds an output module to this class . We ensure it inherits BaseModule and then we add it . If we are currently running then we start it and add it to the thread pool executor . If we are not started then we will wait to add the modules until we have been .
def add_output(self, out):
        assert isinstance(out, BaseOutput), "Class must inherit BaseOutput!"
        out.out = self
        if self.run:
            self._submit_module(out)
        self._output.append(out)
def add_output ( self , out ) : assert isinstance ( out , BaseOutput ) , "Class must inherit BaseOutput!" out . out = self if self . run : self . _submit_module ( out ) self . _output . append ( out )
Adds an output module to this class.
Adds an output module to this class .
"""
        Adds an output module to this class.

        We ensure it inherits BaseModule, and then we add it.

        If we are currently running,
        then we start it and add it to the thread pool executor.

        If we are not started, then we will wait to add the modules until we have been.

        :param out: Output modules to add
        :type out: BaseOutput
        """ # Ensure object is output module: # Add ourselves to the module: # Check if we are running: # Start and add the module: # Otherwise, add it to the collection and start it later:
self
out
Output modules to add
Output modules to add