pysynth/envelope/amp.py
def start(self):

        """
        Starts the ADSR envelope.

        We just schedule the relevant time events for attack and decay.
        """

        # Clear any lingering events:

        self.amp.cancel_all_events()

        # Set the attack time:

        self.amp.linear_ramp(self.max, self.attack + get_time())

        # Set the decay time:

        self.amp.linear_ramp(self.sustain, self.decay + self.attack + get_time())

        Starts the ADSR envelope.

        We just schedule the relevant time events for attack and decay.
        
Starts the ADSR envelope.
We just schedule the relevant time events for attack and decay.
Starts the ADSR envelope . We just schedule the relevant time events for attack and decay .
def start(self):
        self.amp.cancel_all_events()
        self.amp.linear_ramp(self.max, self.attack + get_time())
        self.amp.linear_ramp(self.sustain, self.decay + self.attack + get_time())
def start ( self ) : self . amp . cancel_all_events ( ) self . amp . linear_ramp ( self . max , self . attack + get_time ( ) ) self . amp . linear_ramp ( self . sustain , self . decay + self . attack + get_time ( ) )
Starts the ADSR envelope.
Starts the ADSR envelope .
"""
        Starts the ADSR envelope.

        We just schedule the relevant time events for attack and decay.
        """ # Clear any lingering events: # Set the attack time: # Set the decay time:
self