bits is bits? right? check again

56
Bits is Bits? Right? Check Again. George Blood, Safe Sound Archive Joint Technical Symposium Oslo, Norway Monday, May 3, 2010

Upload: noah-mcleod

Post on 31-Dec-2015

49 views

Category:

Documents


0 download

DESCRIPTION

Bits is Bits? Right? Check Again. George Blood, Safe Sound Archive Joint Technical Symposium Oslo, Norway Monday, May 3, 2010. Typical Playback Chain. Analog source. Analog-to-digital converter. Digital Audio Workstation. Digital File. Physical Carrier of Files. Typical Playback Chain. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Bits is Bits? Right? Check Again

Bits is Bits? Right?Check Again.

George Blood, Safe Sound Archive

Joint Technical Symposium

Oslo, Norway

Monday, May 3, 2010

Page 2: Bits is Bits? Right? Check Again

Typical Playback ChainAnalog source

Analog-to-digital converter

Digital Audio Workstation

Digital File

Physical Carrier of Files

Page 3: Bits is Bits? Right? Check Again

Typical Playback ChainAnalog source

Analog-to-digital converter

Digital Audio Workstation

Digital File

Physical Carrier of Files

}

Page 4: Bits is Bits? Right? Check Again

From ADC to Digital FileADC Digital Output (AES-3)

Cable/patching/switching

Digital Audio Workstation:

Digital File

Computer: CPU/Bus/etc.

Driver

Software

OS/Drivers

Storage interface/drivers: FW, USB, SATA, FC, iSCSI

Storage Device (HDD)

Interface: AES-3 to FW/USB/etc.

Page 5: Bits is Bits? Right? Check Again

Disappointments

• Don’t mention brands

• Don’t tell you our solution

• Very pervasive problem

• http://www.avpreserve.com/wp-content/uploads/2010/01/Digital_Audio_Interstitial_Errors.pdf

Page 6: Bits is Bits? Right? Check Again

Disappointments

• Planned to announce a software tool to automate this testing….

Page 7: Bits is Bits? Right? Check Again

Tested Hardware

• Lynx AES16

• M-Audio (96 and 192)

• M-Box

• Metric Halo ULN-2

• Nagra V

• SonicStudio 302 (aka ULN2+DSP)

Page 8: Bits is Bits? Right? Check Again

Tested Software

• Boom

• Metric Halo Console

• ProTools LE (Mac)

• Sonic Solutions HDSP

• Sonic Studio soundBlade

• SoundForge

• WaveLab

Page 9: Bits is Bits? Right? Check Again

Tested OS

• Mac OS9

• Mac OS X

• Windows 98

• Windows Home

• Windows ME

Page 10: Bits is Bits? Right? Check Again

Tested Drivers

• Stock drivers (mostly)– OS stock drivers– Hardware bundled drivers

• Dedicated Drivers– OS 9 (Sonic Solutions)– OS X (SonicStudio & MH)

Page 11: Bits is Bits? Right? Check Again

Tested Storage

• Fat32• FibreChannel (2Gb, RAID5) • FireWire 400• HFS+ (SCSI Ultra160)• HFS-extended• SATA

Page 12: Bits is Bits? Right? Check Again

Not Tested

• Audacity• AudioCube• [Bias Peak]• iSCSI• ProTools HD• ProTools LE (PC)• Pyramix• RME• ADC to FireWire

Page 13: Bits is Bits? Right? Check Again

Testing Multiple Components Simultaneously• A b 1• A b 2• B b 1• B b 2• A a 1• A a 2

Page 14: Bits is Bits? Right? Check Again

Finding errors

• 100% Listen– Inefficient– Unreliable

• Software verification– Doesn’t certify authenticity– Limited parameter testing– Unreliable

Page 15: Bits is Bits? Right? Check Again

Finding Errors

• Null Test:– 2 presumed identical files– Sample-accurate alignment– Invert polarity– Add together

• If a1=a2, then a1 - a2=0

Page 16: Bits is Bits? Right? Check Again

Aligning 2 stereo pairs (1)

Page 17: Bits is Bits? Right? Check Again

Aligning 2 stereo pairs (2)

Page 18: Bits is Bits? Right? Check Again

Aligning 2 stereo pairs (3)

Page 19: Bits is Bits? Right? Check Again

Aligning 2 stereo pairs (4)

Page 20: Bits is Bits? Right? Check Again

Aligning 2 stereo pairs (5)

Page 21: Bits is Bits? Right? Check Again

Aligning 2 stereo pairs (6)

Page 22: Bits is Bits? Right? Check Again

…then invert 1 pair

Page 23: Bits is Bits? Right? Check Again

Testing for 2 parameters

• Time– Number of samples

• Amplitude– Number of bits

Page 24: Bits is Bits? Right? Check Again

Null if mis-aligned by 1 sample

