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

        """
        Adds an oscillator from the AudioCollection.

        :param key: Oscillator to add
        """

        print("Added Key: {}".format(key.char))

        if key.char in self.osc_keys:

            # Generate a new oscillator mp

            self.keys = gen_oscs(self.osc_keys[key.char])

            return

        if self.keys[key.char] in self.aud._objs:

            # Nothing, return

            return

        self.aud.add_module(self.keys[key.char])

        Adds an oscillator from the AudioCollection.

        :param key: Oscillator to add
        
Adds an oscillator from the AudioCollection.
Adds an oscillator from the AudioCollection .
def add_key(self, key):
        print("Added Key: {}".format(key.char))
        if key.char in self.osc_keys:
            self.keys = gen_oscs(self.osc_keys[key.char])
            return
        if self.keys[key.char] in self.aud._objs:
            return
        self.aud.add_module(self.keys[key.char])
def add_key ( self , key ) : print ( "Added Key: {}" . format ( key . char ) ) if key . char in self . osc_keys : self . keys = gen_oscs ( self . osc_keys [ key . char ] ) return if self . keys [ key . char ] in self . aud . _objs : return self . aud . add_module ( self . keys [ key . char ] )
Adds an oscillator from the AudioCollection.
Adds an oscillator from the AudioCollection .
"""
        Adds an oscillator from the AudioCollection.

        :param key: Oscillator to add
        """ # Generate a new oscillator mp
 # Nothing, return

self
key
Oscillator to add
Oscillator to add