pseudoWave | R Documentation |
This function is used to create a PseudoWave object that can be used to generate a Wave object when operated on.
pseudoWave(
type = NA_character_,
subtype = NA_character_,
scale = 1,
offset = 0,
seed = 1,
params = list()
)
type |
Type of PseudoWave (e.g. "noise", "sine") |
subtype |
Subtype of PseudoWave (e.g. "white" if type is "noise") |
scale |
The Wave channels are multiplied by this value |
offset |
This value is added to the Wave channels |
seed |
Random seed for reproducible output. NA for no |
params |
List of additional parameters to pass to generating function |
A PseudoWave object.
pw <- pseudoWave("noise", "white")
pw <- pseudoWave("sine", params=list("f0"=440))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.