Description Usage Arguments Value
View source: R/generateNoise.R
Adding noise to a soundwave allows for testing of the robustness of automated identification algorithms to noise.
1 2 3 4 5 6 7 8 | generateNoise(
wave,
noise = c("white"),
noiseAdd = FALSE,
noiseRatio = 0.5,
output = "file",
plot = FALSE
)
|
wave |
Wave file to add noise to |
noise |
Vector of noise to add (unif, gaussian, white, pink, power, red, frequency of a sine wave in Hz, or filename) |
noiseAdd |
If TRUE all noise sources are added to wave. If FALSE separate outputs are created for each noise source. |
noiseRatio |
Ratio of maximum noise amplitude to the maximum amplitude in wave |
output |
TODO: Is this implemented? |
plot |
If TRUE various plots are made to show how noise is added. |
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.