...
scaler_example_module.m — Simple scaler. This module demonstrates how to support multiple input and output pins each with, possibly, a different number of channels.
peak_hold_example_module.m — Similar to a level meter in that it measures the peak signal level. This module demonstrates how to allocate arrays and update array sizes within the module's prebuild function. A fixed-point version of this example is also provided: peak_hold_example_fract32_module.m.
fader_example_module.m — Front-back fader which pans a signal between two different outputs. This module demonstrates compiled subsystems, that is, how to build a new module class out of a subsystem. A fixed-point version of this example is also provided: fader_example_fract32_module.m.
downsampler_example_module.m — Downsampler which keeps 1 out of every D samples; no filtering is performed. This module demonstrates how to operate on arbitrary 32-bit data types as well as changing the output block size and sample rate.
lah_limiter_example_module.m — Look ahead limiter delivered as a compiled subsystem. This module demonstrates some advanced features of compiled subsystems including initializing internal module variables and clarifying wire buffer usage.
...
The C processing function is straightforward and is not shown here. Refer to the file InnerPeakHoldExample_Process.c.
...
Fader module
Anchor | ||||
---|---|---|---|---|
|
This example teaches how to create a new module class out of a subsystem and shows how to implement a custom bypass function. The fader module has a single mono input pin, a stereo output pin, and 3 internal modules:
...