Description Usage Arguments Details Value Author(s) See Also Examples
Create a Sample object with a sine, sawtooth, or square waveform, silence, or noise.
1 2 3 4 5 |
freq |
the frequency (a double). |
dur |
the duration in seconds (a double). |
rate |
the sampling rate, an integer between 1000 and 48000. |
bits |
the sampling quality in bits per sample, 8 or 16. |
channels |
1 for mono, or 2 for stereo. |
reverse |
logical. If |
upPerc |
a number between 0 and 100 giving the percentage of the waveform with value +1. |
If channels=2
, left and right side of the sample will be the same for Sine
, Sawtooth
and Square
. For Noise
, both sides will be generated separately, using runif
.
a Sample object.
Author: Matthias Heymann <mail@MatthiasHeymann.de>
Maintainer: Stefan Langenberg <langenberg@uni-bonn.de>
as.Sample
, loadSample
, nullSample
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.