pysynth/output/base.py
def gen_value(self):

        """
        Gets and sends the input from the synths to each output module.

        This allows audio information to be sampled only when it is necessary!
        Because modules block before getting information,
        all modules will be ready to receive information when this method is called.
        """

        # Iterate until we ge something valid:

        while True:

            # Pause if necessary:

            self._pause.wait()

            # Get some audio information:

            inp = next(self._input)

            if inp is None:

                continue

            # Iterate over our modules:

            for mod in self._output:

                # Add the input to the module:

                if mod.special:

                    # Ignore and continue:

                    continue

                mod.add_input(inp)

            return inp

        Gets and sends the input from the synths to each output module.

        This allows audio information to be sampled only when it is necessary!
        Because modules block before getting information,
        all modules will be ready to receive information when this method is called.
        
Gets and sends the input from the synths to each output module.
This allows audio information to be sampled only when it is necessary.
Because modules block before getting information,
all modules will be ready to receive information when this method is called.
Gets and sends the input from the synths to each output module . This allows audio information to be sampled only when it is necessary . Because modules block before getting information all modules will be ready to receive information when this method is called .
def gen_value(self):
        while True:
            self._pause.wait()
            inp = next(self._input)
            if inp is None:
                continue
            for mod in self._output:
                if mod.special:
                    continue
                mod.add_input(inp)
            return inp
def gen_value ( self ) : while True : self . _pause . wait ( ) inp = next ( self . _input ) if inp is None : continue for mod in self . _output : if mod . special : continue mod . add_input ( inp ) return inp
Gets and sends the input from the synths to each output module.
Gets and sends the input from the synths to each output module .
"""
        Gets and sends the input from the synths to each output module.

        This allows audio information to be sampled only when it is necessary!
        Because modules block before getting information,
        all modules will be ready to receive information when this method is called.
        """ # Iterate until we ge something valid: # Pause if necessary: # Get some audio information: # Iterate over our modules: # Add the input to the module: # Ignore and continue:
self