Plays the given Wave using the computer’s sound device, for the duration given in seconds.
the wave function to play, starting at 0
the resulting Sound
play_wave(t => math_sin(t * 3000), 5); Copy
play_wave(t => math_sin(t * 3000), 5);
Plays the given Wave using the computer’s sound device, for the duration given in seconds.