View source: R/generateNoise.R
generateNoise | R Documentation |
Adding noise to a Wave like object allows for testing of the robustness of automated identification algorithms to noise.
generateNoise(
wave,
noise = c("white"),
noise.add = FALSE,
noise.ratio = 0.5,
noise.ref = "file",
output = "list"
)
wave |
Object to add noise to ( |
noise |
Vector of noise to add (unif, gaussian, white, pink, power, red) |
noise.add |
If TRUE all noise sources are added to wave. If FALSE separate outputs are created for each noise source. |
noise.ratio |
Ratio of maximum noise amplitude to the maximum amplitude in wave. |
noise.ref |
Reference maximum for noise.ratio. If "max" then the maximum amplitude, if "file" then the maximum amplitude of wave. |
output |
TODO: Is this implemented? |
A list of Wave objects with the required noise added.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.