Versions Compared

Key

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

About This Application Note

This document shows you how to use Audio Weaver’s Measurements feature to measure the frequency response of a section of your layout.

Plotting the Frequency Response of a Single Module

Right-click on the Module in your layout, then select “Plot Frequency Response” (if supported by this module) as shown:

...

The frequency response of this Module by itself will be displayed:

...

Using the Measurements feature

If you wish to measure the frequency response between any two points of your layout that include more than a single module between them, use the measurements feature. The following example demonstrates the procedure, although with a single module for the sake of clarity.

...

View file
namemeasurements.awd
page(8.D.2.8) Frequency Response Measurements in Audio Weaver
spaceDOCHUB

...

Add two marker modules in line with the input and output pins of the GraphicEQ module as shown.

...

Select “Tools->Measurements->New Measurement”.

...

Configure Frequency Response Measurement Dialog

When you create a new Measurement, the “Configure Frequency Response Measurement” Dialog is opened automatically.

...

Overall Figure

...

Give this Measurement a memorable name and select whether or not to show the grid.

Frequency Axis

...

  • Axis Type: log or linear

  • Min: Minimum value

  • Max: maximum value

  • Num Points: how many points to plot

  • Units: Hz, Normalized, or radians/sample.

Magnitude Plot

...

  • Show: enable or disable the magnitude plot

  • Units: db20 or linear

Phase Plot

...

  • Show: enable or disable the phase plot

  • Units: degrees or radians

  • Unwrap - when enabled, shows phase as continuously increasing beyond 360 degrees (2* pi radians). If not enabled, the phase display will wrap around if it goes above 360 degrees.

In the “Configure Individual Plots” dialog, select the Starting and Ending markers from the drop-down boxes. If the selected wire has more than one channel, you will need to select an individual channel as shown.

...

Configure Individual Plots

You can enter or choose the following options for individual plots:

...

Click on “OK” to save your Measurement.

...

The Measurement Panel

The Measurement panel opens up and displays your selected measurements.

...

View file
namemeasurements-dual.awd
page(8.D.2.8) Frequency Response Measurements in Audio Weaver
spaceDOCHUB

...

Settings for modules GraphicEQ1 and GraphicEQ2.

...

Managing Measurements

Once you create a Measurement, it can be accessed from the “Tools->Measurements->Show Measurements” menu.

...

The “Tools->Measurements” menu also allows you to delete an individual Measurement or all Measurements in your layout.

Behind the scenes

Each module supports a “Frequency response plot” function that is separate from the DSP processing code. When you create a Measurement, each individual plot line is defined as being the frequency response between two Markers. In order to generate the frequency response, the function iterates through the chain of modules, starting at the first one. The frequency response points are calculated (in dB) according to the settings you entered for the “Frequency Axis”. As you move through the chain of modules, the frequency response values are added together.

  • If the Magnitude Plot is set to “db20”, then this totalled value for each frequency point is plotted.

  • If the Magnitude Plot is set to “linear”, then this totalled value for each frequency point is converted to its linear value and then plotted.

Limitations of the Measurement Feature

Modules with Control Pin Inputs

If the signal path whose frequency response you wish to measure includes any blocks with Control Pin inputs, such as the “freqPin” input on the SOFControlV3 filter module, you may see an error message and the Measurement will fail. The specific error depends on the layout and may not point directly at the problem.

...

In both cases, the cause is the controllable filter module:

...

Selected markers do not have a valid signal path between them

If you pick the wrong markers, such that the Ending marker is not downstream from the starting marker, you will see this error message:

...