pysynth/utils.py
def comp(self):

        """
        Exponentially ramps the value to a target over a time period.

        We use this formula for our calculations:

        v(t) = V0 * (V1 / V0) ^ ((t - T0) - (T1 - T0))

        t = current time
        V0 = Initial value
        V1 = Target value
        T0 = Initial time
        T1 = End time

        :return: New value
        :rtype: float
        """

        # Do the calculation and return the value

        return self.value_start * (self.val_div) ** \
               ((get_time() - self.time_start) / (self.time_dif))

        Exponentially ramps the value to a target over a time period.

        We use this formula for our calculations:

        v(t) = V0 * (V1 / V0) ^ ((t - T0) - (T1 - T0))

        t = current time
        V0 = Initial value
        V1 = Target value
        T0 = Initial time
        T1 = End time

        :return: New value
        :rtype: float
        
Exponentially ramps the value to a target over a time period.
We use this formula for our calculations.




Exponentially ramps the value to a target over a time period . We use this formula for our calculations .
def comp(self):
        return self.value_start * (self.val_div) ** \
               ((get_time() - self.time_start) / (self.time_dif))
def comp ( self ) : return self . value_start * ( self . val_div ) ** ( ( get_time ( ) - self . time_start ) / ( self . time_dif ) )
Exponentially ramps the value to a target over a time period.
Exponentially ramps the value to a target over a time period .
"""
        Exponentially ramps the value to a target over a time period.

        We use this formula for our calculations:

        v(t) = V0 * (V1 / V0) ^ ((t - T0) - (T1 - T0))

        t = current time
        V0 = Initial value
        V1 = Target value
        T0 = Initial time
        T1 = End time

        :return: New value
        :rtype: float
        """ # Do the calculation and return the value

None
float
self