Indicators can be used to monitor if an audio signal is too high (clipping) or too low (quiet) using Control and Logic blocks.
This is useful for applications that have a music source, such as a DJ. When the music source is too loud or too quiet, the indicator(s) will light.

In the example below, we will create two indicators: one for high-volume, one for low-volume.
In your design you will need:

  • Audio input source (This example uses a Pink Noise Generator)
  • RMS Meter
  • 2 x Audio Signal to Control modules
  • 2 x Control to Logic modules
  • 2 x Indicators

Wire the modules accordingly:

  1. Connect the audio input source to the RMS Meter and Audio Signal to Control.
  2. Connect the Audio Signal to Control to the Control to Logic.
  3. Connect Control to Logic to the Indicator.


Set up the modules:

Audio Signal to Control: Set the Mode and the Response Time (ms), Audio Range High (dB) and Audio Range Low (dB)
In the example, it is set to Log Mode and the Response Time is set to the fastest speed, with the widest Audio Range.

Control to Logic: Set the Threshold ON (%) and Threshold OFF (%).
In the example, the Threshold ON (%) is set to 70%, and Threshold OFF (%) is 68%. If the Threshold ON (%) is reached, the indicator will light.
The second Control to Logic module is set to Threshold 20%. If the level is below 20%, the indicator will light.

The RMS Meter is used to monitor the input signal level.


Using the XTouch Control to display the indicators

  1. Move the DSP design window to the side. 
  2. Drag in an XTouch Control. (Select Project View's work area to view the device list in Component Library.)
  3. Open the XTouch Control.
  4. Ctrl+Click and drag the indicators onto a XTouch Control. Label the indicators.
  5. Once the project design is completed, go online.

Did this answer your question?