Alesis Hammerfall DSP System manual Latency and Monitoring, How much Zero is Zero?, Oversampling

Page 71

30.3 Latency and Monitoring

The term Zero Latency Monitoring has been introduced by RME in 1998 for the DIGI96 series of audio cards. It stands for the ability to pass-through the computer's input signal at the inter- face directly to the output. Since then, the idea behind has become one of the most important features of modern hard disk recording. In the year 2000, RME published two ground-breaking Tech Infos on the topics Low Latency Background, which are still up-to-date: Monitoring, ZLM and ASIO, and Buffer and Latency Jitter, both found on the RME Driver CD and the RME web- site.

How much Zero is Zero?

From a technical view there is no zero. Even the analog pass-through is subject to phase er- rors, equalling a delay between input and output. However, delays below certain values can subjectively be claimed to be a zero-latency. This applies to analog routing and mixing, and in our opinion also to RME's Zero Latency Monitoring. The term describes the digital path of the audio data from the input of the interface to its output. The digital receiver of the HDSP MADI can't operate un-buffered, and together with TotalMix and the output via the transmitter, it causes a typical delay of 3 samples. At 44.1 kHz this equals about 68 µs (0.000068 s). In Dou- ble Speed mode, the delay doubles to 6 samples, for both ADAT and SPDIF.

Oversampling

While the delays of digital interfaces can be disregarded altogether, the analog inputs and out- puts do cause a significant delay. Modern converter chips operate with 64 or 128 times over- sampling plus digital filtering, in order to move the error-prone analog filters away from the au- dible frequency range as far as possible. This typically generates a delay of one millisecond. A playback and re-record of the same signal via DA and AD (loopback) then causes an offset of the newly recorded track of about 2 ms. The following table lists the delays of the HDSP MADI's DA-converter for the headphones output:

Sample frequency kHz

44.1

48

88.2

96

DA (43.4 x 1/fs) ms

0.98

0.9

 

 

 

 

 

 

 

DA (87.5 x 1/fs) ms

 

 

0.99

0.91

 

 

 

 

 

DA (176.8 x 1/fs) ms

 

 

 

 

 

 

 

 

 

Buffer Size (Latency)

Windows: This option found in the Settings dialog defines the size of the buffers for the audio data used in ASIO and GSIF (see chapter 13 and 14).

Mac OS X: The buffer size is defined within the application. Only some do not offer any setting. For example iTunes is fixed to 512 samples.

General: A setting of 64 samples at 44.1 kHz causes a latency of 1.5 ms, for record and play- back each. But when performing a digital loopback test no latency/offset can be detected. The reason is that the software naturally knows the size of the buffers, therefore is able to position the newly recorded data at a place equalling a latency-free system.

AD/DA Offset under ASIO and OS X: ASIO (Windows) and Core Audio (Mac OS X) allow for the signalling of an offset value to correct buffer independent delays, like AD- and DA-conversion or the Safety Buffer described below. An analog loopback test will then show no offset, because the application shifts the recorded data accordingly. Because in real world operation analog record and playback is unavoidable, the drivers include an offset value matching the HDSP MADI's converter delays.

Because the HDSP MADI is a completely digital interface, and the delays introduced by exter- nal AD/DA-converters or other digital interfaces are unknown to unit and driver, the drivers in- clude the digital offset values (3 / 6 samples). Therefore the delays caused by external convert- ers have to be taken care off in the record software, which usually means that the user has to enter specific offset values manually.

User's Guide HDSP MADI © RME

71

Image 71
Contents TotalMix Bit / 96 kHz SyncAlignZLMSyncCheck SteadyClock MadiGeneral Driver Installation and Operation WindowsConnections and TotalMix Driver Installation and Operation Mac OSTechnical Reference Hdsp Madi System Requirements Package ContentsBrief Description and Characteristics IntroductionExternal Connectors Hardware InstallationHardware Connectors Blue Jumper AccessoriesWarranty Internal ConnectorsTrademarks AppendixFCC CE / FCC Compliance StatementsDriver Installation and Operation Windows Driver and Firmware Driver InstallationDriver Update Deinstalling the DriversSettings Dialog Configuring the Hdsp MadiFirmware Update SyncCheck Quick BootSafe Mode Buffer SizeSettings dialog DDS Clock Modes Synchronisation SyncCheck Playback Operation and UsageMultichannel DVD-Playback AC-3/DTS under MMEAC-3 / DTS ASIO-Multiclient Low Latency under MME Buffer Size AdjustmentMulti-client Operation Recording Operation under Asio Known ProblemsWindows 2000/XP Common ProblemsOperation under Gsif Gigasampler Interface DIGICheck Using multiple Hdsp Madi / AES-32Input signal cannot be monitored in real-time Hotline TroubleshootingInstallation Driver Installation and Operation Mac OS Flash Update Driver and Flash UpdateConfiguring the Hdsp Madi Safe Mode Settings dialog DDS Clock Modes Synchronisation Midi doesnt work Mac OS X FAQRound about Driver Installation Various Information Repairing Disk PermissionsSupported Sample Rates PCI card and PCI slot compatibilityHotline Troubleshooting Users Guide Hdsp Madi RME Connections and TotalMix Madi I/Os HeadphonesConnections Input Word ClockMidi Word Clock Input and OutputRemember that a digital system can only have one master Technical Description and UsageCabling and Termination Operation Overview TotalMix Routing and MonitoringUsers Guide Hdsp Madi RME User Interface Tour de TotalMix Elements of a ChannelSubmix View Mute und Solo Submix ViewPresets Quick Access PanelPreset Banks PresetPreferences Monitor PanelStereo Pan Law Editing the NamesMain Monitor Hotkeys Menu Options Level Meter Elements of the Matrix View TotalMix The MatrixAsio Direct Monitoring Windows only TotalMix Super-FeaturesAdvantages of the Matrix Delete Routings Selection and Group-based OperationCopy Routings to other Channels Recording a Softwares playback Mixing several input signals into one record channelRecording a Subgroup Loopback Using external Effects Devices Setup TotalMix Midi Remote ControlMeaning in TotalMix MappingElement Loopback Detection Preset 3 38 / 56 / #GPreset 5 3A / 58 / #A Simple Midi ControlUsers Guide Hdsp Madi RME Technical Reference Tech Info Outputs Technical SpecificationsInputs Stereo Monitor Output Phones Transfer Modes Resolution / Bits per SampleDigital Madi Basics Technical BackgroundLock and SyncCheck Sample frequency kHz 44.1 88.2 Latency and MonitoringHow much Zero is Zero? OversamplingDS Double Speed Core Audios Safety OffsetQS Quad Speed SteadyClock PCI Performance Terminology 96K Frame