Page 25: Bits is Bits? Right? Check Again

Error of 76 samples dropped

Page 26: Bits is Bits? Right? Check Again

from: http://www.avpreserve.com/wp-content/uploads/2010/01/Digital_Audio_Interstitial_Errors.pdf

Page 27: Bits is Bits? Right? Check Again

Bits vs. samples missing

• 1010101010101010

• 1010101011101010

Page 28: Bits is Bits? Right? Check Again

Bits vs. samples missing

• 1010101010101010

• 1010101011101010

Page 29: Bits is Bits? Right? Check Again

Null if gain changed

Page 30: Bits is Bits? Right? Check Again

What happened?

• New Hardware– Failure

• Reviewed set up with engineer– Failure

• Reviewed old systems– Failure

• Simplified Test– Finally some passes– Failures continue between identically

configured systems

Page 31: Bits is Bits? Right? Check Again

Qualifying a Control

• Round Robin Test– A≠B– B≠C– A=C– …B is wrong

Page 32: Bits is Bits? Right? Check Again

Qualifying a Control

• Assumes only one variable at play– Host– I/O Hardware– Driver– Application

…test configuration

Page 33: Bits is Bits? Right? Check Again

Hardware in hand• SonicStudio

– Great editor– Semi-proprietary file types– Non-destructive editing– No support for WAV or BWF output– No AES-31 ADL support

• Nagra V– Simple– Self-contained– Can’t change variables

• (other than resolution)

Page 34: Bits is Bits? Right? Check Again

Results

• Null tests passed

• Every time

• Always

• Validates testing procedures

Page 35: Bits is Bits? Right? Check Again

Talent Pool

• Head of QA with physics background

• 2 experienced audio engineers

• 2 dealers

• 2 outside technical engineers

Page 36: Bits is Bits? Right? Check Again

Tech “support”

• Universally appalling• Short attention span• Don’t understand concepts• Always some other link in chain• Regional sales reps care more• Engineer curious but unable to help

Page 37: Bits is Bits? Right? Check Again

Computer code “traps”

• Intractable problem buried in code• Build routine to watch for it• Applies fix• Efficient solution

Page 38: Bits is Bits? Right? Check Again

Computer code “traps”

• Masking (aka “hiding”) problem!– Little crossfades at glitches– Other lies…

Page 39: Bits is Bits? Right? Check Again

True Nulls

Page 40: Bits is Bits? Right? Check Again

Very small error in Null

Page 41: Bits is Bits? Right? Check Again

Very small error in Null

Close up

Page 42: Bits is Bits? Right? Check Again

Incomplete Null

Page 43: Bits is Bits? Right? Check Again

Incomplete Null

Non-zero offset

Page 44: Bits is Bits? Right? Check Again

Calculating size of error

• “Normalize” difference signal– Increases gain to zero headroom

• 1 bit = ~ 6dB • Normalizing amplitude

divided by 6dB

equals # of bits (amplitude) of difference…

Page 45: Bits is Bits? Right? Check Again

Calculating size of error

• 90dB / 6 dB = 15 bits

Page 46: Bits is Bits? Right? Check Again

Incomplete Null

Spectrum of difference signal

Page 47: Bits is Bits? Right? Check Again

Conclusion

• Not passing 24 bits

• Truncating at 16 bits

• Dithering 16th - 24th bits– More noise but Lower distortion

than truncating at 16 bits and dithering 17-24

Page 48: Bits is Bits? Right? Check Again

Struggling to keep up

Different bit depth, all non-zeroExample 3 drops samples

Page 49: Bits is Bits? Right? Check Again

Struggling to keep up

Example 1 & 2 Normalized -- “properly” dithered

Page 50: Bits is Bits? Right? Check Again

“Well-dithered lie”

Page 51: Bits is Bits? Right? Check Again

Toggling single bit

Page 52: Bits is Bits? Right? Check Again

Are there no limits?

“Fatter” difference on L

Display higher resolution on R

Page 53: Bits is Bits? Right? Check Again

Are there no limits?

“Fatter” difference on L

“Full” null - absurd gain change - on R

Page 54: Bits is Bits? Right? Check Again

Are there no limits?

Different residual on L!

Page 55: Bits is Bits? Right? Check Again

More absurdities

• Same hardware, different ages, different results

• Same configuration, different results on different days

• Same hardware, good results with one software; poor results with different software

Page 56: Bits is Bits? Right? Check Again

Conclusions

• Get what you pay for– More expensive hardware & software performs better in

Null tests

• Stock drivers aren’t as good as hardware specific drivers– keep up to date, especially after OS upgrades

• Non-host-based systems perform significantly better• Mac-based systems performed better than PC-based

systems, but are far from flawless• Worst PC and Worst Mac systems equally bad• These problems are widely known by manufacturers

and blatantly hidden