• Makes a sine wave Sound with given frequency and duration

    Parameters

    • freq: number

      the frequency of the sine wave Sound

    • duration: number

      the duration of the sine wave Sound

    Returns Sound

    resulting sine wave Sound

    Example

    sine_sound(440, 5);