• Plays the given Sound using the computer’s sound device. The sound is added to a list of sounds to be played one-at-a-time in a Source Academy tab.

    Parameters

    • sound: Sound

      the Sound to play

    Returns Sound

    the given Sound

    Example

    play_in_tab(sine_sound(440, 5));