psd_matched_noise: psd_matched_noise

Description Usage Arguments Value Source References

View source: R/psd_matched_noise.R

Description

psd_matched_noise Synthesize noise N having the same power spectrum and duration as original signal X. Done by randomizing phase of Fourier spectrum.

Usage

1

Arguments

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)

Value

Returns a vector of equal length or an object of class "Wave".

Copyright Bertrand Delgutte, 1999-2000

Source

Translated from MATLAB code in Smith, Delgutte & Oxenham (2002).

References

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


abeith/chimeRa documentation built on Feb. 6, 2020, 9:32 a.m.