pysynth/osc.py
def val_calc(self):

        """
        Calculates and returns the inner value of the function.
        This is based off of frequency and sampling rate.

        :return: Number inside function
        :rtype: float
        """

        return math.pi * self.freq.value * (float(self.index) / float(self.sample_rate))

        Calculates and returns the inner value of the function.
        This is based off of frequency and sampling rate.

        :return: Number inside function
        :rtype: float
        
Calculates and returns the inner value of the function.
This is based off of frequency and sampling rate.
Calculates and returns the inner value of the function . This is based off of frequency and sampling rate .
def val_calc(self):
        return math.pi * self.freq.value * (float(self.index) / float(self.sample_rate))
def val_calc ( self ) : return math . pi * self . freq . value * ( float ( self . index ) / float ( self . sample_rate ) )
Calculates and returns the inner value of the function.
Calculates and returns the inner value of the function .
"""
        Calculates and returns the inner value of the function.
        This is based off of frequency and sampling rate.

        :return: Number inside function
        :rtype: float
        """
Number inside function
Number inside function
float
self