PinkNoise
Overview
Pink noise generator
Discussion
This subsystem generates pink noise by combining a white noise generate and a filter The RMS output level is 0 dB
Module Pack
Standard
ClassID
classID =
Type Definition
typedef struct _ModulePinkNoise
{
ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure
} ModulePinkNoiseClass;
Pins
Output Pins
| Name | out |
| Description | audio output |
| Data Type | float |
Scratch Pins
| Channel Count | 1 |
| Block size | 48 |
| Sample rate | 48000 |
| Channel Count | 1 |
| Block size | 48 |
| Sample rate | 48000 |
Matlab Usage
File Name: pink_noise_subsystem.m
SYS=pink_noise_subsystem(NAME, SR, NUMCHANNELS, BLOCKSIZE)
Creates a module which outputs pink noise at a specified standard
deviation. Internally, the module uses a white noise generator
followed by an IIR filter. Arguments:
NAME - name of the module.
SR - sample rate. This must be set since this is an output module.
NUMCHANNELS - number of interleaved channels in each output pin.
BLOCKSIZE - number of samples per output channel.
Copyright (c) 2026 DSP Concepts, Inc.