pysynth/temp.py
def remove_key(self, key):

        """
        Removes an oscillator from the AudioCollection.

        :param key: Oscillator to remove
        """

        print("Removed key: {}".format(key.keysym))

        if key.keysym in self.osc_keys:

            # DO nothing,

            return

        if self.keys[key.keysym] not in self.aud._objs:

            # Nothing, return

            return

        self.aud.remove_module(self.keys[key.keysym])

        Removes an oscillator from the AudioCollection.

        :param key: Oscillator to remove
        
Removes an oscillator from the AudioCollection.
Removes an oscillator from the AudioCollection .
def remove_key(self, key):
        print("Removed key: {}".format(key.keysym))
        if key.keysym in self.osc_keys:
            return
        if self.keys[key.keysym] not in self.aud._objs:
            return
        self.aud.remove_module(self.keys[key.keysym])
def remove_key ( self , key ) : print ( "Removed key: {}" . format ( key . keysym ) ) if key . keysym in self . osc_keys : return if self . keys [ key . keysym ] not in self . aud . _objs : return self . aud . remove_module ( self . keys [ key . keysym ] )
Removes an oscillator from the AudioCollection.
Removes an oscillator from the AudioCollection .
"""
        Removes an oscillator from the AudioCollection.

        :param key: Oscillator to remove
        """ # DO nothing,
 # Nothing, return

self
key
Oscillator to remove
Oscillator to remove