Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Scroll Documents: Update page title prefix

...

Child pages (Children Display)
alltrue

General Information

Signal management modules are modules that manipulate the flow of data. This is done on a few different levels. The marker module is a simple fix to wiring components overlapping, and has no effect on the runtime algorithm. This module can also be used as test points to view signal response. There are also modules that control channel flow, allowing interleave/deinterleave, or even the routing of one channel into another, and finally the multiplexing to choose between various signals. Data type conversion occurs when the samples are all converted into another numerical format. The more complicated modules in this folder control block flow and sample flow.

Multiplexors

Multiplexors (or Muxes) are logic elements that allow different signals to be selected based on an index (or control) value. Muxes are useful for setting up A/B comparisons to allow accurate comparison of two different signals. Multiplexors support multichannel signals and the number of input pins (number of signals to select from) is specified as a constructor argument.

There are 3 different types of muxes:

Image RemovedImage Added

 

Multiplexor (MultiplexorV2 & MultiplexorV2Fract32)

 

Supports smoothing for switches and crossfading into/from silence.

Index taken from inspector or from an optional control pin.

Float and Fract32 versions.

Image RemovedImage Added

Multiplexor Unsmoothed (Multiplexor)

Just copies data; no smoothing

Supports any 32-bit data type

Image RemovedImage Added

Sample Multiplexor Control

Sample based mux, no smoothing

Only has control pin

...

In the next example, 2 different versions of an algorithm are compared to see which one sounds better. This is a classical “A/B” comparison in audio.

...

Marker

The Marker module is used label wires in the design and also to make wire routing prettier. The Marker module is a virtual mode and is removed from the system when it is built. The Marker module is very frequently used. Add a Marker module to the layout by right-clicking on an empty portion of the canvas and selecting Add Marker.

...

Finally, the plot will pop up in its own window with the standard MATLAB plot capabilities, as well as an “update” button to redraw the frequency or phase response of the system. Use this to see how filters are responding with each other. This is based on the filter coefficients, so this feature doesn’t work on every module. For reading the output of modules, use the sink modules.

...

Interleave/Deinterleave

Two of the most basic modules are the Interleave and Deinterleave modules.

Image RemovedImage Added

Deinterleave

 

Turns multichannel signals into separate mono signals.

Image RemovedImage Added

Interleave

 

Combines multiple mono channels into a single interleaved signal.

...

 In the next example two stereo signals (L/R and Ls/Rs) are combined together with two mono channels (C and LFE) to form a 6 channel output. The channels in the interleaved output pin will be ordered: L / R / Ls / Rs / C / LFE.

...

Router

The Router module simply copies input channels to output channels. The module solves many common signal management issues like selecting or recombining channels and in most cases is more efficient than using Interleave and Deinterleave modules.

Image RemovedImage Added

Router

 

Copies and combines audio channels.

No smoothing.

Image RemovedImage Added

RouterSmoothed

 

Copies and combines audio channels.

With smoothing.

...