05.05.2013 Views

Huron & SNAP Documentation

Huron & SNAP Documentation

Huron & SNAP Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Fixed Point Digital Audio Data Representation<br />

Data Formats and Scaling<br />

Considerations<br />

Digital audio data within the <strong>Huron</strong> system is transferred over<br />

the <strong>Huron</strong> bus in 24-bit twos-complement format. This data<br />

format provides for representation of audio data with Root-<br />

Mean-Square (RMS) quantisation at a level of 146.3dB below<br />

the RMS level of a full-scale sine wave. The range of 24-bit<br />

values is as follows:<br />

Hexadecimal<br />

value<br />

Decimal value Signal Level Description<br />

0x7FFFFF 8388607 0.99999988 Positive full scale<br />

→ → → →<br />

0x000001 1 0.00000012 Smallest positive value<br />

0x000000 0 0.00000000 Zero level<br />

0xFFFFFF -1 -0.00000012 Smallest negative value<br />

→ → → →<br />

0x800000 -8388608 -1.00000000 Negative full scale<br />

Finite Impulse Response Filter (FIR) Coefficient Scaling<br />

Filter Scaling for Unity Gain<br />

To gain optimum performance from the system, the following<br />

files must be scaled appropriately:<br />

• FIR filter coefficients which are loaded into the <strong>Huron</strong><br />

system via *.SIM data files. The data in these files is stored<br />

as 24—bit fixed point data.<br />

• Time domain impulse response filters used by the <strong>Huron</strong><br />

Convolver tool.<br />

If necessary, *.SIM files can be re-scaled using the SIMWIN<br />

utility MultVec or SimScale.<br />

There are two important factors to consider during the<br />

generation or re-scaling of data files:<br />

FIR filter coefficient files should ideally be scaled so that the<br />

audio data that is used in typical listening tests will pass through<br />

the FIR filter with approximately unity gain. Coefficient files<br />

that are scaled up too high will result in a filter which boosts the<br />

output level, possibly resulting in clipping at the FIR filter<br />

output when the input signal is close to full scale. Coefficient<br />

HURON TECHNICAL MANUAL PAGE 291

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

Saved successfully!

Ooh no, something went wrong!