rpink: Generates pink noise

View source: R/simulation.R

rpinkR Documentation

Generates pink noise

Description

Adapted from Matlab code of Smith (2011)

Usage

rpink(n, scale = 1)

Arguments

n

number of observations.

scale

scale parameter.

Details

Reference: Smith, J.O. Spectral Audio Signal Processing, http://ccrma.stanford.edu/~jos/sasp/, online book, 2011 edition.

Value

a vector


bnicenboim/eeguana documentation built on March 16, 2024, 7:21 a.m.