noises - Faust Libraries

# noises.lib

Faust Noise Generator Library. Its official prefix is `no`.

## Functions Reference

### `(no.)noise`

White noise generator (outputs random number between -1 and 1). `Noise` is a standard Faust function.

#### Usage

    noise : _

### `(no.)multirandom`

Generates multiple decorrelated random numbers in parallel.

#### Usage

    multirandom(n) : si.bus(n)

Where:

- `n`: the number of decorrelated random numbers in parallel

### `(no.)multinoise`

Generates multiple decorrelated noises in parallel.

#### Usage

    multinoise(n) : si.bus(n)

Where:

- `n`: the number of decorrelated random numbers in parallel

### `(no.)noises`

TODO.

### `(no.)pink_noise`

Pink noise (1/f noise) generator (third-order approximation) `pink_noise` is a standard Faust function.

#### Usage

    pink_noise : _;

#### Reference:

- https://ccrma.stanford.edu/~jos/sasp/Example_Synthesis_1_F_Noise.html

### `(no.)pink_noise_vm`

Multi pink noise generator.

#### Usage

    pink_noise_vm(N) : _;

Where:

- `N`: number of latched white-noise processes to sum, not to exceed sizeof(int) in C++ (typically 32).

#### References

- http://www.dsprelated.com/showarticle/908.php
- http://www.firstpr.com.au/dsp/pink-noise/#Voss-McCartney

### `(no.)lfnoise`, `(no.)lfnoise0` and `(no.)lfnoiseN`

Low-frequency noise generators (Butterworth-filtered downsampled white noise).

#### Usage

    lfnoise0(rate) : _;    new random number every int(SR/rate) samples or so
    lfnoiseN(N,rate) : _;  same as "lfnoise0(rate) : lowpass(N,rate)" [see filters.lib]
    lfnoise(rate) : _;     same as "lfnoise0(rate) : seq(i,5,lowpass(N,rate))" (no overshoot)

#### Example

(view waveforms in faust2octave):

    rate = SR/100.0;  new random value every 100 samples (SR from music.lib)
    process = lfnoise0(rate),    sampled/held noise (piecewise constant)
              lfnoiseN(3,rate),  lfnoise0 smoothed by 3rd order Butterworth LPF
              lfnoise(rate);     lfnoise0 smoothed with no overshoot

### `(no.)sparse_noise_vm`

sparse noise generator.

#### Usage

    sparse_noise(f0) : _;

Where:

- `f0`: average frequency of noise impulses per second

Random impulses in the amplitude range -1 to 1 are generated at an average rate of f0 impulses per second.

#### Reference

- See velvet_noise

### `(no.)velvet_noise_vm`

velvet noise generator.

#### Usage

    velvet_noise(amp,f0) : _;

Where:

- `amp`: amplitude of noise impulses (positive and negative)
- `f0`: average frequency of noise impulses per second

#### Reference

- Matti Karjalainen and Hanna Jarvelainen, "Reverberation Modeling Using Velvet Noise", in Proc. 30th Int. Conf. Intelligent Audio Environments (AES07), March 2007.

### `(no.)gnoise`

approximate zero-mean, unit-variance Gaussian white noise generator.

#### Usage

    gnoise(N) : _;

Where:

- `N`: number of uniform random numbers added to approximate Gaussian white noise

#### Reference

- See Central Limit Theorem

#### Search

From here you can search these documents. Enter your search terms below.

#### Keyboard Shortcuts

Keys | Action
--- | ---
`?` | Open this help
`n` | Next page
`p` | Previous page
`s` | Search