Description Usage Arguments Value Source References
View source: R/psd_matched_noise.R
psd_matched_noise
Synthesize noise N having the same power spectrum and duration as original signal
X. Done by randomizing phase of Fourier spectrum.
1 | psd_matched_noise(x, dur = NULL)
|
x |
A vector of a sound wave or an object of class "Wave" |
dur |
Duration of noise to be created. If NULL, will be length(x) |
Returns a vector of equal length or an object of class "Wave".
Copyright Bertrand Delgutte, 1999-2000
Translated from MATLAB code in Smith, Delgutte & Oxenham (2002).
Smith, Z. M., Delgutte, B., & Oxenham, A. J. (2002). Chimaeric sounds reveal dichotomies in auditory perception. Nature, 416(6876), 87–90. doi:10.1038/416087a
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.