colored_noise_test, a C++ program which calls colored_noise() to generate sequences that simulate 1/f^alpha power law noise. This includes white noise (alpha = 0), pink noise (alpha = 1) and brown noise or Brownian motion (alpha = 2), but also values of alpha between 0 and 2.


The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Related Data and Programs:

colored_noise, a C++ library which generates samples of colored noise obeying a 1/f^alpha power law.

Source Code:

ALPHA is a sequence of 9 sets of data, for ALPHA = 0.00 to ALPHA = 2.00, each time computing a sequence of 128 values, and using the same sequence of random numbers. This makes the effect of ALPHA very clear.

Last revised on 20 February 2020.