Versions Compared

Key

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

...

Example 1: Using a control signal coming in on the input pin

View file
nameDelaying Control Signals - example 1.awd

In this example, the control signal which we wish to delay at a lower sample rate is coming in on the layout’s input pin on channel 2 at 48 kHz with a block size of 32. Channel 1 carries the audio data which will have its gain adjusted by the delayed control signal.

...

The total delay time includes the latency of the Buffering, Decimation, and Interpolation stages in addition to the Delay module itself.

View the accumulated delay by selecting View->Accumulated Delay.

...

The accumulated delay in this example is 6591 samples @ 1500 Hz or 4.394 seconds.

Example 2: Using a control signal coming from a DC Source.

View file
nameDelaying Control Signals - example 2.awd

This is very much like the first example, with the exception that we set the DC Source to run at 1500 Hz (input sample rate/input block size) with a Block Size of 1, so the first BlockStatistics module is not needed.

...

Options and considerations:

...

When using FIR interpolator, if the filter length is too short, you will see artifacts in the delayed control signal.

...

Example 2: Using a control signal coming from a DC Source.