pysynth/utils.py
def finish(self):

        """
        Function called when this module is told to finish up whatever they are doing.

        This is called when the chain we are attached to is told to stop.
        This feature allows us to continue to add audio information when we are stopped,
        i.e we implemented a fade out when the note is stopped.

        THIS WILL PROBABLY ONLY BE CALLED BY AN OutputControl INSTANCE!
        OutputControl is designed to stop us nicely and gracefully,
        so if we are not managed by an OutputControl instance,
        then we probably won't be asked when we are ready to stop.

        Point is, your module should not rely on being asked to stop!
        If this module is stopped without being asked,
        then it should simply stop and not cause trouble. 

        When this module is ready to stop, 
        it should call the 'done()' method to dentoe that it is complete.
        By default, we include a call to 'done()' here,
        as most modules do not have special functionality when stopped.
        """ 

        # Call the 'done()' method if not overloaded:

        self.done()

        Function called when this module is told to finish up whatever they are doing.

        This is called when the chain we are attached to is told to stop.
        This feature allows us to continue to add audio information when we are stopped,
        i.e we implemented a fade out when the note is stopped.

        THIS WILL PROBABLY ONLY BE CALLED BY AN OutputControl INSTANCE!
        OutputControl is designed to stop us nicely and gracefully,
        so if we are not managed by an OutputControl instance,
        then we probably won't be asked when we are ready to stop.

        Point is, your module should not rely on being asked to stop!
        If this module is stopped without being asked,
        then it should simply stop and not cause trouble. 

        When this module is ready to stop, 
        it should call the 'done()' method to dentoe that it is complete.
        By default, we include a call to 'done()' here,
        as most modules do not have special functionality when stopped.
        
Function called when this module is told to finish up whatever they are doing.
This is called when the chain we are attached to is told to stop.
This feature allows us to continue to add audio information when we are stopped,
i.e we implemented a fade out when the note is stopped.

THIS WILL PROBABLY ONLY BE CALLED BY AN OutputControl INSTANCE.
OutputControl is designed to stop us nicely and gracefully,
so if we are not managed by an OutputControl instance,
then we probably won't be asked when we are ready to stop.

Point is, your module should not rely on being asked to stop.
If this module is stopped without being asked,
then it should simply stop and not cause trouble.

When this module is ready to stop,
it should call the 'done()' method to dentoe that it is complete.
By default, we include a call to 'done()' here,
as most modules do not have special functionality when stopped.
Function called when this module is told to finish up whatever they are doing . This is called when the chain we are attached to is told to stop . This feature allows us to continue to add audio information when we are stopped i . e we implemented a fade out when the note is stopped . THIS WILL PROBABLY ONLY BE CALLED BY AN OutputControl INSTANCE . OutputControl is designed to stop us nicely and gracefully so if we are not managed by an OutputControl instance then we probably won ' t be asked when we are ready to stop . Point is your module should not rely on being asked to stop . If this module is stopped without being asked then it should simply stop and not cause trouble . When this module is ready to stop it should call the ' done () ' method to dentoe that it is complete . By default we include a call to ' done () ' here as most modules do not have special functionality when stopped .
def finish(self):
        self.done()
def finish ( self ) : self . done ( )
Function called when this module is told to finish up whatever they are doing.
Function called when this module is told to finish up whatever they are doing .
"""
        Function called when this module is told to finish up whatever they are doing.

        This is called when the chain we are attached to is told to stop.
        This feature allows us to continue to add audio information when we are stopped,
        i.e we implemented a fade out when the note is stopped.

        THIS WILL PROBABLY ONLY BE CALLED BY AN OutputControl INSTANCE!
        OutputControl is designed to stop us nicely and gracefully,
        so if we are not managed by an OutputControl instance,
        then we probably won't be asked when we are ready to stop.

        Point is, your module should not rely on being asked to stop!
        If this module is stopped without being asked,
        then it should simply stop and not cause trouble. 

        When this module is ready to stop, 
        it should call the 'done()' method to dentoe that it is complete.
        By default, we include a call to 'done()' here,
        as most modules do not have special functionality when stopped.
        """ # Call the 'done()' method if not overloaded:

self