SmaartLive Class Handout
SmaartLive Class Handout
SmaartLive Class Handout
Presented by:
SIA Software Company, Inc
A LOUD Technologies, Inc. Company
www.SIAsoft.com
Copyright 2004
SIA Software Company, Inc
A LOUD Technologies Company
One Main Street, Whitinsville, MA 01588
PowerPoint Notes
Presented by:
SIA Software Company, Inc
A LOUD Technologies, Inc. Company
Copyright 2004 - SIA Software Company, Inc.
A LOUD Technologies, Inc. Company
All rights reserved
SIA Smaart Schools & Applications Seminars
SmaartLive Fundamentals
Calvert Dayton
SIA Development Manager
Calvert@SIAsoft.com
Barbara Stolakis
SIA Office Manager
Barb@SIAsoft.com
FFT’s
Fast Fourier Transforms
Transforms
A transform converts data from one domain/view
to another: Time Domain to Frequency Domain
– Same data
• Is reversible via Inverse Transform
– Unlike a conventional RTA using a bank of analog filters,
FFT’s yield complex data: Magnitude and Phase data
Time Domain Frequency Domain
Waveform Spectrum*
FFT Resolution
• Reciprocal Bandwidth: FR=1/TC
Frequency Resolution = 1/Time Constant
– Larger Time Window:
• Higher Resolution
• Slower (Longer time window and more data to crunch)
– Smaller Time Window:
• Lower Resolution
• Faster
• Time Constant = Sample Rate x FFT Length
T=1/ƒ
ƒ = 100 Hz ƒ = 250 Hz
T= 10 ms & T= 4 ms
ƒ=1/T T= .1 ms
ƒ = 10 kHz
T= .1 ms
ƒ = 10 kHz
ƒ = 20 Hz
T= 1 ms T= 50 ms
ƒ = 1 kHz
ƒ = 500 Hz T= .5 ms
T= 2 ms ƒ = 2 kHz
FFT Parameters:
Time Constant (TC) vs. Frequency Resolution (FR)
FFT Parameters:
Time Constant (TC) vs. Frequency Resolution (FR)
Pink Noise (equal energy per octave) shown w/ linear and log banding.
FPPO
24 Fixed Points Per Octave
(Only available in Transfer Function Mode)
TC = 3 ms
TC = 683 ms
Transfer Function
(Frequency Response)
Transfer Function
System
Input Signal Output Signal
Measurement
Channel (RTA)
Transfer
Function
Reference
Channel (RTA)
Transfer Function
System
Input Signal Output Signal
Measurement
Channel (RTA)
Transfer
Function
Reference
Channel (RTA)
Transfer Function
System
Input Signal Output Signal
Measurement
Channel (RTA)
Transfer
Function
Reference
Channel (RTA)
Ref Signal
• Propagation Time
• Linearity - Does response change with level?
• Noise
Averaging
Coherence
Coherence
Coherence
How stable/consistent is your data?
Coherence indicates the linearity/quality of each data
point in your transfer function measurement.
0% (Middle of Plot)
Coherence
Three causes of bad coherence:
1. Bad measurement
• Check measurement delay
• Check measurement signals
Look for broad ranges
• Check measurement set-up of bad coherence.
• Check equipment
Particularly in HF if
Smaart’s delay is set wrong.
Coherence
Three causes of bad coherence:
1. Bad measurement
2. Poor Signal to Noise Ratio
• Turn up measurement level If due to external noise,
coherence should improve
• Turn down “noise” with measurement SPL.
Coherence
Three causes of bad coherence:
1. Bad measurement
2. Poor Signal to Noise Ratio
3. Poor Direct to Reverb Ratio “Real World”
Coherence.
• Move mic closer to source
• Move source closer to mic
• Damp reverberance
It is common to get a
bad Coh “spike” where
you see a cancellation,
RTA
FFT
Spectrograph
Wave Spectrum
SPL History
FFT
=
FFT Transfer Function
(Frequency Resp.)
Wave Spectrum
FFT
IFT
=
FFT Transfer Function Impulse Resp.
(Frequency Resp.)
Wave Spectrum
Loudspeaker
Source EQ / Processor Amplifier & Room
Microphone
Computer Mixer:
w/ Stereo Signal Selector
line-level input & Pre-amps
Mode by Mode:
Configuration Notes
Class Notes
Getting Started
•Point Smaart at your stereo input device
–Set as Wave Input in Options:Devices
–Set bit depth (Use 16 bit as default unless you know otherwise)
–Use [Alt + ”V”] to display the Windows Record In Panel
•Hit “Start” to begin processing inputs
•Verify that signals are getting to Smaart
–Ref. on Right (Blue) channel
–Meas. on Left (Green) channel
•Optimum signal input level is ~ -12dB
–Right where meters turn yellow
–Leaves enough headroom for dynamic signals
Class Notes
Remember:
Smaart’s SPL See your Quick
calibration is dependent Reference Card for
upon mic sensitivity and alternative methods
input pre-amp gain. of SPL calibration
IFYOU CHANGE
EITHER YOU MUST
RECALIBRATE
Class Notes
Transfer Function Mode
Recommended Settings
Input Meters:
Optimum input level is @ -12
Where the meter turns yellow
Coherence Threshold:
10% - 15%
Just enough to remove the truly bogus data
Averages:
Acoustic Measurements: 64(+)
Electronic Measurements: 8 -16
More averages = better s/n & trace stability
Magnitude Threshold:
16 bit Input Device: 35%
24 bit Input Device: 55%
FFT Parameters:
Acoustic Measurements: FFT = FPPO
Electronic Measurements: FFT = 16k or 32k
Remember to set your delay!
Class Notes
Impulse Response
1. Measure louder
Improve true s/n
2. Increase Averages
Each doubling of Avgs gives 3 dB better s/n
• Level
2
• Delay
3 • And lastly . . . EQ
System Engineering
Key Concepts:
• Systems interact most where they are equal
level.
– Phase/Time determines how they will interact.
Comb Filters
&
Sine Wave Addition
²ø = 0°
Complete Addition
²ø = 90°
Partial Addition
²ø = 120°
No Addition
²ø = 180°
Complete Cancellation
²ø = 240°
No Addition
T = 3 ms
ƒ = 1/3 ms = 333 Hz
O ms 1 ms 2 ms 3 ms 4 ms
T = 2 ms
ƒ = 1/2 ms = 500 Hz
O ms 1 ms 2 ms 3 ms 4 ms
T = 1.5 ms
ƒ = 1/1.5 ms = 666 Hz
O ms 1 ms 2 ms 3 ms 4 ms
T = 1 ms
ƒ = 1/1 ms = 1000 Hz
O ms 1 ms 2 ms 3 ms 4 ms
T = .5 ms
ƒ = 1/.5 ms = 2000 Hz
ƒ = 250 Hz
²ø = 90°
O ms 1 ms 2 ms 3 ms 4 ms
ƒ = 333 Hz
²ø = 120°
O ms 1 ms 2 ms 3 ms 4 ms
ƒ = 500 Hz
²ø = 180°
O ms 1 ms 2 ms 3 ms 4 ms
ƒ = 666 Hz
²ø = 240°
O ms 1 ms 2 ms 3 ms 4 ms
ƒ = 1000 Hz
²ø = 360°
O ms 1 ms 2 ms 3 ms 4 ms
ƒ = 2000 Hz
²ø = 720°
Reflection arrives ~ 4 ms
4 ms
Comb filter frequency = 1/4 ms = 250 Hz
1 ms 1 kHz
2 ms 500 Hz
4 ms 250 Hz
10 ms 100 Hz
Ground-plane measurement
System
Input Delay Measurement
Signal
Smaart Reference
Delay Signal
Meas
System
Smaart
Ref
Meas
System
Smaart
Ref
Meas
System
Smaart
Ref
Notes
Presented by:
SIA Software Company, Inc
A LOUD Technologies, Inc. Company
Copyright 2004 - SIA Software Company, Inc.
A LOUD Technologies, Inc. Company
All rights reserved
Getting Started with SmaartLive:
Basic Measurement Setup
and Procedures
Paul D. Henderson
This document serves as a starting point for learning to use SIA SmaartLive® for basic measurements
of audio systems and components. Here, we will discuss the capabilities of SmaartLive and the basic
measurement hardware necessary to perform successful measurements. A series of tutorial examples
will be presented, which will serve as a hands-on introduction to making measurements with the system.
In addition to the capabilities in Table 1, SmaartLive contains an internal signal generator that simplifies
the measurement process by creating the appropriate excitation signals for each measurement. This
eliminates the need for an external device dedicated to producing measurement signals for use with
SmaartLive. SmaartLive also includes significant capabilities for controlling external devices, such as
loudspeaker processors, equalizers, etc. This useful functionality will not, however, be discussed in
this document.
Getting Started with SmaartLive: Basic Measurement Setup and Procedures Page 1
II. Components of a Basic SmaartLive Setup
To use SmaartLive effectively, you should have on hand a basic set of measurement equipment. The list
below outlines the fundamental components of a SmaartLive measurement setup. Details regarding the
connection of your equipment for specific measurement tasks will be presented in later sections.
Component Guidelines
Measurement If you intend to measure anything beyond simple electronic devices, you will need
Microphone a measurement microphone to acquire acoustical signals. The basic job of the
microphone is to convert acoustical pressure at a point into a voltage as accurately
as possible, so your microphone should be omnidirectional with a flat frequency
response. Most commercially available measurement microphones are based on
an electret condenser design, which will require some form of power, either
through phantom power from your preamplifier or by an internal battery. You
may also desire a microphone calibrator to accurately perform calibrated sound
pressure measurements.
Microphone To interface with your microphone, you will typically need some form of
Preamplifier microphone preamplifier. The preamplifier should possess a low noise floor
and sufficient gain for reasonable use. For most measurement microphones,
the preamplifier should include phantom power to power the microphone.
Note that many users may prefer to use a small mixer, routing device, or even a
front-of-house console in place of a dedicated preamplifier. In these cases, make
sure to disable all channel processing before use (equalization, dynamics
processing, etc.).
Sound Card For full functionality, SmaartLive requires a compatible sound card with at least
two independent line-level input channels (usually in the form of a single stereo
input) and a line-level output. Some notebook computers with built-in sound
capabilities only offer a single channel (mono) input, so make certain your system
meets this criterion. Without a stereo input, you will be unable to utilize the
transfer function and impulse measurement capabilities.
Note that external hardware solutions are available, some of which combine high-
quality A/D and D/A converters with built-in microphone preamplifiers. These
may prove to be maximally convenient for field use, are readily available with
USB, PCMCIA, and Firewire interfaces. Regardless of the input device you
select, it must use a Windows®-compatible Wave audio device driver. Other
device driver types, including ASIO, are note currently supported by SmaartLive.
Computer with The computer should adhere to at least the minimum requirements for running
SIA-SmaartLive™ SmaartLive, which are available in the SmaartLive User Guide or by accessing
the SIA Software website at http://www.siasoft.com. For portable field operation,
a notebook computer is most convenient.
Cabling and You should have on hand the appropriate cables for connecting your measurement
Interconnections system and interfacing with the equipment that you are measuring. Use only
professional-quality cables, avoiding inferior adapters and consumer-grade
interconnections. If your computer sound card uses 3-conductor 1/8-inch stereo
phone connectors for interface, you may obtain breakout cables that allow you to
convert this interface to 1/4-inch phone or XLR connectors.
Getting Started with SmaartLive: Basic Measurement Setup and Procedures Page 2
III. Getting Signals into SmaartLive
Now that you have assembled the equipment necessary to operate
SmaartLive, we will discuss the process of setting up the system
to recognize your hardware and adjusting the signal levels
through the system. Make sure your sound card is online (if
external, connect it) and start SmaartLive. If you are using an
external audio device, do not disconnect it while SmaartLive is
running. To select the proper sound card for use by the system,
click Options? Devices on the menu, or press Alt+A. The
window in Figure 1 will appear. Select your sound card input
device in the Wave In drop-down box, and do the same for the
output device in the Wave Out box. If your device supports input Figure 1: Select your sound card as the input
or output resolution higher than 16 bits, select the appropriate and output device.
values in the Bits Per Sample boxes. Now, you may connect
devices to the outputs and inputs of your soundcard, and the
signals will be correctly handled by SmaartLive.
Getting Started with SmaartLive: Basic Measurement Setup and Procedures Page 3
IV. Measurement Examples
Now, we will explore some examples of basic measurements using SmaartLive. The following pages will
introduce you to the fundamentals of making Spectrum (RTA), Transfer Function, and Impulse Response
measurements. The examples presented here are arranged in order of complexity; the later examples build
on concepts presented in preceding sections. We recommend that you proceed through these exercises
in order. Each example will present the basic hardware configuration, as well as sample measurement
results. Keep in mind that your data may appear different than the data presented here; the sample results
are simply representative of what you might see.
Example Application 1
SmaartLive as a Real-Time Spectrum Analyzer (RTA)
The most basic functionality of SmaartLive lies in its Spectrum mode, which enables two channels of
real-time spectrum analysis. In this mode, SmaartLive contains functions similar to a hardware RTA
(real-time analyzer), where the incoming signals are decomposed into frequency components and
displayed dynamically. By default, SmaartLive displays the two channels as a real-time bar graph of
energy vs. frequency, with each bar representing a band of energy 1/12th-octave wide, although many
other displays are possible.
Measurement
Microphone
Microphone Line
Preamplifier Input
L
Computer with
R SmaartLiveTM
Mixing Console
Figure 4: Example hardware configuration for RTA measurement.
Figure 4 shows the hardware configuration for this example. Any line-level
signal may be used as an input source, although it is somewhat educational to perform
this introductory measurement with a live microphone connected through a preamplifier.
Now, launch SmaartLive, which should default into Spectrum mode. At any time, you Measurement
may change the current measurement mode by clicking one of the mode buttons. Press mode buttons
Getting Started with SmaartLive: Basic Measurement Setup and Procedures Page 4
You should now see a live banded spectrum of
the input signals as in Figure 5 (both channels
are visible by default). If you are using a live
microphone, the spectrum display will respond
to any noise in the room, and whistling near the
microphone will drive the bands noticeably upward
near the frequency of your whistle.
The spectrum mode contains many other useful features, including absolute calibration, integrated SPL
metering and logging, and real-time spectrogram functions (Figure 6). Note that these functions will
display data for the active input channel only. The active channel may be assigned by clicking on the
associated input level meter. Please see the included documentation for more information on the use
of these more advanced functions.
SmaartLive’s Spectrum mode displays are very useful for identifying feedback frequencies, looking at
room noise, studying the spectral content of musical material, and has many other uses. Historically,
many have employed RTA methods for measuring the frequency response of a system and performing
equalization; we do not recommend using this technique, as the transfer function measurement capability
of SmaartLive is a far more useful and accurate tool for this task. The Spectrum mode is inherently unable
to distinguish direct sound from reflective energy and to discriminate between the excitation signal and
uncorrelated noise, which limits its usefulness in sound system response optimization tasks.
(a) (b)
(c)
Getting Started with SmaartLive: Basic Measurement Setup and Procedures Page 5
Example Application 2
Measuring an Analog Equalizer
In this example, we will introduce the use of SmaartLive’s real-time Transfer Function measurement
capability to measure the frequency response of an analog equalizer. To perform this exercise, you will
need an equalizer, crossover, or some other filtering signal processor. An analog device is best for this
example; digital devices include some throughput delay from input to output that must be found and
compensated for, using SmaartLive’s internal signal delay (we will discuss this in subsequent examples).
Equalizer
Out In
Line Line
Input Output
L L
Computer with
R SmaartLiveTM R -or-
If the analyzer is not running, click the ON button to start it. Now, adjust the input controls to bring the
input signal to a reasonable level (as in Figure 3). If the equalizer is bypassed or its controls set to 0 dB,
the transfer function display should be an approximately flat line. If not, it is likely that there is some gain
error in the system or the device itself contains some gain or attenuation factor. You may
adjust the measurement channel gain independently to correct for this, or use the dB +/-
spinner to adjust the “zero” level of the displayed transfer function.
Getting Started with SmaartLive: Basic Measurement Setup and Procedures Page 6
Performing the Transfer Function Measurement
SmaartLive’s Transfer Function mode measures a system’s frequency response by comparing its input
signal to its output signal. This measurement shows the difference between those two signals in both
magnitude and phase and represents the processing behavior of the system as a function of frequency.
Gain and loss show up as deviation from the center 0 dB line on the magnitude trace.
By adjusting filter settings on the equalizer, you should be able to see the changes being made in
the frequency domain on the SmaartLive display. If attenuation (or “cut”) on the equalizer shows up as a
peak on the display, it is likely that you have inadvertently reversed the input signals. You can either
physically swap the input cables or press the Swap button to reverse the signals and obtain the proper
display.
SmaartLive defaults to the FPPO (Fixed-Point per Octave) transfer function mode, which
provides you with transfer function measurement points distributed equally on a logarithmic frequency
scale by varying the FFT length at different frequencies. You may wish to experiment with different
fixed-width FFT parameters, sampling rates, and excitation signals to see the effect of the various
parameters. You may also press the Phase button to see the transfer function phase (in addition to
magnitude) as a function of frequency. Figure 8 shows an example measurement of a single parametric
equalizer filter, including the phase plot.
Note that, for this measurement, we have not included any compensation for delay through the equalizer,
since the delay through almost any analog equalizer will be insignificant relative to the length of the FFTs
used in the calculations. When measuring a digital device, loudspeaker, or almost any electroacoustic
system, we must first measure the propagation delay time and use SmaartLive’s internal alignment delay
to compensate for any delay in the external system. This will be covered in Example 3, “Measuring
a Loudspeaker”.
Getting Started with SmaartLive: Basic Measurement Setup and Procedures Page 7
Example Application 3
Measuring a Loudspeaker
In this example, we will use both the Impulse and Transfer Function modes in SmaartLive to measure
the behavior of a loudspeaker in a room. To perform this exercise, you will need a loudspeaker and power
amplifier (or powered loudspeaker) in addition to your SmaartLive measurement system.
Measurement
Microphone
Loudspeaker
You will want to position the measurement microphone at a nominal distance from the loudspeaker, for
example, 1m. The farther the microphone is from the loudspeaker, the more difficult it is to separate the
direct sound of the loudspeaker from the influence of reflections in the room.
We must now adjust the signal levels to obtain a reasonable gain structure through the system. Enter
SmaartLive’s Spectrum mode by clicking the Spectrum button and turn the analyzer ON. As before, turn
on the internal signal generator and adjust its level until the sound level from the loudspeaker is
appreciably higher than the ambient noise in the room. You may wish to start with a low power amplifier
gain and then slowly increase the level to prevent unexpectedly loud signals from reaching your ears.
Next, adjust the input levels on the sound card and the microphone preamplifier gain to achieve a proper
input level, following the guidelines in Figure 3. For best results, you will want to match the levels at the
reference and measurement inputs as closely as possible, so adjust the preamplifier gain to achieve this.
Now, we will perform a basic impulse response measurement of the loudspeaker in the
room. Click the Impulse button to enter the Impulse mode; SmaartLive will automatically measure an
impulse response of the system and display it in the graph window. You may make another impulse
response measurement at any time by pressing the Start button. An example of what you might see is
shown in Figure 10.
Getting Started with SmaartLive: Basic Measurement Setup and Procedures Page 8
The impulse response in Figure 10 is quite typical of
what you might see when measuring a loudspeaker
in any non-anechoic room (any room with reflective
surfaces). The impulse response view shows a time
history of energy arriving at the microphone, and is Direct Sound
very useful for understanding exactly what you are
measuring. Figure 10 shows the Log magnitude Room Reflections
view, which indicates the magnitude of the impulse Noise
response in dB. SmaartLive can also display the
impulse response in Linear units (which preserves
polarity information) and as an ETC (Energy-Time
Curve), which extracts the decay envelope from the
impulse response, displayed in dB. The large peak at
the beginning of the plot in Figure 10 indicates the
arrival of direct sound from the loudspeaker, which Figure 10: Impulse response of a small loudspeaker in a room.
in this case, is the component that interests us.
SmaartLive automatically detects the time and
magnitude of this peak, which, in this case, is arriving with a delay time of 2.29 ms. This delay is due to
the propagation time from the loudspeaker to the microphone through the air over distance of
approximately 2½ feet. We will use this concept in correcting for the propagation delay when we perform
a transfer function measurement. The other energy shown in impulse response is due to reflections in the
room and noise in the measurement. The noise floor can be seen to have a constant average level; the
accuracy of your measurements is dependent upon an adequate signal-to-noise ratio between the direct
sound and this noise level.
Click the Auto Sm (Delay Auto-Locator Small) button to do this; SmaartLive will run an
impulse response measurement in the background and automatically measure the delay time. The “Delay
Found” dialog box appears with the measured delay time; click “Insert Delay” to accept the shown delay
time to compensate for the propagation delay during transfer function measurements. If the shown delay
time seems impossibly long, you likely have the reference and measurement inputs swapped; simply
swap the input cables and try again. This process may also be performed manually using the Impulse
mode; click the Set Delay to Peak button in the impulse response mode
to set the transfer function delay to the peak arrival time.
Getting Started with SmaartLive: Basic Measurement Setup and Procedures Page 9
For this example click on the button marked F6 to
store the current delay into the first preset. Press
OK to exit the dialog box.With the analyzer running
in transfer function mode, you should now see the
frequency response of the loudspeaker (energy vs.
frequency) displayed in the window as shown in the
example measurement in Figure 11. You may find
that the display is somewhat
erratic; increasing the number of
averages using the Avg spinner will stabilize the
transfer function trace. Set the number of averages
16 or higher to see improved behavior.
SmaartLive’s Reference Registers are used to capture and store “snapshots” of the active live trace. The
Reference Registers are represented by five groups of small solid-color buttons, labeled A, B, C, D and E,
located below the plot area.
Click the button for register A1 (the first register button in the A group). This “activates”
the register even if the button was already depressed. Click the Capt (Reference Capture)
button below the plot area to sample and display the current trace as an overlay on the plot.
Click the A button to remove the captured trace from the display. The sampled trace, called a Reference
Trace will remain stored in the register until you erase it or
capture another trace to the same register.
Note that when you capture a reference trace, the stored trace is initially displayed “in
front” of the live trace on the plot. The text color in the dB +/– spinner field to the right of the plot
changes to match the reference trace color and when cursor tracking is enabled, the mouse tracking
cursor follows the stored trace instead of the live trace. You can return the focus of the display to the
live transfer function trace by clicking anywhere on either input level meter with your mouse.
Getting Started with SmaartLive: Basic Measurement Setup and Procedures Page 10
Example Application 4
Equalizing a Loudspeaker
In this example, we will use the transfer function measurement from Example 3 to set an equalizer
to optimize the performance of the loudspeaker. To perform this exercise, you will need the equalizer
in addition the loudspeaker and power amplifier from the previous examples.
Measurement
Loudspeaker
Microphone
Microphone
Preamplifier
Getting Started with SmaartLive: Basic Measurement Setup and Procedures Page 11
To equalize the system, we will calibrate the equalizer to have a frequency response that is approximately
inverse to the response of the loudspeaker. In other words, the peaks in the loudspeaker response will
correspond to equivalent nulls in the equalizer response, flattening the frequency response curve. We
will use the stored reference trace containing the measured loudspeaker response as a template by which
to adjust the equalization filters.
As a practical note, boost filters are best used sparingly when optimizing the frequency response of a
sound system. Excessive use of boost filters may destabilize a sound system by reducing gain-before-
feedback and/or headroom, as the nulls that you observe in measurements may not be present in all spatial
locations (due to comb filtering from reflections, room modes, loudspeaker interference, etc.). If you find
that you require a large number of boost filters or that any required filter is very narrow in bandwidth,
your problem may not be best resolved through equalization alone. Correction of acoustical conditions,
crossover settings, or loudspeaker arrangements may be necessary. Typically, electro-acoustical
phenomena that produce wide bandwidth (low-Q) peaks in frequency response are most effectively
addressed through equalization. Additionally, we recommend the use of parametric equalizers for
precision equalization, to enable the selection of proper bandwidth and center frequency for each filter.
Getting Started with SmaartLive: Basic Measurement Setup and Procedures Page 12
SIA-Smaart ® Application Notes
Presented by:
SIA Software Company, Inc
A LOUD Technologies, Inc. Company
Copyright 2004 - SIA Software Company, Inc.
A LOUD Technologies, Inc. Company
All rights reserved
The Fundamentals of FFT-Based
Audio Measurements in SmaartLive®
Paul D. Henderson
This article serves as summary of the Fast-Fourier Transform (FFT) analysis techniques implemented in
the SIA-SmaartLive® measurement platform. By reading through this document, you will receive an
understanding of the fundamental concepts in FFT-based measurements used throughout the SmaartLive
application, providing you with insights to better comprehend the measurement parameters, procedures,
and resulting data. As a prerequisite to this text, you should be familiar with the basic concepts presented
in the article “Getting Started with SmaartLive: Basic Measurement Setup and Procedures”.
The sampling process employed for SmaartLive measurements (and for most other purposes in digital
audio) creates digital signal data spaced on an even interval of time. The number of samples per second
is the familiar sampling rate (or sampling frequency), referred to here as SR in units of Hz. The sampling
rate directly affects the highest frequency that we may analyze in the
computer, conventionally called the Nyquist limit frequency (fmax), f max = SR
which is exactly equal to one-half the sampling rate. For measurements 2
fmax = Nyquist limit frequency (Hz)
on electroacoustical signals and systems, we are most interested in SR = sampling rate (samples/sec)
signals that lie in the frequency band from approximately 20 Hz to 20
kHz (the range of human hearing). Therefore, for most measurements,
you will wish to choose the highest sampling rate compatible between
your sound card and SmaartLive, typically either 48 kHz or 44.1 kHz,
which will provide a measurement bandwidth of at least 20kHz. T
üQuick Reference
Sampling rate (SR) The number of samples per second (in Hz) used in the conversion process. Sets the
maximum frequency that may be analyzed (Nyquist=SR/2). Set to 48kHz or 44.1kHz
in SmaartLive for most measurements.
Sampling period (T) The time interval between samples, equal to 1/SR seconds. Time-domain details of
duration less than T (sec) will be masked (delays, reflections, etc.).
Word length Number of bits used by the analog-to-digital and digital-to-analog converters in the
sound card. Always use the maximum values compatible with your hardware.
FFT
Inverse FFT
FFT
Inverse FFT
Figure 1: The Fourier Transform: moving signals between the time and frequency domains. Upper example shows the
conversion between an impulse response and a transfer function; lower example is the conversion between a
time signal (voice sample) and its spectrum.
Figure 2: The effect of FFT parameters on frequency resolution. Note that the FFT spectrum data is equally-spaced
on a linear frequency scale but exponentially-distributed on a logarithmic frequency scale. This may yield
inadequate low-frequency resolution for short FFT’s and excessively detailed high-frequency resolution for
long FFT’s.
Fortunately, we are not required to manually calculate the parameters that have been
discussed here. The FFT Parameters function in SmaartLive allows for the independent
selection of sample rate, FFT size, time constant, and frequency resolution. A change in
any one parameter immediately updates the other dependent parameters, allowing the user
to concentrate on the meaning of the values, not on their calculation. An indicator in the
main SmaartLive window shows the active settings for the live input signals.
üQuick Reference
FFT The Fast Fourier Transform, a method for moving digital signals between the time
and frequency domains.
FFT length (NFFT) The length of the FFT input data frame in samples.
Time constant (TC) The length of the FFT input data frame in seconds, equal to NFFT/SR. Indicates the
length of time that the FFT observes the signal in each data frame.
Frequency resolution The frequency resolution of the FFT spectral data, in Hz, equal to 1/TC. FFT data is
(FR) linearly spaced from 0Hz to the Nyquist limit on even intervals of FR.
Figure 3: Spectrum-mode frequency banding; (a) original FFT spectrum data distributed onto a log-frequency axis,
(b) spectrum data displayed in 1-octave bands, (c) spectrum data displayed in 1/24-octave bands.
In addition to the banding method for handling spectrum-mode signals, the Fixed-Point per Octave
(FPPO) technique in SmaartLive is used for computing logarithmically-spaced Transfer Function
(frequency response) data. In effect, the technique utilizes a measurement time window that varies as a
function of frequency, utilizing a long time window at low frequencies (for narrow frequency resolution)
and a successively shorter time window at high frequencies. This method has two main effects: the
variable time window is well-correlated with the hearing perception mechanism defining the perceived
For most transfer function measurements in SmaartLive, especially those involving some acoustical path
(a loudspeaker or sound system measurement), the FPPO view provides the best representation of the
system response function. Beyond the inherent low-frequency advantages, the FPPO technique typically
provides a more easily readable trace at high frequencies, in contrast to the “fuzzy” character of standard
FFT data caused by excessive high frequency resolution (see Figure 4).
(a) (b)
Figure 4: Log-frequency transfer function analysis; (a) transfer function of a small loudspeaker using a 32k-point
standard FFT, (b) measurement of the same loudspeaker using the FPPO technique.
In SmaartLive’s transfer function mode, an additional option exists for smoothing of the transfer function
trace over a definable number of points. The smoothing function is, effectively, a moving average filter
that is applied to the transfer function data before it is displayed in order to minimize the presence of
jagged edges and discontinuities in the displayed data. You may select either 3-, 5-, 7-, or 9-point
smoothing depths, which define the number of FFT data points surrounding an individual value that are
averaged to derive the displayed value; higher numbers yield a more continuous visual curve. Figure 5
shows an example of smoothing applied to a transfer function measurement of a small loudspeaker.
Trace smoothing is available for both standard FFT sizes and FPPO curves.
(a) (b)
Figure 5: The effect of curve smoothing on transfer function measurement display, 8k-point FFT; (a) measurement of a
small loudspeaker with no smoothing, (b) the same data displayed with 9-point smoothing.
In SmaartLive’s Spectrum mode, several options are available for configuring the averaging technique
used for measurement. The spectrum mode contains options for FIFO (First-In/First-Out) averaging,
where the last 2, 4, 8, 16, 32, 64, or 128 FFT frames are averaged with equal weighting, and the result is
displayed (see Figure 6). These modes allow the user to fine-tune the averaging depth depending on the
measurement task and input signals: higher averaging frame counts provide a slower time response, with
lower numbers better approximating the instantaneous behavior of the signal. The spectrum mode also
contains exponential averaging techniques, which are marked Fast, Slow, and Exp. The Fast and Slow
settings reflect the standard damping of a sound level meter in the associated integration mode, which are
most useful for performing repeatable, standardized measurements. The Exp mode allows for the
exponential averaging half-life to be customized, allowing the exponential averaging modes to be user-
optimized based on the measurement task. Finally, the Inf setting allows for an (effectively) infinite-
length average of the input data, which provides a running, equal-weight average of all FFT frames since
the last buffer reseed. This is useful for general noise-level analysis tasks and specialized uses in cinema
optimization, etc. It should be noted that the spectrum-mode averaging is performed on the power
spectrum of the input signal.
Displayed
average
Figure 6: 4-frame FIFO-based averaging example; the displayed curve is a function of the mean curve from the last N
FFT frames.
SmaartLive’s Impulse mode utilizes an RMS-based averaging technique, which operates solely on a
FIFO-style FFT frame buffer. As with the transfer function mode, increasing the averages by a factor of 2
corresponds to a 3 dB increase in signal-to-noise ratio. The sole purpose of averaging in the impulse
response mode is to improve data validity and reduce the impact of measurement noise, although higher
averaging depths will directly correspond to longer acquisition times in this mode.
üQuick Reference
Frame averaging Improves data validity and trace stability by deriving the displayed data from a
running average of the current data and past FFT frames.
FIFO averaging The displayed data is an equal-weight average of the current input data with a finite
number of past frames. Available FIFO lengths are 2, 4, 8, 16, 32, 64, or 128 frames.
Exponential averaging Provides an integrated averaging response similar to that of a sound level meter.
Provided are Fast, Slow, and Exp (custom) response characteristics.
RMS averaging Averaging behavior in this mode utilizes the geometric mean of the response data.
Used in the Spectrum and Impulse modes and available as a option in the Transfer
Function mode. Useful in Transfer Function mode when the system is varying in time
(wind gradients, etc.).
Vector averaging Averages the complex value of the transfer function data, providing maximum
precision when the system is time-invariant.
amplitude dB
-8 +8
(a)
time frequency
amplitude dB
(b)
time frequency
amplitude dB
(c)
time frequency
Figure 7: Time windowing effects in the Fourier transform with a sinusoidal signal; (a) an infinite time window, (b) a
finite Rectangular time window, (c) a finite Hanning time window.
Figure 7 demonstrates the effect of a finite time window on the FFT spectrum of a sinusoidal (single-
frequency) input signal. A steady-state sinusoidal signal has energy at only one unique frequency, so the
ideal spectrum produced by the Fourier transform should indicate this by an infinitely narrow “line” at
that frequency. As shown in Figure 7a, the Fourier transform is able to accurately determine the
spectrum, given an infinite time record of the signal. However, if we reduce our view of the signal to a
finite-length FFT frame, we, in effect, multiply the time signal by a rectangular window, as shown in
Figure 7b. The effect of this windowing operation on the frequency domain is obvious, as the energy is
dispersed into a single main lobe plus a number of side lobes (called spectral leakage). The pattern of the
side lobes is a function of the rectangular window, and is primarily created by the abrupt discontinuity at
the edges of the window. The high relative level of these side lobes could cause other important spectral
information to be hidden, or masked. However, if we apply a finite but gentle time windowing function,
as seen in Figure 7c, we can significantly reduce the level of the side lobes by gradually tapering the
waveform to zero at the ends. A side effect of this operation causes the main lobe to increase in width,
which may also mask spectral details from nearby frequency components.
We can balance the side lobe magnitude and pattern against the main lobe width by careful selection of
the windowing function, which can be customized depending on the analysis task. SmaartLive contains a
number of time windowing functions which provide varying characteristics in time and frequency. For
more information, see the SIA technical note “The ‘Mystery’ of Data Windows”, which covers this topic
in further detail.
A parameter that will not be specifically addressed as a variable is the selection of an optimal sampling
rate, which defines the highest measurable frequency (Nyquist) and the time resolution of the
measurement. As noted previously, you should typically select the highest compatible sampling rate
between SmaartLive and your hardware interface, usually either 48 kHz or 44.1 kHz. On rare occasion
this guideline may be modified, such as those situations requiring a lower-bandwidth measurement where
computational power may be conserved by choosing a lower sampling rate.
Spectrum Mode
In spectrum mode, the FFT size should be configured for an optimal trade-off
between low-frequency resolution and time response. A good starting point
may be to choose a 16k-point FFT frame, which tends to provide acceptable
frequency resolution with an ~350 ms time constant (at SR = 48 kHz) for a
reasonable time response characteristic. For detecting dynamic changes in
signals, a Fast averaging characteristic is useful, with the Slow setting more
useful for analytical measurements (noise, etc.). Of course, you may
experiment with different FFT parameter settings to optimize performance.
For most measurements in this mode, you will wish to choose a banded
display; a 1/3-octave display is a good starting point for many measurements,
as it corresponds to the critical bandwidth of hearing perception for most
complex signals. Higher resolution displays may be used to more accurately detect spectrum details, such
as feedback center frequencies, etc.
A. Oppenheim, A. Willsky, S. Nawab: Signals and Systems, 2nd edition. Upper Saddle River, NJ:
Prentice Hall Inc. 1997.
A. Oppenheim, R. Schafer, J. Buck: Discrete-Time Signal Processing, 2nd edition. Upper Saddle
River, NJ: Prentice Hall Inc. 1999.
Presented by:
SIA Software Company, Inc
A LOUD Technologies, Inc. Company
Copyright 2004 - SIA Software Company, Inc.
A LOUD Technologies, Inc. Company
All rights reserved
Spectrum Measurements with SmaartLive:
Concepts and Applications
Paul D. Henderson
A key component of the SmaartLive application is its Spectrum mode, which provides a highly flexible
FFT-based real-time analyzer capable of advanced audio signal measurements. The spectrum mode is
useful in many applications, including noise and sound exposure measurements, the location of feedback
frequencies in sound reinforcement, and cinema system optimization, as well as general signal monitoring
tasks. This document serves as an introduction to effectively applying the Spectrum mode measurement
capabilities. A general knowledge of the topics covered in “Getting Started with SmaartLive” and “The
Fundamentals of FFT-Based Audio Measurements in SmaartLive” will be helpful when reading this text.
Frequency
Figure 1: Traditional real-time analysis: fixed & limited resolution.
SmaartLive provides an advanced alternative to traditional RTAs, taking advantage of the computational
efficiency afforded by the Fast Fourier Transform (FFT) and digital signal processing. SmaartLive has
the capability to provide a much higher spectral resolution than filter-based approaches, and can
simultaneously acquire a temporal signature of spectral changes over time. SmaartLive can display the
fine structure of the linear-frequency FFT spectrum of the input signal or may be configured to show a
fractional-octave (banded) view with similar response to a hardware RTA.
This section will introduce the various measurement techniques used throughout the Spectrum mode,
specifically targeting those measurement tasks that do not require an absolute-level calibration. Several
applications are reviewed, including monitoring and troubleshooting of audio equipment and the location
of electroacoustical feedback frequencies.
For this application, we will investigate the use of the Spectrum mode to view the frequency content of
generic audio signals, such as those received by a microphone or output by a mixing console. Figure 2
shows a simple measurement configuration for this task, where SmaartLive monitors the output of both a
microphone preamplifier and a mixing console. While a simple configuration, the connection diagram in
Figure 2 is a powerful tool for use in sound reinforcement, as SmaartLive may be instantly switched
between the Spectrum and Transfer Function modes for quick access to information for both equalization
purposes (the transfer function) and the live signal spectrum.
Measurement
Microphone
Microphone Line
Preamplifier Input
L
Computer with
R SmaartLiveTM
Mixing Console
Figure 2: Monitoring microphone and mixing console signals.
ü Technical Note
You will note that, by default, the Spectrum display shows two
separate traces, one for each input channel. SmaartLive contains a set
of simple controls for managing the display of the two input channels,
located directly underneath the input signal level meters. You may
define either of the two input channels as the active channel by
clicking the active indicators below the level meter. The current active
trace will be brought to the front of the spectrum display, and the SPL
Meter, SPL History Graph and Spectrograph displays will reflect the
input signal from this channel only. The color of each of these Set active
displays will change to reflect the currently active channel. When trace
using these advanced functions, it is important to note that the
appropriate input channel is selected as active in order to obtain valid
data. In addition, clicking the show/hide channel buttons will enable or
Show/hide
disable the display of the associated spectrum in the RTA window. traces
By default, traces in the RTA view contain peak hold bars, which hold the maximum value of the
measurement parameter at each band or bin for a specified period of time. The configuration parameters
for the peak hold mode may be found in the Input Options dialog box, which may be
launched with the menu command Options? Input, or by pressing the key combination
Alt+I. The hold time can be customized or an infinite hold mode may be activated,
which holds the detected peak levels for an indefinite period of time until the next buffer
reseed (performed by pressing the V key on the keyboard). In addition, the peak hold
bars may be removed from the display for a more continuous, orderly appearance.
By hovering the mouse pointer over the RTA spectrum, the level and
center frequency of the selected band is shown in the readout above
the trace display. In addition to this function, SmaartLive can display the musical note
associated with the band center frequency using Note ID mode. Note ID mode may be toggled
using the View? Note ID menu item. In addition, a reference piano keyboard may be
activated using the Graph Options dialog box, accessible under menu item Options? Graph.
You may use SmaartLive’s reference trace functions to save a snapshot of the measured
spectrum to a storage register for later recall and on-screen comparison. SmaartLive contains five
reference registers (A, B, C, D & E), each capable of storing up to four individual traces. As an example,
clicking the button for register A1 (the first register button in the A group) will activate
this memory location. Click the button below the plot area to sample and display the
current trace as an overlay on the plot. Note that the curve that will be captured is the
current active trace, as defined above. The reference register stores the raw, post-
As a troubleshooting tool, the Spectrograph mode is useful for finding spectral “defects” in a system or
acoustical environment. Certain audio signals or acoustical events contain specific traits that can be
easily detected due to their distinct time/frequency signature, specifically, highly tonal sounds such as AC
line noise in an electrical signal chain or the presence of electroacoustical feedback.
• Spectrum banding: The banding scale of the spectrograph display tracks the selected banding of
the RTA. For most applications, a 1/24th-octave or log-narrowband scale provides the best
broadband frequency resolution. Low fractional-octave resolutions typically result in a rough
appearance.
• Time response: By default, the time response of the spectrograph display tracks the averaging
depth selected for the RTA. However, excessive averaging (or averaging at all) can obscure
time-based details in the spectrograph, such as in Figure 7b. For most applications, check the
Instantaneous Spectrograph box in the Spectrograph Options dialog. With this option, each
spectrograph frame will represent a minimum-width time slice of the input signal, improving the
time response of the display (Figure 7a). In addition, the number of FFT frames contained within
the spectrograph may be set in the Frames to show in Spectrograph field. Higher numbers yield a
slower time response, with more time history contained within the window. Conversely, lower
numbers produce faster movement along the time axis. The absolute-time length of the time axis
is a function of this value and the speed of your computing hardware.
• Amplitude range: It is imperative that an appropriate amplitude range be selected in order to
reveal the desired amplitude details from the input signal. The current range is configured using
the Min dB and Max dB boxes in the options dialog. Selecting too large an amplitude range may
obscure amplitude details by plotting a minimal change in color as the input spectrum changes
(Figure 7c), and too narrow a range or values too high or low may lead to undershoot and
overshoot errors (Figure 7d). The selection of an appropriate scale will enable the detection of
spectral details with high definition in amplitude, as in Figure 7a.
See the SmaartLive User’s Guide for information regarding additional configuration options for the
spectrograph display.
(c): Magnitude range too wide, (d): Signal exceeds maximum magnitude range limit,
amplitude details lost peaks lost in clipping (white regions)
Here, we will discuss the use of SmaartLive in determining electroacoustic feedback frequencies in sound
reinforcement and/or stage monitoring systems. The location of feedback frequencies during live sound
performance is a task especially well-suited for the Spectrograph mode, which provides an advantage to
detecting the unique time/frequency signature of feedback ring tones.
Acoustical Environment
Power
Equalizer Preamplifier
Mixing Console
Line
Input
L
Computer with
R SmaartLiveTM
Figure 8 shows a simplified stage monitoring system with SmaartLive configured to monitor the console
output signal before the equalizer. On a practical note, this connection can be made on the console’s
wedge output with access to the solo bus, so that any monitor output send can be retrieved immediately.
A typical optimization process for a stage monitor system would entail an accurate equalization process
using SmaartLive’s Transfer Function mode, followed by in-show dynamic equalizer changes based on
feedback modes that may be found as the acoustical environment varies. Note that a feedback mode in an
electroacoustical system needs two components to begin “ringing” (or regenerating): a system-borne
instability at any frequency and ambient sound energy at that frequency to initiate the regeneration.
Therefore, it is imperative to note that using any method to locate feedback frequencies (commonly
known as “ringing out” a system) without active signals in the system (such as a live performance) will
result in inaccurate adjustments. If this process is performed without ambient sound such as in a pre-
show configuration, some broadband energy should be introduced to the system (such as low-level pink
noise). Electroacoustical feedback is created by narrowband loop-path instability, and is primarily a
single-frequency effect, although multiple feedback modes may be excited simultaneously.
This time-domain element of the spectrograph can be exploited in the task of finding feedback
frequencies, since the ringing of electroacoustical feedback has a time-domain signature, i.e., it is constant
in frequency and has both a duration and envelope in time. Narrowband constant-frequency signals such
as a feedback ring tone or tonal noise source show up as horizontal lines in the spectrograph, making it
somewhat easier to find these effects in the presence of a more complex signal, such as a live musical
performance. Figure 9 illustrates this effect, as well as the simultaneous use of the spectrograph and RTA
displays. An additional advantage of this technique is that the operator can immediately reduce the gain
to eliminate the feedback loop on the console, and the running spectrograph will contain a history of the
ring frequency for subsequent equalization changes. Note that, when controlling compatible external
signal processors, their control parameters may be changed without leaving Spectrum mode. A Control
frequency response display will appear, allowing you to view calculated EQ traces for compatible devices
just as in the Transfer Function mode.
For measuring sound pressure levels, SmaartLive includes three available weighting curves. A weighting
curve is a filter response that is placed in-line with the SPL meter detector before the displayed value is
calculated; the filter allows the response of the detector to vary as a function of frequency. SmaartLive
contains Flat, A and C weighting filters, whose frequency response curves are shown below in Figure 11.
The Flat weighting curve is exactly as the name implies: it has a perfectly linear response over frequency,
meaning that the SPL meter will respond equally to equal acoustic pressure at any frequency inside its
range. The Flat characteristic is useful for determining the total sound pressure at a point in space, as
well as for sound power estimation tasks (beyond the scope of this document).
response of human hearing at low levels, and the C Figure 11: SPL weighting curves.
weighting curve does the same at high levels.
Most noise level measurement standards have taken the A weighting function as customary, as, even at
high levels, it more correctly approximates both the annoyance level of the noise and the potential for
hearing damage. It should be stated that the suffix dBA is commonly attached to sound pressure readings
in the A weighting scale, and similarly dBC for the C weighting scale. Flat-weighted measurements are
typically suffixed with dB-SPL.
Integration Speeds
SmaartLive contains three integration speeds for the SPL display: Inst, Slow, and Fast. The Inst setting
effectively corresponds to the Impulse setting on a typical high-end sound level meter, as it displays the
latest SPL data from the sound card with no averaging integration. This setting can be combined with the
Peak Hold function to capture the peak sound level in an environment, specifically where there are
impulsive and transient noise sources. The Fast and Slow settings are ANSI-standard exponential
integration curves. The Fast setting is useful for finding standardized peak sound levels, again, best with
the Peak Hold function or in conjunction with the SPL logging plot (to be discussed later). The Slow
setting is perhaps the most useful for typical measurements, as it provides a longer integration time for
more accurately representing the average sound level in the environment. The Slow response is also
widely accepted in standards for studies in sound exposure and noise pollution (such as during a live
performance).
While SmaartLive is capable of monitoring SPL in real time, many measurement tasks require a more
thorough investigation using the time history of sound levels in the environment, specifically when there
are dynamic changes in the sound pressure. Many sound fields that humans encounter are highly
dynamic, such as musical performance, industrial noise, etc. SmaartLive contains several tools to assist
the user in this area, which include a run-time SPL History graph and logging functions capable of
documenting overall sound pressure levels, spectrum histories, and SPL statistical metrics (LEQ, LX, etc.).
This section will briefly overview a few applications for these capabilities.
SmaartLive’s SPL History function (Figure 12) is useful for real-time monitoring tasks, particularly
during live musical performance. It is simply a running history of the SPL meter display on a per-frame
basis (not including peak hold), and is directly affected by the weighting and integration speeds selected
for the SPL meter. The SPL History display also shows the alarm threshold levels that have been preset
for the SPL meter. You may configure the effective speed of the display by setting the number of shown
frames in the options dialog by accessing the menu item Options? SPL History.
This display is highly useful for monitoring sound levels in live performance, specifically with regards to
maintaining both safe listening levels and compliance to noise ordinances and venue regulations. The
detection of peaks is also very valuable, since the display will hold the peak envelope for a period of time,
making it unnecessary to continuously watch the SPL meter readout.
In addition to the SPL History functions, SmaartLive contains more advanced sound level statistics
functions enabling the user to determine industry-standard sound exposure statistics. SmaartLive allows
the user to both log SPL data to a file and to perform automated calculation of sound level statistics (LEQ,
LX, LMIN, and LMAX). Here, we will cover the use of the automated statistical functions; documentation
for the simple logging capabilities is provided in the User Guide.
Often in environmental noise studies or sound exposure analysis for live performance, a single-number
SPL value does not sufficiently describe the variations in sound level. However, a complete time history
of pressure levels is surplus information, so a compact, statistical description of the characteristics of the
sound field level is required. Equivalent Sound Level, or LEQ, is the sound level that, if the sound field
were continuous and single-level, would contain the same energy dose over the sampling time as the
measured dynamic field. Percentile Noise Levels or LX, indicate the level that the sound field exceeds for
The automated LEQ Log option creates text files of the format shown
in Figure 13. In addition, LEQ analyses may be derived from
Spectrum Log files using the Create LEQ report from log file option,
which also allows for custom percentile categories.
;LEQ
;A Weight
;Date_____ Time____ LAEQ LAMin LAMax LA10 LA50 LA90
06/15/2004 21:36:27 66.3 62.0 81.2 67.9 63.6 62.5
;
;Cumulative Values
06/15/2004 21:36:29 66.2 62.0 81.2 67.8 63.6 62.5
Figure 13: Sample LEQ analysis output file.
Various national standards exist for sound exposure, specifically those for occupational safety, including
those by OSHA and NIOSH. The OSHA-standard thresholds are typically considered somewhat high-
risk, but are reprinted here in Table 1. NIOSH specifically recommends that the Time-Weighted Average
for occupational noise (in effect, LEQ with an observation period of 8 hours) be less than 85 dBA.
An application that commonly requires an RTA for measurement is the certification of cinema and home
theater systems to industry standards. While it is recommended that high-resolution equalization and
loudspeaker setup tasks be performed with SmaartLive’s Transfer Function and Impulse Response modes,
most cinema standards groups require an RTA-based (usually 1/3rd-octave) measurement for certification.
This section will not cover the specific standards, but will review specific capabilities in SmaartLive for
performing these measurements.
Typical large-format cinema systems utilize the ANSI/SMTPE 202M X-curve for equalization of the
main loudspeaker system. The X-curve, shown in Figure 17, provides a uniform 3 dB/octave high
frequency rolloff beyond 2 kHz, and a (somewhat less important) low-frequency 3 dB/octave rolloff
below 63 Hz. When a cinema system in a large room is equalized to this specification, less high
frequency energy will reach the listeners, which has been found to be more audibly-pleasing than a flat
response when the listeners are seated at a distance from the loudspeaker system.
When certifying these systems for cinema use, the Inverse X-curve may be activated
under the Weight spinner for the RTA. Now, with pink noise excitation, a loudspeaker
system correctly conforming to the X-curve will display a flat 1/3rd-octave spectrum in the RTA display.
5
0
Magnitude (dB)
-5
-10
2 3 4
10 10 10
Frequency (Hz)
In many cinema standards, spatial averaging of measured spectra is required in order to verify that the
correct performance is obtained across the entire audience area. SmaartLive simplifies this task using
Reference Trace Averaging, which allows several measurements to be performed at different seating
positions and then power-averaged to produce an overall performance curve. In order to average up to
four reference traces, capture each measurement into a separate reference bank (i.e., A1, B1, C1, and D1).
The E bank is used to hold the average; activate the E register, press the button, and the press the
button. The averaged curve will appear on screen with the original reference curves (Figure 18).
Figure 18: Spatial averaging of 1/3rd-octave RTA measurements using the averaging buffers.
Gray curves: individual measurements, Red curve: spatial average.
M. Mehta, J. Johnson, C. Rocafort: Architectural Acoustics: Principles and Design. Upper Saddle
River, NJ: Prentice Hall. 1999.
American National Standard: Specification for Sound Level Meters, ANSI S1.4-1983. New York,
NY: Acoustical Society of America. 1983.
R. Cabot, B. Hofer, R. Metzler: Standard Handbook of Video and Television Engineering: Chapter
13.3: “Nonlinear Audio Distortion”, 4th edition. McGraw-Hill Professional. 2003.
OSHA Standard: Occupational Noise Exposure, OSHA 1910.95. Washington, DC: Occupational
Safety & Health Administration. 1996.
Criteria for a Recommended Standard Occupational Noise Exposure, Revised Criteria 1996,
DHHS (NIOSH) Publication No. 96. Atlanta, GA: National Institute for Occupational
Safety & Health. 1996.
Presented by:
SIA Software Company, Inc
A LOUD Technologies, Inc. Company
Copyright 2004 - SIA Software Company, Inc.
A LOUD Technologies, Inc. Company
All rights reserved
LOUDSPEAKER IMPEDANCE WITH SIA SMAARTLIVE®
SIA SmaartLive Technical Note
Paul D. Henderson
Program in Architectural Acoustics, Rensselaer Polytechnic Institute, Troy, NY
A recent addition to the capability of SIA SmaartLive is the ability to measure complex load
impedance as a function of frequency. The potential to perform these measurements permits
investigations of loudspeaker behavior in the field with accuracy previously available only in the
laboratories of loudspeaker manufacturers. This tool may be used to troubleshoot loudspeaker drivers,
systems, and constant voltage networks, as well as to design related systems and select optimal
loading conditions for power amplifiers. This article provides an overview of the measurement
technique and necessary theory for taking advantage of this useful tool.
The term impedance is widely used in the professional audio industry, but frequently misunderstood
and misapplied. Impedance is the total opposition to the flow of alternating current (AC current) in
an electric circuit, and is a complex function of frequency as the ratio of voltage to current (Equation
1). The concept of impedance is analogous to resistance in direct-current (DC) circuits. While
impedance includes resistance, it includes another element exclusive to AC circuits, reactance, which
is due to the energy storage effects in AC circuits from components like inductors and capacitors,
which vary as a function of frequency. In
engineering circles, impedance is thought of as a V( f )
complex quantity, meaning it includes both real Z( f ) = (Eq. 1)
(resistive) and imaginary (reactive) parts (Equation
I ( f )
2). It is this concept that accounts for the varying Z ( f ) = R( f ) + j X( f ) (Eq. 2)
phase shift of impedance: current flows through
resistive components in phase with the applied Z( f ) = Z ( f ) = R 2 ( f ) + X 2 ( f ) (Eq. 3)
voltage, while current flows through reactive
components with a phase shift relative to the applied voltage. The impedance magnitude (Equation 3)
contains the effects of both the resistive and reactive components, and indicates the total opposition
to current in the circuit (ignoring phase). It is this magnitude function that is typically quoted in
loudspeaker specifications, as it is the impedance magnitude that affects the total current required
from an amplifier when driving the loudspeaker. While the above
general concept of impedance is universally used in many circuit
I analysis tasks, the concept of load impedance or the input impedance of
a load (such as a loudspeaker) seen by a driving source (such as a
power amplifier) is what we typically deal with when looking at
V Z loudspeaker characteristics (see Figure 1).
Figure 2 shows the impedance magnitude-versus-frequency curve for a single low-frequency driver in
both a sealed and ported enclosure. The strong dependence of impedance on frequency is easily seen.
In the sealed example, the peak is created by the
resonance between mechanical compliance and mass
in the driver. The second peak appearing in the
ported case is the acoustical tuning resonance of the
vent. The rise in impedance at high frequencies is
due to the inductance of the voice coil, while the
minimum value of the graph is equal to the resistance
of the voice coil. These characteristics are typical
examples of measured data from real loudspeaker
systems, providing vital information about the
loudspeaker system for troubleshooting and design.
The included bibliography lists several excellent Figure 2: Input impedance of a single low-frequency driver
in both a sealed and ported enclosure.
references for interpreting and applying this
information.
Using the concepts developed in Section 1, we can now investigate methods of measuring load
impedance. Based on Figure 1, we can see that the load impedance function may be obtained directly
if we are able to acquire signals representing both the voltage and the current into the load impedance
over all frequencies of interest. Since computer sound cards respond to voltage signals, a signal
proportional to the voltage across the load is easily acquired by simply feeding the load voltage
directly to the sound card. However, other techniques must be used to acquire the current signal. The
current signal is most easily measured by inserting a
shunt resistor in series with the load, creating a current
shunt; the current in the load is then directly
I·Rshunt proportional to the voltage across this shunt resistance
(see Figure 3). This is the method employed by most
digital multimeters on the market to measure current.
There are other methods of deriving the current signal,
including the use of inductive current probes, etc.,
Z V however, the shunt resistance method is the most
practical technique for measuring loudspeaker
impedance with SmaartLive.
Page 2 of 7
Loudspeaker Impedance with Smaart
Figure 4: Smaart impedance measurement circuit with a Figure 5: Smaart impedance measurement circuit with a single-
differential (balanced) input technique. ended (unbalanced) input technique.
Table 1 compares the two measurement techniques, presenting the trade-offs associated with each. In
general, for a laboratory-grade measurement solution, choose the differential method with a high-
grade balanced-input preamplifier. If you desire a simple, practical solution, choose the single-ended
method, being certain to adequately calibrate your measurement system appropriately. SmaartLive
requires you to use a calibration resistor to calibrate the measurement configuration based on this
reference resistance for maximum accuracy. This calibration resistance temporarily replaces the load
impedance during the calibration routine, which will be reviewed later.
Before you jump in and start making impedance measurements, you should be aware of the practical
issues involved in building an impedance measurement circuit and interfacing this device with your
computer. Selecting appropriate shunt and calibration resistors will affect the quality of your
measurements, and care must be taken when interfacing the computer with loudspeaker-level signals.
Just like transfer function and impulse response measurements in SmaartLive, the impedance
measurement function is dependent on a broadband excitation signal, such as random noise or a
sinusoidal sweep, to perform its measurement. While transfer function measurements will use this
signal to drive input of the device under test, the impedance function uses this signal to excite the
load through the current shunt.
When a dynamic loudspeaker is driven by a source with relatively high source impedance (like a
current shunt), the effect of the loudspeaker acting in reverse as a microphone may affect the quality
of your measurements if there is sufficient acoustic noise in the measurement room. In order to
minimize this problem in situations with a high ambient noise level (such as a construction site,
manufacturing floor, etc.), the shunt resistance must be relatively small, and a small power amplifier
used to drive the circuit. This, however, must be carefully undertaken in order to avoid damage to
Page 3 of 7
Loudspeaker Impedance with Smaart
your computer hardware. Power amplifier signals can easily exceed the maximum input voltage
capability of conventional computer sound cards, and the power handling capability of the shunt
resistor becomes increasingly important as more current is drawn into the load. When using a power
amplifier, the output voltage must be limited to a safe level and power resistors used in designing the
current shunt.
In situations where ambient noise is not a concern (closed sites, laboratories, etc.), the headphone
amplifier of the sound card may be safely used as the excitation source. Headphone amplifiers are
typically rated for load impedances greater than ~30Ω, so the shunt resistance should be at least equal
to this value. For typical loudspeaker loads, this shunt resistance limitation does not pose any
question of accuracy to the measurement as long as ambient acoustic noise levels are minimal.
Selecting Resistors
The value, precision, and power handling capability of the resistances should be optimized when
configuring the circuit based on the measurement conditions and load. Selecting an appropriate shunt
resistance allows you to optimize the signal-to-noise ratio of the measurement while best taking
advantage of the dynamic range and resolution of the system. Conversely, the calibration resistor
should be of high precision and on the same order of magnitude as the unknown load impedance for
maximum accuracy. For designs using a power amplifier, 2%-tolerance non-inductive wire wound
resistors may be safely used, which are readily available with power ratings ≥10W. In current shunt
designs where a headphone amplifier is used, 1%-tolerance metal-film resistors may be selected,
which are obtainable with power ratings from ¼W-2W.
The value of the shunt resistance should be selected based on the limitations of the driving amplifier
and the approximate expected value of the load. Selecting too low a resistance here may draw too
much current from the driving amplifier, overheating the resistor or distorting the amplifier. Too high
a resistance may cause the voltage drop across the load to become negligible compared to crosstalk,
calibration errors, etc., producing inaccurate results. In general, the shunt resistance should be
comparable to the expected load resistance and no less than the minimum load impedance for the driving
amplifier, with the calibration resistor in the same range. For example, when testing 4-16Ω (nominal)
loudspeakers with a headphone amplifier, selecting a 50Ω shunt resistor and a 20Ω calibration resistor
is a reasonable choice. However, when testing a 10Ω /70V constant-voltage line, a 500Ω shunt resistor
is probably better suited to the task. Table 2 shows suggested values for the shunt resistor when
testing various loads using both a small power amplifier and a typical headphone amplifier as the
driving source.
When measuring high impedance loads, the input impedance of the sound card becomes significant to
the measurement, rendering the calculation mathematics ineffective. In general, load impedances
th
greater than 1/10 of the sound card input impedance should not be measured. For loads in this
range, use a quality high-impedance buffer amplifier.
Page 4 of 7
Loudspeaker Impedance with Smaart
(continuous). Following the above guidelines will help ensure that your impedance measurements are
of the maximum accuracy possible, and that the possibility of overheating components or damaging
hardware is minimized.
Building on the preceding review of the Smaart impedance measurement technique and the guidelines
for configuring an impedance measurement circuit, this section will take you through a complete
impedance measurement using SmaartLive. The desired measurement will be the load impedance of a
small 5Ω (nominal) 2-way nearfield loudspeaker.
Based on the recommendations in Section 3, this measurement will be performed using the
headphone amplifier of the computer sound card. Since the measurement is of a low-impedance
loudspeaker, a 50Ω shunt resistor will be used, which is within the load capability of the headphone
amplifier, and is reasonable to optimize the dynamic range of the measurement. Either the single-
ended (Figure 4) or differential (Figure 5) technique may be used to measure the load impedance;
their results are identical assuming the system is correctly calibrated. In either case, the loudspeaker
and calibration resistors are substituted for the unknown impedance Z in the schematics.
The preparation in SmaartLive for running an impedance measurement is similar to that for a transfer
function measurement. The generator must be configured and gains
adjusted to eliminate input clipping. Open SmaartLive and enter
transfer function measurement mode. Turn on the generator, typically
for a synchronized sine-sweep signal. The standard FFT size versus
frequency resolution trade-offs exist as with standard transfer function
measurements. For this example, a 32K-bin FFT is selected, as
measurement time and update speed are not a significant
consideration. Disconnect any load from the circuit, and set the
generator level to provide a signal level close to clipping on the Smaart
measurement input. At no time after connecting a load will a signal
exceed this level (Figure 6a).
Page 5 of 7
Loudspeaker Impedance with Smaart
Figure 7: Launching
impedance mode.
Now that the impedance mode has been launched and the signal levels
adjusted, connect the calibration resistor (discussed in Section 3) in
place of the load. Double-click on the plot area, launching the
calibration dialog box (Figure 8). Select the appropriate circuit topology
(in this case, single-ended) and enter the value of the calibration resistor
(not the shunt resistor) into the “Calibrated Impedance is…” edit box.
In this example, we’ll enter 49.9Ω, which was measured with a precision
ohmmeter. Click OK to finalize the calibration.
Page 6 of 7
Loudspeaker Impedance with Smaart
REFERENCES
L. Beranek: Acoustics.
Woodbury, NY: Acoustical Society of America. 1996.
Page 7 of 7
NOTES
SIA-Smaart ®
Schools & Applications Seminars
Presented by:
SIA Software Company, Inc
A LOUD Technologies, Inc. Company
SmaartLive v5 Keyboard Shortcuts