• Makes a sawtooth wave Sound with given frequency and duration

    Parameters

    • freq: number

      the frequency of the sawtooth wave Sound

    • duration: number

      the duration of the sawtooth wave Sound

    Returns Sound

    resulting sawtooth wave Sound

    Example

    sawtooth_sound(440, 5);