| beep | R Documentation |
Generate a simple beep to be used as an alert, for instance at the end of a loop of when ending up a long script.
beep(d = 0.5, f = 8000, cf = 1000)
d |
duration (in s) |
f |
sampling frequency (in Hz) |
cf |
carrier frequency (in Hz) |
Nothing returned, a pure tone sound is played back. The default duration is 0.5 s and the default frequency is 1000 Hz
The function uses listen of seewave which
calls play of tuneR. You might need to set up your sound
player with setWavPlayer of tuneR.
Jerome Sueur
## Not run:
# default settings
beep()
# change the duration and the frequency
beep(d=1, cf=880)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.