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:
- Connect the audio input source to the RMS Meter and Audio Signal to Control.
- Connect the Audio Signal to Control to the Control to Logic.
- 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
- Move the DSP design window to the side.
- Drag in an XTouch Control. (Select Project View's work area to view the device list in Component Library.)
- Open the XTouch Control.
- Ctrl+Click and drag the indicators onto a XTouch Control. Label the indicators.
- Once the project design is completed, go online.