Huron & SNAP Documentation

Huron & SNAP Documentation Huron & SNAP Documentation

sheffield.ac.uk
from sheffield.ac.uk More from this publisher
05.05.2013 Views

HURON TECHNICAL REFERENCE files that are scaled down too low will produce output from the FIR filter that is well below full scale, resulting in poor signalto-noise performance in the D/A converter. The diagram below illustrates the way filter coefficient scaling effects the Convolver’s output level: Figure 98 — Scaling of filter output due to filter coefficients The amplitude of the filter coefficients (h(k)) determine the overall gain of the filter. More specifically, the filter scale (S) is defined as: N−1 1 S = ∑ h( k ) 2097152 k= 0 As a reference for comparison, the Huron Convolution Tools are supplied with an example file called c:\Huron32\sim\unity.sim. This file specifies an all-pass, unity gain filter. It contains one impulse in the first sample of the vector, and all zeros following this. The magnitude of the impulse is 2097152, which results in a gain of S=1. For most real filter responses, the overall gain S of the filter is mostly useful in defining the average gain of the filter, for white noise audio input. In reality, typical audio signals have most energy in a narrower band (from about 200Hz to 8000Hz). For this reason, it can be more meaningful to compute the gain S based on a band-limited portion of h(k). In order to achieve optimum data scaling in the Huron system, it is advised that all SIM files be scaled up to achieve a gain of S=1. This can be done by the following procedure : • Determine the gain (S) of a SIM file (or a collection of SIM files that are to be used together). Determine the gain for a band-limited portion of the SIM file. • Use the MultVec utility to scale the data up or down by a factor of 1/S. This means that the newly scaled SIM file should now have an average gain of S=1. • If a collection of SIM files are to be used together, then the relative amplitude difference between their gains must be preserved, so the files should all be scaled up by the same amount. The Lake Technology SimScale tool described below uses the formula 1/max(Sn) to achieve this result. HURON TECHNICAL MANUAL PAGE 292 2

↓ SimScale Avoiding Large Frequency Peaks HURON TECHNICAL REFERENCE The revision 1.0 Huron Convolver Filter is not capable of boosting any one frequency by more than 12dB This may make it impossible to scale up the overall filter to unity gain. If the frequency response of the filter (i.e. the FFT of h(k)) contains large, narrow peaks that are more than 12dB above the average frequency response level, then it will not be possible to scale the filter up to unity gain (S=1). SimScale is a windows program supplied with the Huron Engineering tools. It is used to scale a filter or a group of filters to unity gain. The program will either scale the filters so that the largest filter has unity gain, or the largest peak is no more than 12dB above unity. The function and operation of SimScale is described in the SimTools section of this manual. HURON TECHNICAL MANUAL PAGE 293

↓ SimScale<br />

Avoiding Large Frequency Peaks<br />

HURON TECHNICAL REFERENCE<br />

The revision 1.0 <strong>Huron</strong> Convolver Filter is not capable of<br />

boosting any one frequency by more than 12dB This may make<br />

it impossible to scale up the overall filter to unity gain. If the<br />

frequency response of the filter (i.e. the FFT of h(k)) contains<br />

large, narrow peaks that are more than 12dB above the average<br />

frequency response level, then it will not be possible to scale the<br />

filter up to unity gain (S=1).<br />

SimScale is a windows program supplied with the <strong>Huron</strong><br />

Engineering tools. It is used to scale a filter or a group of filters<br />

to unity gain. The program will either scale the filters so that<br />

the largest filter has unity gain, or the largest peak is no more<br />

than 12dB above unity.<br />

The function and operation of SimScale is described in the<br />

SimTools section of this manual.<br />

HURON TECHNICAL MANUAL PAGE 293

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!