| Personal
Computer Audio Quality Measurements
Cirrus Logic Crystal Audio Division Comments on this document are very welcome. _____________Version1
Comments on this document are very welcome. This document focuses on the measurement of audio quality in a PC environment. Each specification listed has a definition and an example measurement technique. Both electrical and acoustic specifications are discussed. Also included is a detailed description of example test setups to measure each specification. Appendices are used to define the signal paths for measurement, decibel definitions, and weighting filters. Quality levels for some of these measurements are suggested in Microsoft's PC '97, PC '98, PC '99, Intel's AC '97, and in the MPC3 specification. This document is under review by a number of industry representatives, with a goal of establishing an industry wide consensus on PC audio measurement techniques. If you wish to contribute to this process, please contact Clif Sanchez. 2 ELECTRICAL PERFORMANCE SPECIFICATIONS The following list of audio electrical performance specifications is relevant to PC audio:
For each specification, the following paragraphs describe the specification
and discusses measurement techniques. Signal paths are defined in Appendix A
(for example A-D-PC). These performance specifications are measured at the
end-user accessible signal points; for example, the line in and line out jack
sockets. Unless otherwise noted, the measurement bandwidth is It is common to filter the signal in the Dynamic Range (DR) and Total Harmonic Distortion plus Noise (THD+N) measurements to compensate for the uneven frequency sensitivity of the ear, giving low and high frequencies less influence on the final measured value. Either CCIR-486 or A-weighting filters [1] can be used and are described in Appendix C. The definitions given below and the example plots are unweighted. If weighting is used, then the type should be specified to allow the comparison of values. The measurement techniques are based on Audio Precision's Audio Measurement Handbook [1], the AES17-1991 measurement standard [2], and the EIAJ CP-307 CD measurement standard [3]. Most measurements are referenced to full scale. Therefore, full-scale definitions for the input and output are described first. 2.1 Full Scale Input Voltage (A-D-PC) Full-scale input voltage is the input voltage level that will cause the A/D converter output to be just equal to full scale, with no clipping on either positive or negative peaks. Any input offset voltage will cause the full-scale input voltage to be slightly reduced. Since the input offset voltage is typically a few millivolts, this reduction has no material effect on the full-scale measurement. The mixer volume should be set to 0 dB. Since all PC measurements are 16-bits 2's complement, full scale is ±32767. All measurements referring to the analog input are referenced to this full-scale value. This specification is usually measured for the line level input and the microphone level input. The test procedure is to apply a sine wave to the input and monitor the output of the A/D converter. This can be done is real time, or by recording the data to a file and analyzing it off-line. Increase the signal level until the output of the A/D converter reaches either positive or negative full-scale digital code, whichever occurs first. Reduce the signal level to just below the clipping point. Measure the input signal voltage with an root-mean-square (RMS) meter. On a few devices, the analog mixer (A-A) full-scale value might be different than the recording full-scale value. In these cases, full scale for the analog test (A-A) should use the mixer full scale, not the record full scale. All other measurements must use the record full scale (A-D-PC). If the analog mixer and record path full-scale values are different and only one value is used as a measurement reference, the value used must be the lower of the two. 2.2 Full Scale Output Voltage (PC-D-A) Output full scale is similarly defined to input full scale with one exception
- the load can be important. Outputs are designed to drive three types of loads:
line-level, headphones, and speakers. Outputs designed for line-level usually
have minimal drive capability and the load should be set above 40 kW. For outputs designed to drive headphones and speakers, the
load used for making performance measurements is very important and should
reflect what the end user would experience. Headphone impedances vary from
Output full scale is defined as the voltage produced at the output while
playing (PC-D-A) a
Frequency response is the variation in signal level as the frequency is
varied. Amplitude limits or amplitude corners (Ac) are required to define
frequency response and are usually either ±1 dB or A more accurate representation of FR would be
![]()
2.3.1 FR for Analog Mixer (A-A) Using an audio analyzer, apply a swept sine wave ( 2.3.2 FR for Record (A-D-PC) Apply a frequency swept sine wave ( 2.3.3 FR for Playback (PC-D-A) Play a frequency swept sine wave ( 2.3.4 Analog FR Record and Playback Path (A-D-PC-D-A) Set the system to record and simultaneously playback the recorded data. Using
an audio analyzer, apply a swept sine wave ( 2.3.5 Digital FR Playback and Record Path (PC-D-A-D-PC) Set the system to playback and record simultaneously. Play a test file
consisting of a swept sine wave ( 2.4 Total Harmonic Distortion plus Noise (THD+N) Total Harmonic Distortion (THD) is the ratio of the amplitude of the signal
harmonics to the test signal amplitude. More commonly used to indicate THD is a
measurement known as Total Harmonic Distortion plus Noise (THD+N), which
measures both the harmonics and the noise present in the output signal. It is
important to include all non test-signal frequencies, not just multiples of the
test signal frequency, since converters may generate aliased components anywhere
in the measurement frequency band. Also, the THD+N measurement is easier to
perform than THD, since the only requirement is to filter out the test frequency
and then perform an audio-band measurement ( In a system with low distortion, the absolute THD+N value tends to be similar to the Dynamic Range (DR) value. In a system which exhibits significant distortion, the absolute THD+N value is worse than the DR value, indicating the presence of distortion. THD+N is often measured with a -3 dB FS test signal level, which measures large signal distortion. The ear frequency sensitivity to large signals is flat; therefore, when using large signals as test stimulus, weighting filters are not employed. Some analyzers can also measure THD+N continuously, while varying the signal level (Figure 3). The results should be specified relative to the full scale value, defined as dB FS. Many analyzers also produce the THD+N answer in dB, which can be converted to percent using the formula in Appendix B. An example measurement result using the Line In record path could be This example indicates that the test signal is a
![]()
2.4.1 THD+N for Record (A-D-PC) Apply a sine wave at -3 dB FS to an analog input. Record a block of data to a file or memory. Perform an FFT analysis of the data. Ratio the RMS sum of the noise and distortion components (but not the test signal) to 0 dB FS. Some signal analysis packages can produce a spectral plot of the A/D output data (Figure 4).
![]()
2.4.2 THD+N for Playback (PC-D-A) Playback an ideal digitally-generated test sine wave file at 0 dB FS. Measure the analog output amplitude and set as 0 dB. Playback a -3 dB FS test sine wave file to the analog output. Notch out the test frequency component from the output and measure the remaining signal. Ratio this to the previously measured 0 dB (full-scale) level. 2.4.3 THD+N for Analog Measurement of Record and Playback Path (A-D-PC-D-A) Set the system to record and simultaneously playback the recorded data.
Establish 0 dB FS level by increasing the signal input until the
analog output signal clips. Set the level just below the clipping point. Reduce
the input signal to -3 dB FS. Notch out the fundamental from the analog output
and measure the residual level. Reference to the previously set 0 dB FS level.
This test is useful if the only test equipment available is an analog audio
analyzer. Some test equipment can perform a spectral analysis on the residual
signal, yielding the frequency characteristics of the residual signal, rather
than just an amplitude value (Figure 5). This is useful for troubleshooting. The
upper plot in Figure 6 clearly indicates that power-line harmonics (
![]()
2.4.4 THD+N for Digital Measurement of Playback and Record Path (PC-D-A-D-PC) Set the system to playback and record simultaneously. Connect the analog output to an analog input with a shielded patch cable. Playback a test digital sine wave file at 0 dB FS. Adjust the gain of the record path until the A/D converter output is as large as possible without clipping. Set this level to 0 dB FS. Playback a test digital sine wave file at -3 dB FS. Perform an FFT on the digital data from the A/D converter and ratio the amplitude of the RMS sum of the non test signal frequencies to 0 dB FS. Dynamic Range is the ratio of the full scale signal level to the RMS noise
floor, in the presence of signal, expressed in dB FS. This specification is
sometimes referred to as Signal-to-Noise Ratio (SNR) in the presence of a
signal. The label SNR should not used due to industry confusion over the exact
definition. DR can be measured using the THD+N measurement with a -60 dB FS
signal since this amplitude is small enough to not be affected by any large
signal non-linearity, but large enough to ensure that the system under test is
being exercised. Other test signal amplitudes may be used, provided that the
signal level is such that no distortion components are generated. A playback
path (PC-D-A) example measurement result could be listed as This example indicates that the dynamic range for the playback path is 85 dB relative to a Line Out full-scale value (FS). The "A" suffix indicates that an A-weighting filter was used in this measurement. See Appendix C for more information on weighting filters. 2.5.1 DR for Record (A-D-PC) Establish an input 0 dB FS value as mentioned previously. Reduce the input signal to -60 dB FS. Perform an FFT on the digital data from the A/D and ratio the amplitude of the -60 dB signal to the RMS sum of the other frequencies. Reference the result to the 0 dB FS value. 2.5.2 DR for Playback (PC-D-A) Establish an output 0 dB FS value as previously mentioned. Play back a test digital sine wave file at -60 dB FS, notch out the fundamental and measure the residual level. Reference to the previously measured 0 dB FS. 2.5.3 DR for Analog Measurement of Record and Playback Path (A-D-PC-D-A) Set the system to record and simultaneously playback the recorded data. Establish 0 dB FS level by increasing the signal input until the analog output signal clips. Set the level just below the clipping point. Reduce the input signal to -60 dB FS. Notch out the fundamental from the analog output and measure the residual level. Reference to the previously set 0 dB FS. This test is useful if the only test equipment available is an analog audio analyzer. This test yields a composite result of record and playback DR added together, which will mask details of the separate playback and record values, but does give a good indicator of overall quality. 2.5.4 DR for Digital Measurement of Playback and Record Path (PC-D-A-D-PC) Set the system to playback and record simultaneously. Connect the analog output to an analog input with a shielded patch cable (assuming input and output levels are similar.) Playback the previously obtained 0 dB FS file. Adjust external gain in the record path until the A/D converter output is as large as possible without clipping. Set this level to 0 dB FS. Play back a test digital sine wave file at -60 dB FS (relative to the 0 dB FS point). Perform an FFT on the digital data from the A/D converter and ratio the amplitude of the -60 dB signal to the RMS sum of the other frequencies. Reference the result to the 0 dB FS measured value. This test is useful for an automated self test, requiring only the appropriate software and a patch cable. The system must be capable of simultaneous record and playback. This specification is required for loads other than line level outputs
(speaker and headphone) and gives the power under a specified load using a
As an example, if the full-scale output under headphone loading conditions
( This result should be listed as 2.7 Crosstalk Between Signal Channels Crosstalk is the leakage of information from one channel to another. This could occur in multiple situations for example: left to right or right to left on any stereo input pair or stereo output pair, input to output crosstalk, and output to input crosstalk. The measurement technique is the same for each of these measurements, with the appropriate signal path connections made. A -20 dB FS test sine wave is applied to one input. The inputs to all other
channels are either terminated to signal ground via a 2.8 Noise Level During System Activity The purpose of this test is to measure any degradation in the noise floor of the audio playback or record path during the activity of the mouse, keyboard, display, disk drive or CD-ROM drive. One way of performing this measurement is to repeat the DR measurements of interest, while forcing activity of the peripheral device in question. If any significant degradation in DR is noted, this can be verified by listening tests. When a PC is used by musicians for recording and playback of music, the accuracy of the sample rate becomes important. If the sample rate is not quite correct, then pieces recorded on the PC will be pitch shifted when played back on a different system. Similarly, playback of pre-recorded material will be pitch shifted. 2.9.1 Sample Frequency Accuracy on Playback (PC-D-A) Obtain a test data file containing a 2.9.2 Sample Frequency Accuracy on Record (A-D-PC) Record a 10 second period of exactly Input impedance is important for interoperability among different audio system components. Interoperability minimizes aggravation from the end-users perspective and thereby promotes a good audio experience for the end user. Input impedance is germane to line-level inputs that may need to connect up to external audio equipment or internal PC connections such as the analog output from a CD-ROM drive. Input impedance is also critical to microphone inputs as impedance has a direct correlation to electret microphone sensitivity. 2.10.1 Line-Level Input Impedance Line-level inputs should be designed with an impedance higher than 10 kW, and preferably around 47 kW (which is the typical load level for consumer audio equipment.) The impedance should be tested at 997 Hz. 2.10.2 Sample Frequency Accuracy on Record (A-D-PC) Microphone inputs vary considerably from sound card to sound card. Figure 6 illustrates a generic electret microphone and input circuit. The mic jack circuit illustrated is considered the most universal jack. This jack supports 2-pin dynamic mics as well as 3-pin electrets (as shown in the diagram.) There are two impedance's associated with the mic jack. The standard input impedance illustrated as Zi and the bias impedance Rb. The input impedance Zi should be tested similar to the line-level approach using a 997 Hz test signal. This input impedance (in parallel with the bias impedance Rb) has a direct affect on the voltage sensitivity of electret mics and should be as high as possible, typically greater than 20 kW (an order of magnitude greater than Rb) and no lower than 10 kW.
![]()
The bias impedance Rb has two components, an AC impedance and a DC impedance. If Rb is a single resistor connected to a bias voltage Vb, then the AC and DC impedance are identical. The DC impedance, along with the bias voltage will determine the operating voltage for the electret mic. The AC impedance has an affect on the mic sensitivity and should be no lower than 2 kW when tested at 997 Hz. 3 ACOUSTIC PERFORMANCE SPECIFICATIONS The audio experience of the end-user is heavily influenced by the quality of
the microphone and loudspeakers used by the PC manufacturer. Where such
transducers are built-in or included with the system, there should be guidelines
for their quality level. The following is a list of acoustic performance specifications which are relevant to PC audio:
For each one of these specifications, the following paragraphs describe the specification and discuss measurement techniques. Many of the measurements require the use of a calibrated, known frequency response and distortion, microphone, and a sound pressure level (SPL) meter. Bruel and Kjaer manufacture a range of reference microphones, and a reasonable SPL meter is available from Radio Shack for a few hundred dollars. An anechoic chamber is not necessary for many of the measurements, although a quiet, relatively reflection free environment is useful. One common test signal used to help overcome room reflections and standing waves is called Maximum Length Sequence (MLS). This is a short signal of frequency shaped noise. The output of the device under test is captured and an FFT analysis performed. The data is captured during the time period before any room reflections occur, thus removing room reflection effects. Alternatives to MLS include warble tones (where the test signal frequency is periodically varied about a mean value), which are particularly good for level setting. 3.1.1 Frequency Response of Loudspeakers Place the reference microphone 0.5 m from the center axis of the speaker under test. Playback a pink noise test signal and use an SPL meter to set the level at 90 dB SPL at the test microphone. Playback a MLS test signal and capture the microphone output with an audio analyzer. Plot the frequency response result. 3.1.2 Frequency Response of the PC Microphone Tape the reference microphone as close as possible to the microphone under test. Place a reasonably good quality loudspeaker 0.5 m on axis away from the microphone. Feed a pink noise test signal to the loudspeaker and use a SPL meter to set the level at 90 dB SPL at the test microphone. Adjust the gain of the microphone under test to yield a -20 dB FS digital level. Feed a MLS test signal to the loudspeaker and capture both microphone outputs with an audio analyzer. The reference microphone can be connected directly to the analyzer. The data from the microphone under test is normally captured on the PC and then transferred in digital form to the analyzer. Calculate the frequency response via the reference path and via the microphone under test. Adjust the reference microphone response for any deviations in the microphone response curve. Subtract the adjusted reference response from the microphone under test response and plot the result. Place the reference microphone 0.5 m from the center axis of the speaker
under test. Playback a pink noise test signal and use a SPL meter to set the
level at 90 dB SPL at the test microphone. Playback either a series of sine
waves at test frequencies from 3.2.2 THD of Microphones It is possible to measure the THD of a microphone by comparing it to a known reference microphone. Since most PC microphones will be used for voice applications, and even cheap electret microphones have relatively low distortion, there is no requirement to measure the THD of PC microphones. 3.3 Power Output of Loudspeakers Loudspeakers are often rated at their electrical power maximum limits, which
does not indicate the maximum acoustic output power available. A common
definition of maximum acoustic output is when the distortion value has reached
The sensitivity of the microphone has a great effect on usability. Mic sensitivity is generally specified as amount of voltage produced for a given air pressure (in dB), Sv. For dynamic mics (moving coil), Sv works well; however, electret mic actually produce a current that is proportional to a given air pressure, Si. When electret mics specify voltage sensitivity, Sv, a load resistor is assumed. This load resistor is not part of the mic, but part of the sound card and is equal to the equivalent input impedance of the sound card's mic input jack (Rb in parallel with Zi in Figure 6). If voltage sensitivity (Sv) is specified for electret mics, then the bias resistor Rb should be 2 kW and the voltage at the mic should be 2.0 V. The actual sensitivity of the electret mic is dependant on the sound cards deviation from the load resistor used by the mic manufacturer to generate the Sv number. Sv is specified in dB V per some reference. The preferred method is dB V/Pa, which is dB V relative to 1 Pascal. The test frequency to derive sensitivity should be 997 Hz. A typical value for electrets would be Sv = -45 dB V/Pa and Sv = -56 dB V/Pa for dynamic mics. Using the electret mic as an example, one Pascal of air pressure would produce -45 dB V or 5.62 mVRMS. References other than one Pascal are also used although deviating from a common reference creates confusion among end-users. Another typical reference point is 1 mbar. One mbar is 20 dB lower than one Pascal. The equivalent sensitivity in the above electret example would be -65 dB V/mbar. The sensitivity is 20 dB lower because the reference pressure, 1 mbar, is 20 dB lower than 1 Pascal. Figure 7 illustrates different acoustical reference points.
![]()
A suggested test method is to place a loudspeaker on axis 0.5 m from the microphone. Drive the loudspeaker with a warbled 997 Hz test signal. Set the loudspeaker output to 94 dB SPL at 1 m. Set the PC to record, using an application which allows gain adjustment with a clipping indicator. Confirm that the software driven gain adjustment is capable of causing the recorded data to clip, and also capable of near to full scale operation with normal slider settings. 3.5 Mechanical Fan and Disk Noise Measure the fan noise using a sound pressure level meter at 0.5 m pointing at the fan outlet on axis. Measure the disk noise using a sound pressure level meter at 0.5 m pointing at the front of the PC system unit containing the hard disk while running a program which exercises the disk in a noisy manner. A similar measurement should be made with the CD-ROM drive being fully exercised. Test equipment must be substantially better in performance than the system under test. Here are some examples of known high quality audio test equipment. 4.1 Audio Precision System One or Two This unit is an audio analyzer which uses a PC as an input and display device. It provides analog signal generation and measurement, and digital signal generation and measurement. There are many built-in routines for measuring A/D systems, D/A systems, D-D systems and A-A systems. All test setups and results may be saved on disk. Very flexible plotting routines are included. The unit is programmable to allow test automation. Better than 100 dB dynamic range specifications allows measurement of professional audio equipment. Cost is about $28,000. 4.2 Audio Precision Portable One Plus This unit is an audio analyzer which allows A-A and A-D-PC-D-A testing only. It is self-contained with built-in controls and display. A sweepable generator and notch filter for THD+N, DR, and FR measurements are provided. Plotting is only available using a dot-matrix printer. Cost is about $7,000. 4.3 Automatic Self-test Some categories of test lend themselves to being automated. Manufacturers of sound systems and silicon could provide test suites which allow testing of standard audio configurations by running the tests on the PC under test. Such test software could be made available on company web sites for general distribution, and could allow WHQL audio quality pre-screening by OEMs. This section defines the test procedure for testing an audio device in a multimedia PC system. This setup is an attempt to provide a consistent test methodology across different audio systems with different capabilities. Setting up the audio part is critical to getting consistent, fair and repeatable readings. 5.1 Validate the Test System The audio system under test, defined as equipment under test (EUT), will only measure as good as the test system; therefore, the limitations of the test hardware must be known before testing the EUT. If external test equipment is used, it should be looped back on itself using good shielded cables, with the cables positioned near the EUT. Putting the cables near the EUT will show any degradation caused by poor shielding on the cables. If the test system is not significantly better than the expected EUT results, then the EUT measurements will not be accurate. For example, if the test system is 10 dB better than the EUT, then the EUT will measure 0.5 dB worse than it actually is. If the test system has the same performance as the EUT, then the EUT measurements will measure 3 dB worse than it actually is. Once the performance of the test system is known, the ground of the test system must be connected to the ground of the EUT. Ground loops cause many problems in audio testing. If the performance gets worse when the grounds are connected, grounding problems exist and must be resolved before true EUT testing can begin. Figure 8 illustrates the results of a EUT and external test equipment with the grounds between the systems connected two different ways. The upper set of data contains harmonics of the power line frequency (60 Hz) which are artifacts of improperly configured grounds. The bottom set of data has the grounds connected properly which improved the performance by 3.5 dB. Good grounding involves minimizing ground loops. If external test equipment is used, it should be plugged into one power strip. That equipment power strip should be plugged into the same outlet/power strip as the system under test. The "bad grounding" in the Figure below was generated be using two isolated wall sockets: one for the test equipment and one for the EUT.
![]()
5.2 System Under Test Setup The EUT must be setup properly for the tests described below. Systems from different manufacturers have varying capabilities. There needs to be a fair way to test the audio system without restricting the feature set supported. 5.2.1 Mute all channels except the one under test The basic setup is to mute all audio sources except the path under test. This provides fair testing regardless of the number of audio paths supported. Audio systems from different manufacturers vary considerably in architecture. Some systems have a multiplexer going to the ADCs while others support a mixer arrangement. The only common point is one channel enabled (always the case in the multiplexer arrangement) with the other channels muted (the mixer arrangement). 5.2.2 Set volume for channel under test to 0 dB. The second step is to set the volume in the part to 0 dB - no attenuation and no gain. This is the only fair reference point across different manufacturers. Gain tends to make performance worse and attenuation tends to make performance look better. Manufacturers support different volume ranges for a given input. Using the Line-In analog mixer for example, the Creative Labs Sound Blaster Pro supports a volume range of 0 to -46 dB, whereas the WSS Line-In analog mixer supports a volume range of +12 dB to -34 dB. Even on a single device, different audio paths have different gain ranges. For example, the WSS analog mixer supports +12 to -34 dB; whereas, the DAC volume control is defined as 0 to -94.5 dB. The only common volume level across all parts is 0 dB - no gain and no attenuation. Using this value also allows manufacturers to choose their own volume ranges for differentiation or personal preference. 5.3 TESTS The following tests were performed using external equipment and software on the EUT. The following assumes that the unmuted path volume is set to 0 dB and that all paths not being tested are muted. Since all audio performance measurements are relative to full scale, full scale must be the first measurement made. This provides fair comparison points without restricting the absolute value of full scale. The units used for the distortion and noise measurements would then be "dB FS" indicating "dB relative to full scale." Full scale (FS) is defined differently for the three different measurement points: inputs, outputs, and digital measurement points. Digital full-scale maximum is constant once the number of bits is specified. In the PC all measurements should be 16-bits; therefore, maximum full-scale is ±32767. If analog circuitry clips before the digital full-scale code is reached, then digital full scale is lower than ±32767 and must be specified. 5.3.1 Finding Full Scale The test sequence for inputs is:
The test sequence for outputs is:
5.3.2 Frequency Response The test sequence is:
5.3.2.1 Analog Mixer (A-A)
A mixer path example, using the CS4237B, Line In jack to Output jack would be to set registers I2 and I3 in the WSS space to 0x68, which would unmute the path to the output mixer and set the volume to 0 dB. 5.3.2.2 Full Duplex Digital Loopback (A-D-PC-D-A)
The mixer path example, using the CS4237B, Line In jack to Output jack would be to set: for recording:
for playback:
X14, X15 = 0x00 (unmute digital mixer and set volume to 0 dB) then run full-duplex software. 5.3.3 Dynamic Range The test sequence for the analog mixer (A-A) and full-duplex (A-D-PC-D-A) paths mentioned above is:
The test sequence for the record path alone (A-D-PC) is:
The test sequence for the playback path alone (PC-D-A) is:
5.3.4 Total Harmonic Distortion and Noise This test sequence is the same as the Dynamic Range sequence, except the test signal level is now -3 dB FS. The test sequence for the analog mixer (A-A) and full-duplex (A-D-PC-D-A) paths is:
The test sequence for the record path alone (A-D-PC) is:
The test sequence for the playback path alone (PC-D-A) is:
The tests on the record path (A-D-PC) can be combined into one sequence that calculates THD+N and Dynamic Range at the same time by isolating the distortion components in the Dynamic Range measurement. 5.3.5 Continuous Power If an output is designed for headphone or speaker loading:
[1] B. Metzler, Audio Measurement Handbook, OR: Audio Precision, Inc. (1993). [2] AES17-1991 (ANSI S4.51-1991), "AES standard method for digital audio engineering - Measurement of digital audio equipment," NY: Audio Engineering Society, Inc. (1991). [3] CP-307, "Methods of Measurement for CD Players," Standards of Electronic Industries Association of Japan (1985). [4] H. Tremaine, Audio Cyclopedia, IN: Howard W. Sams & Co., Inc., pp. 1663-1668 (1969). [5] G. Ballou, Handbook for Sound Engineers, Carmel, IN: SAMS, a Division of Macmillan Computer Publishing, pp. 1398-1390 and p. 1435 (1991). [6] "Acoustics - Normal Equal-Loudness Level Contours," ISO 226 (1987). [7] CCIR Recommendation 468-4, "Measurement of Audio Frequency Noise in
Broadcasting, Sound Recording Systems and on Sound Programme Circuits,"
Broadcasting Service (Sound), Dubrovnik: International Telecommunication
Union, Volume X - Part 1, pp. 285-291 (1986). Most PC sound systems have multiple measurement paths. This section names and defines the alternative paths. For chips that include a PC bus interface (i.e. ISA or PCI) the tests other than analog loopback (A-A) must cross the bus interface which will show any analog degradation due to bus interference. There are three different types of paths: single direction record and playback (Figure 9), analog external loopbacks (Figure 10), and digital PC loopbacks (Figure 11).
![]()
A.1 Analog to Digital Path (A-D-PC) Apply an analog signal to an analog input, set the mixer to route the signal to the A/D converters. Route the digital data into memory or disk in the PC. Analyze the digital data to get the record path performance numbers. A.2 Digital to Analog Path (PC-D-A) Playback digitally-generated ideal data from memory or disk to the D/A
converter. Route the analog out from the D/A converter to an analog output.
Using external equipment, measure the performance of the playback path.
![]()
A.3 Analog Signal Path (A-A) Apply an analog signal to an analog input, set the mixer to route the analog signal to an analog output connector. Using external equipment, measure the performance of the analog mixer path. The signal does not go through the A/D converter or D/A converter whose outputs should be muted. This mode is often used for listening to music CD's using the CD-ROM drive analog output. A.4 Analog to Digital to Analog Signal Path (A-D-PC-D-A) Apply an analog signal to an analog input, set the mixer to route the signal to the A/D converters. Route the digital data into memory or disk in the PC. Playback the data from the memory or disk to the D/A converters (may be simultaneous with recording or later). Route the analog out from the D/A converters to an analog output. Using external equipment, measure the performance of the full-duplex loopback path. This path yields a composite result of record and playback measurements added together, which will mask details of the separate playback and record values, but does give a good indicator of overall quality. For example, if the record measures 80 dB FS, and the playback measures 80 dB FS, then the composite measurement will be 77 dB FS. If the specifications for record and playback respectively are 80 dB FS, then a composite measurement of 80 dB FS guarantees that both record and playback must be operating at greater than or equal to 80 dB FS. However, any composite measurement between 77 dB FS and 80 dB FS indicates that record and playback MAY be inside specification. A composite measurement of less than 77 dB FS indicates that one (or both) of the record or playback measurements is less than 80 dB FS, and therefore is below the record/playback specification. Most codecs provide an internal loopback path from the A/D digital output to
the D/A digital input, bypassing the PC bus. (A-D-A). This is only useful for
codec characterization and debugging, and is not useful for system measurements,
since the data flowing over the PC bus can degrade analog performance for audio
codecs with a parallel bus interface. Using A-D-PC-D-A is a more realistic and
severe test in this case.
![]()
A.5 Digital to Analog to Digital Path (PC-D-A-D-PC) Playback digitally-generated ideal audio data from memory or disk to the D/A converter. Route the analog out from the D/A converters to an analog output connector. Route the analog signal to an analog input via an external shielded cable, usually fitted with 3.5 mm jack plugs. Set the input mixer to route the analog signal to the A/D converter. Input the data from the A/D converter into the PC memory or disk. Analyze the digital data for full duplex path performance data. This path is useful for an automated self test, requiring only the appropriate software and a patch cable. The system must be capable of simultaneous record and playback. This test assumes that the nominal full-scale analog output signal level is approximately equal to the nominal full-scale analog input signal level. If this is not true, then the test results do not provide accurate performance numbers. For systems that have different output and input full-scale values, the full-scale output voltage should be adjusted to equal the full-scale input voltage by using a special patch cord that has gain or attenuation built-in. As with the analog full-duplex path (A-D-PC-D-A), this path yields a composite result of record and playback added together, which will mask details of the separate playback and record values, but does give a good indicator of overall quality. For example, if a record measurement is 80 dB FS, and a playback measurement is 80 dB FS, then the composite will measure 77 dB FS. If the specifications for record and playback respectively are 80 dB FS, then a composite measurement of 80 dB FS guarantees that both record and playback must be operating at greater than or equal to 80 dB FS. However, any composite measurement between 77 dB FS and 80 dB FS means that record and playback MAY be inside specification. A composite measurement of less than 77 dB FS indicates that one (or both) of the record and playback measurements is less than 80 dB FS, and therefore is below the record/playback specification. Most codecs provide an internal loopback path from the D/A analog output to the A/D analog input, bypassing the external components (PC-D-IA-D-PC). This is only useful for codec characterization and debugging, and is not useful for system measurements, since any external components can degrade analog performance. A.6 Serial Codecs Serial codecs are defined as codecs that interface on the digital side to a serial bus as opposed to codecs that reside on a parallel bus such as ISA or PCI. These serial codecs could be AC '97 codecs that connect to a digital controller, or codecs the reside on a USB or IEEE 1394 serial bus. The above paths are still valid testing points for serial codecs; however, there is one other path that is valid and is shown in Figure 12. This path is listed as A-D-S-D-A and is valid as long as the power for the serial codec system is from the same source as a typical user would use (no lab power supplies). This path goes from analog to digital and then across the serial bus and then gets looped back to the codec's DACs and back out through the analog interface. Since the serial codec does not have a built-in parallel interface, bus interference is not expected.
![]()
"Decibels" were initially used for equating power levels in audio and radio transmission [4]. The 'bel', named after Alexander Graham Bell, is the logarithmic ratio of two powers and is expressed as:
![]() Due to the large size of the bel, the decibel, or one tenth of a bel, has become the standard and is abbreviated 'dB'. The formula being:
![]() Although the decibel is a measurement of power ratios, it can also be used to measure voltage, current, and air pressure. Voltage and current are proportional to power as the square of their values. Likewise air pressure is proportional to the square of acoustic power. A voltage example would be:
Decibels and percent (%) are similar quantities since they are both ratios. Percent is still used in some audio measurements such as THD. The equation to convert between them is:
![]() Both are relative measurements and are meaningless without knowledge of the reference. In general, % and dB are relative to the level of the incoming signal; however, this definition is not universal. Volume control levels are always relative to the incoming signal. Using a volume control example:
If the volume control is set to 0 dB, then the output from the volume control
is Decibels are used in audio performance measurements for two reasons. First, the ear discerns sounds in a somewhat logarithmic fashion. Second, the total dynamic range of the ear is very large and logarithms are more convenient on large number ranges. When specifying performance numbers such as DR or THD+N, the reference must be specified. For example, if a -3 dB FS input signal produces a THD+N of 0.01 % and a -60 dB FS input signal produces a THD+N of 5.6 %, without knowing the reference level for the two measurements, the 5.6 % appears worse than the 0.01 % even though it is actually better. Measurements using percent are "generally" referenced to the incoming signal level. Since the -60 dB incoming signal is much lower than the -3 dB signal, the percent THD+N relative to the incoming signal is larger. When using '%', the reference is inferred and not clearly stated. If the measurement is referenced to 100 times full scale, the THD+N would be 0.0001 % which looks great. However, the user could never achieve that reference value since 100 times full scale is impractical. The standard reference for audio measurements is full scale. Using the same example data as above, but with dB FS units, yields the following analysis. The -3 dB FS input signal produces a THD+N of -83 dB FS and the -60 dB FS input signal produces a THD+N of -85 dB FS. It is clearly apparent that the -60 dB THD+N is better than the -3 dB THD+N since they both reference the same point: full scale. Full scale is a valid reference since it is the largest signal that the system can handle. There are many decibel suffixes that try to describe the reference point. The following is a short and incomplete list. B.1 dB FS dB FS is the preferred unit of measurement for audio and stands for "dB relative to full scale." For analog inputs and outputs, full scale must first be measured. Then all measurements relating to that input/output are relative to the measured full-scale value. For digital measurements, full scale is limited by the number of bits specified. In the PC, all measurements should be 16-bits; therefore, full-scale is limited to ±32767 since this is the largest value produced by a 16-bit number. Note that this reference point only holds true when the THD+N is better than -40 dB. If the THD+N is worse than -40 dB, then the signal level must be lowered to the point where -40 dB is achieved, and that point is defined as full scale. If ±32767 is achieved with better than -40 dB THD+N, then ±32767 is the reference point for dB FS measurements. Assuming this reference point is achieved, the formula is:
![]() The term "dB FS" refers to different values for different measurement points. Using the record path (A-D-PC) and Line In for example, the statement
FS indicates that the test signal is a 997 Hz tone at -3 dB relative to the Line-In full scale (FS), and the THD+N value is -83 dB relative to a digital full-scale (FS) value. Note that "FS" on either side of the equation refer to different values. Assuming the volume through the path is 0 dB, the magnitude of the digital codes should be ±23197, which is -3 dB FS, as shown in the equation below.
![]() B.2 dBr dBr stands for "dB relative to an absolute reference." This unit is used by the Audio Precision test equipment to indicate the measurement is relative to a specified value. The specified value can be entered on a System One or Two. This value is normally set to the measured full-scale value making dBr equivalent to dB FS. B.3 dBv dB V stands for "dB relative to 1 Volt." Since the divisor is 1, the formula simplifies as follows:
![]() B.4 dBm This is a power rating used in the professional and broadcast industries and stands for "dB relative to 1 mW." When using this value for audio measurements, the resistance must be known since audio performance measurements are based on voltage, not power. Old professional audio vacuum-tube systems had 600 W output and input impedance's providing a true transfer of power. However, today's systems have low output impedance and high input impedance transferring very little power between components. Most equipment listing measurements in dBm today, are actually measuring dBu (see section B.5). Professional audio uses 600 W; however, sometimes 300 W or 150 W is used. For audio measurements and 600 W, the voltage would be:
![]() B.5 dBu dBu eliminates the confusion with dBm by setting the voltage reference to 0.7746 V. Therefore, dBu is equivalent to dBm using 600 W, but since dBu is referenced to a fixed voltage, the resistance is irrelevant. B.6 dBSPL dB SPL is a decibel acoustic sound pressure level (SPL) measurement, used in acoustic transducer measurements (i.e. speakers and microphones). The reference for SPL is 20 mPa [5] which is the typical minimum threshold for hearing. Therefore, the formula is:
![]() Human hearing is not equally sensitive at all audio frequencies [6]. The ear is most sensitive to frequencies in the 1 kHz to 5 kHz range. Weighting filters try and give readings that roughly correspond to the way humans respond to sound. Sound pressure level measurements use weighting filters based on three curves: A, B, and C. The curve selected was based on the loudness of the sound. The C-weighting curve is generally flat over most of the audio band (FR = +0, -3 dB from 30 Hz to 8 kHz) and used for loud signals. The B-weighting curve is used for intermediate level sounds and has the same upper corner as the C-weighting, but the lower amplitude corner is 120 Hz. The A-weighting curve is used for measuring low level signals such as background noise. This curve, shown in Figure 13, has become a standard for acoustic noise measurements of all signal levels for the Occupational Safety and Health Administration (OSHA).
![]()
Other filters are used for audio performance measurements. The sound broadcast industry uses a CCIR-468 weighting filter [7] for noise measurements with a quasi-peak method of measure-ment. This filter is illustrated in Figure 14. The Audio Engineering Society [2] and Dolby use an attenuated version of this filter (CCIR-RMS) where the 0 dB point is 2 kHz instead of 1 kHz, with noise measured on an RMS basis.
![]()
When making an audio performance measurement, the result must indicate when a
weighting filter is used. For example, making a Dynamic Range measurement for
the line in to line out analog mixer (A-A) might be listed as The "A" suffix indicates that an A-weighting filter was used to make the measurement. If no weighting filter is used, the suffix after the "dB FS" would be omitted. If the Dynamic Range measurement was measured using the AES filter, the measurement would be listed as Corporate Info | News Releases | Products | OEM Support | Drivers | Cloud Nine Copyright © 1995-1999 Cirrus
Logic, Inc. |
|