• Accesses the duration of a given Sound.

    Parameters

    • sound: Sound

      given Sound

    Returns number

    the duration of the Sound

    Example

    get_duration(make_sound(t => Math_sin(2 * Math_PI * 440 * t), 5)); // Returns 5