Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Connections between audio modules are called wires and correspond to buffers of data on the target. This is an analogy to an electronic circuit, where connections between various components are indeed made by metal wires carrying currents. In the case of Audio Weaver layouts, wires between modules create logical connections that are managed by creating connections in software when the layout is instantiated.

...

Feedback wires will be discussed in detail in the section Feedback.

Control

Control wires carry control signals, which can be non-audio signals used to control parameters of the various modules. For example, a knob which connects to an equalizer stage to control the amount of boost or cut is a control signal. These are displayed as dotted lines as shown.

...

Control wires will be discussed in detail in the section Control Signals.

Data types

Audio samples are represented as 32-bit values. Three different data types are available:

...

  1. To convert a wire with 1 channel and a blockSize of N to a wire with N channels and a blockSize of 1.

  2. If the BSP code is sending floating-point data to the input pin. The input is always marked as "fract32" in AudioWeaver and the SetWireProperties module can override this to "float".

  3. Assume the sample rate of the input pin is 48 kHz. One of the channels is 3 microphone signals at 16 kHz. Use a Router to pull the data out. Then the SetWireProperties module to turn it into 3 channels with blockSize/3.

  4. Sometimes the sample rate needs to be corrected. For example, you might have a Rebuffer module followed by a BlockStatistics module. The output sample rate will not be correct.

Channel names

You can edit the channel names in a multi-channel wire by right clicking on the wire and selecting “Edit Channel Names” from the popup menu.

...

If you are editing a subsystem and need a signal to pass directly from an input to an output, you’ll need to use a Copier module in the middle. You should not need to use the Copier module in any other situation. See the Subsystems Application Note for more information.

Feedback

...