randomhold.dsp

Generate random values and hold them.

Function

This instrument generates new random numbers at a given rate and holds steady until a new number is chosen. Think of it as a random stairstep function. This is handy for weird synthetic sound effects.

Knobs

Frequency - 0 => $7FFF, default = $300 = raw frequency. If you call TweakRawKnob() the units are phase increments, If you call TweakKnob() the units are 16.16 fractional Hertz.

Amplitude - 0 => $7FFF

Inputs

None

Outputs

Output

Input FIFOs

None

Output FIFOs

None

Resources

Ticks = 15

N memory = 13 words