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"
)
A list of Wave objects with the required noise added.
Object to add noise to (Wave
, WaveMC
, or Tagged versions), or
a list of such objects.
Vector of noise to add (unif, gaussian, white, pink, power, red)
If TRUE all noise sources are added to wave. If FALSE separate outputs are created for each noise source.
Ratio of maximum noise amplitude to the maximum amplitude in wave.
Reference maximum for noise.ratio. If "max" then the maximum amplitude, if "file" then the maximum amplitude of wave.
TODO: Is this implemented?